httomo-backends 0.5.1__py3-none-any.whl → 0.5.3__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- httomo_backends/methods_database/packages/backends/httomolibgpu/supporting_funcs/misc/rescale.py +5 -2
- httomo_backends/yaml_templates/httomolibgpu/httomolibgpu.misc.morph/sino_360_to_180.yaml +1 -1
- {httomo_backends-0.5.1.dist-info → httomo_backends-0.5.3.dist-info}/METADATA +1 -1
- {httomo_backends-0.5.1.dist-info → httomo_backends-0.5.3.dist-info}/RECORD +7 -7
- {httomo_backends-0.5.1.dist-info → httomo_backends-0.5.3.dist-info}/WHEEL +0 -0
- {httomo_backends-0.5.1.dist-info → httomo_backends-0.5.3.dist-info}/licenses/LICENSE +0 -0
- {httomo_backends-0.5.1.dist-info → httomo_backends-0.5.3.dist-info}/top_level.txt +0 -0
httomo_backends/methods_database/packages/backends/httomolibgpu/supporting_funcs/misc/rescale.py
CHANGED
|
@@ -18,8 +18,11 @@ def _calc_memory_bytes_rescale_to_int(
|
|
|
18
18
|
itemsize = 2
|
|
19
19
|
else:
|
|
20
20
|
itemsize = 4
|
|
21
|
-
|
|
21
|
+
safety_multiplier = 1.1
|
|
22
22
|
return (
|
|
23
|
-
int(
|
|
23
|
+
int(
|
|
24
|
+
safety_multiplier
|
|
25
|
+
* ((np.prod(non_slice_dims_shape)) * (dtype.itemsize + itemsize))
|
|
26
|
+
),
|
|
24
27
|
0,
|
|
25
28
|
)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: httomo-backends
|
|
3
|
-
Version: 0.5.
|
|
3
|
+
Version: 0.5.3
|
|
4
4
|
Summary: Supplementary files for HTTomo backends.
|
|
5
5
|
Author: Garry ODonnell, Jacob Williamson
|
|
6
6
|
Author-email: Daniil Kazantsev <daniil.kazantsev@diamond.ac.uk>, Yousef Moazzam <yousef.moazzam@diamond.ac.uk>, Jessica Verschoyle <jessica.verschoyle@diamond.ac.uk>, Naman Gera <naman.gera@diamond.ac.uk>, scientificsoftware@diamond.ac.uk
|
|
@@ -14,7 +14,7 @@ httomo_backends/methods_database/packages/backends/httomolibgpu/supporting_funcs
|
|
|
14
14
|
httomo_backends/methods_database/packages/backends/httomolibgpu/supporting_funcs/misc/corr.py,sha256=rwO9JEyefb4_6cgqn3MkFtoiDloO9N2cYqTNgVTU_A0,417
|
|
15
15
|
httomo_backends/methods_database/packages/backends/httomolibgpu/supporting_funcs/misc/denoise.py,sha256=RqQB9LKq33S9XgDQ4cwDQh62xLymKtgTwF_TOWRV01Q,297
|
|
16
16
|
httomo_backends/methods_database/packages/backends/httomolibgpu/supporting_funcs/misc/morph.py,sha256=FVqYI5iCmHJyLfHmgltIh7PPWr-cMK3Tpcs4EnCrqjc,4323
|
|
17
|
-
httomo_backends/methods_database/packages/backends/httomolibgpu/supporting_funcs/misc/rescale.py,sha256=
|
|
17
|
+
httomo_backends/methods_database/packages/backends/httomolibgpu/supporting_funcs/misc/rescale.py,sha256=iFE8X-GR9zjuFLbBE_glQL8wMoXOjkzcaleflm8VVzA,574
|
|
18
18
|
httomo_backends/methods_database/packages/backends/httomolibgpu/supporting_funcs/prep/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
19
19
|
httomo_backends/methods_database/packages/backends/httomolibgpu/supporting_funcs/prep/normalize.py,sha256=Ekxyp3j5bpg2-4iZmXI49VEBFFYUV6rfYBEqGdaqV6M,645
|
|
20
20
|
httomo_backends/methods_database/packages/backends/httomolibgpu/supporting_funcs/prep/phase.py,sha256=k3PGyn8jn2DH2NN2tu3U1xE0JFsJk0E_b-Jf_lL6h6E,6195
|
|
@@ -62,7 +62,7 @@ httomo_backends/yaml_templates/httomolibgpu/httomolibgpu.misc.corr/remove_outlie
|
|
|
62
62
|
httomo_backends/yaml_templates/httomolibgpu/httomolibgpu.misc.denoise/total_variation_PD.yaml,sha256=U46wnCcmvLXXiMVU91CpEjfq2XsTLG81v6i6O5wZBMA,213
|
|
63
63
|
httomo_backends/yaml_templates/httomolibgpu/httomolibgpu.misc.denoise/total_variation_ROF.yaml,sha256=2l4-tfLFSGM-emRS8x695WIGhMCxmTzTqO5x1t-2RyA,179
|
|
64
64
|
httomo_backends/yaml_templates/httomolibgpu/httomolibgpu.misc.morph/data_resampler.yaml,sha256=4fDcC2seGd_TFUyMG0DAs68NrJn5lmIsx7WQ_6bn-A4,142
|
|
65
|
-
httomo_backends/yaml_templates/httomolibgpu/httomolibgpu.misc.morph/sino_360_to_180.yaml,sha256=
|
|
65
|
+
httomo_backends/yaml_templates/httomolibgpu/httomolibgpu.misc.morph/sino_360_to_180.yaml,sha256=vikNDlp_Py6kye8-dySMpCxhYlJp_-AODQNGHTQCarQ,171
|
|
66
66
|
httomo_backends/yaml_templates/httomolibgpu/httomolibgpu.misc.rescale/rescale_to_int.yaml,sha256=WR_exoyowYnXgDOUH5JYGPQ17-MfUayuVkNwMQTHzac,198
|
|
67
67
|
httomo_backends/yaml_templates/httomolibgpu/httomolibgpu.prep.alignment/distortion_correction_proj_discorpy.yaml,sha256=KxWTzuZOoHUymFt4OJZVT7jhPs6oAuUmSQskQJqKwZk,163
|
|
68
68
|
httomo_backends/yaml_templates/httomolibgpu/httomolibgpu.prep.normalize/normalize.yaml,sha256=PIfA4jwCmnWtz7V5n0Zng8lPvD4h1YyIriBSL39CtVM,214
|
|
@@ -140,8 +140,8 @@ httomo_backends/yaml_templates/tomopy/tomopy.sim.project/add_zingers.yaml,sha256
|
|
|
140
140
|
httomo_backends/yaml_templates/tomopy/tomopy.sim.project/project.yaml,sha256=XBVhW5ZxT9C89tHcwDG7OOgcWNdNtQq97mqlBEoiMnU,202
|
|
141
141
|
httomo_backends/yaml_templates/tomopy/tomopy.sim.project/project2.yaml,sha256=5raeQ-w9nS9mbAzn2ZqhPjdcyfLOkkJflKNStdEnYRA,238
|
|
142
142
|
httomo_backends/yaml_templates/tomopy/tomopy.sim.project/project3.yaml,sha256=oyofKSMi-_dSpfjrKVMNDqoBhBCCSYbEVRz2Lsc8uTI,257
|
|
143
|
-
httomo_backends-0.5.
|
|
144
|
-
httomo_backends-0.5.
|
|
145
|
-
httomo_backends-0.5.
|
|
146
|
-
httomo_backends-0.5.
|
|
147
|
-
httomo_backends-0.5.
|
|
143
|
+
httomo_backends-0.5.3.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
144
|
+
httomo_backends-0.5.3.dist-info/METADATA,sha256=lxol6iGK9M58i1qHAgInXqS0huYFr1p9mLK6I_P3NZ0,2312
|
|
145
|
+
httomo_backends-0.5.3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
146
|
+
httomo_backends-0.5.3.dist-info/top_level.txt,sha256=v4x8d4CeEyMwo8QoqIvL_p-WoXAVD1bVnASPIrLjSTg,16
|
|
147
|
+
httomo_backends-0.5.3.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|