added numpy test files

This commit is contained in:
froejdh_e
2025-06-12 17:31:06 +02:00
parent 5b7c655926
commit 330a02a7a4
4 changed files with 21 additions and 0 deletions

BIN
numpy/test_1d_int32.npy (Stored with Git LFS) Normal file

Binary file not shown.

BIN
numpy/test_3d_double.npy (Stored with Git LFS) Normal file

Binary file not shown.

BIN
numpy/test_numpy_file.npy (Stored with Git LFS) Normal file

Binary file not shown.

12
numpy/write_test_files.py Normal file
View File

@ -0,0 +1,12 @@
import numpy as np
arr = np.arange(10, dtype = np.int32)
np.save('test_1d_int32.npy', arr)
arr2 = np.zeros((3,2,5), dtype = np.float64)
arr2[0,0,0] = 1.0
arr2[0,0,1] = 2.0
arr2[0,1,0] = 72.0
arr2[2,0,4] = 63.0
np.save('test_3d_double.npy', arr2)