mirror of
https://github.com/slsdetectorgroup/aare.git
synced 2025-06-12 15:27:13 +02:00
new files
This commit is contained in:
BIN
data/numpy/test_1d_int32.npy
Normal file
BIN
data/numpy/test_1d_int32.npy
Normal file
Binary file not shown.
BIN
data/numpy/test_3d_double.npy
Normal file
BIN
data/numpy/test_3d_double.npy
Normal file
Binary file not shown.
12
data/numpy/write_test_files.py
Normal file
12
data/numpy/write_test_files.py
Normal 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)
|
Reference in New Issue
Block a user