Skip to content
Snippets Groups Projects
Commit b1eb1847 authored by Borreguero Calvo, Jose's avatar Borreguero Calvo, Jose
Browse files

Merge branch 'numpy_float_deprecated' into 'next'

specify the numpy float type

See merge request sns-hfir-scse/sans/sans-backend!988

Former-commit-id: 71007e48
parents 61ad757f 86adb8a5
No related branches found
No related tags found
No related merge requests found
......@@ -233,7 +233,7 @@ Isam = np.asarray(
[0, 0, 0, 0, 0, 1, 1, 5, 8, 9, 14, 11, 14, 14, 6, 2, 3, 1, 0, 0, 0, 0],
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0],
],
dtype=np.float,
dtype=np.float64,
)
pixel_size = 0.005 # meter
......
......@@ -12,7 +12,7 @@ I_sam = np.array(
[105, 110, 115, 120, 125],
[120, 125, 130, 135, 140],
],
dtype=np.float,
dtype=np.float64,
)
# Poisson uncertainties on counts
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment