httomo-backends 0.7.1__py3-none-any.whl → 0.7.2__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/recon/algorithm.py +7 -0
- httomo_backends/yaml_templates/httomolibgpu/httomolibgpu.recon.algorithm/LPRec3d_tomobar.yaml +1 -0
- {httomo_backends-0.7.1.dist-info → httomo_backends-0.7.2.dist-info}/METADATA +1 -2
- {httomo_backends-0.7.1.dist-info → httomo_backends-0.7.2.dist-info}/RECORD +7 -7
- {httomo_backends-0.7.1.dist-info → httomo_backends-0.7.2.dist-info}/WHEEL +0 -0
- {httomo_backends-0.7.1.dist-info → httomo_backends-0.7.2.dist-info}/licenses/LICENSE +0 -0
- {httomo_backends-0.7.1.dist-info → httomo_backends-0.7.2.dist-info}/top_level.txt +0 -0
httomo_backends/methods_database/packages/backends/httomolibgpu/supporting_funcs/recon/algorithm.py
CHANGED
|
@@ -197,6 +197,9 @@ def _calc_memory_bytes_LPRec3d_tomobar(
|
|
|
197
197
|
min_mem_usage_ifft2 = False
|
|
198
198
|
if "min_mem_usage_ifft2" in kwargs:
|
|
199
199
|
min_mem_usage_ifft2 = kwargs["min_mem_usage_ifft2"]
|
|
200
|
+
power_of_2_cropping = False
|
|
201
|
+
if "power_of_2_cropping" in kwargs:
|
|
202
|
+
power_of_2_cropping = kwargs["power_of_2_cropping"]
|
|
200
203
|
|
|
201
204
|
angles_tot = non_slice_dims_shape[0]
|
|
202
205
|
DetectorsLengthH_prepad = non_slice_dims_shape[1]
|
|
@@ -205,6 +208,10 @@ def _calc_memory_bytes_LPRec3d_tomobar(
|
|
|
205
208
|
_CENTER_SIZE_MIN = 192 # must be divisible by 8
|
|
206
209
|
|
|
207
210
|
n = DetectorsLengthH
|
|
211
|
+
if(power_of_2_cropping):
|
|
212
|
+
n_pow2 = 2 ** math.ceil(math.log2(n))
|
|
213
|
+
if( 0.9 < n / n_pow2 ):
|
|
214
|
+
n = n_pow2
|
|
208
215
|
|
|
209
216
|
odd_horiz = False
|
|
210
217
|
if (n % 2) != 0:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: httomo-backends
|
|
3
|
-
Version: 0.7.
|
|
3
|
+
Version: 0.7.2
|
|
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
|
|
@@ -22,7 +22,6 @@ Requires-Dist: h5py
|
|
|
22
22
|
Requires-Dist: astra-toolbox
|
|
23
23
|
Requires-Dist: tomobar
|
|
24
24
|
Requires-Dist: scikit-image
|
|
25
|
-
Requires-Dist: ccpi-regularisation-cupy
|
|
26
25
|
Provides-Extra: dev
|
|
27
26
|
Requires-Dist: pytest; extra == "dev"
|
|
28
27
|
Requires-Dist: pytest-mock; extra == "dev"
|
|
@@ -20,7 +20,7 @@ httomo_backends/methods_database/packages/backends/httomolibgpu/supporting_funcs
|
|
|
20
20
|
httomo_backends/methods_database/packages/backends/httomolibgpu/supporting_funcs/prep/phase.py,sha256=kYznizW0jMVJdGyuE10McVLsWWggUsP5bvJiHEVvSSM,4075
|
|
21
21
|
httomo_backends/methods_database/packages/backends/httomolibgpu/supporting_funcs/prep/stripe.py,sha256=KnS8IpcXaLeiIWr4qAKwOrcK1vS9zrU6u5gOITZ159k,4623
|
|
22
22
|
httomo_backends/methods_database/packages/backends/httomolibgpu/supporting_funcs/recon/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
23
|
-
httomo_backends/methods_database/packages/backends/httomolibgpu/supporting_funcs/recon/algorithm.py,sha256=
|
|
23
|
+
httomo_backends/methods_database/packages/backends/httomolibgpu/supporting_funcs/recon/algorithm.py,sha256=Jq4gp0NDuixGcOD1oHGJg0Vjg58JPVwisaMIb5JYqX8,21529
|
|
24
24
|
httomo_backends/methods_database/packages/backends/httomolibgpu/supporting_funcs/recon/peak_memory_line_profile_hook.py,sha256=hb-CyqD5TKxDg6Rg5fvFeXIO2nvjbp_XMTeRdJZ8ONo,6347
|
|
25
25
|
httomo_backends/methods_database/packages/backends/tomopy/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
26
26
|
httomo_backends/methods_database/packages/backends/tomopy/tomopy.yaml,sha256=URe18BAV1EbGLil53t88T42BuKSiUHz6r3uzs_wo8Ug,11215
|
|
@@ -79,7 +79,7 @@ httomo_backends/yaml_templates/httomolibgpu/httomolibgpu.recon.algorithm/CGLS3d_
|
|
|
79
79
|
httomo_backends/yaml_templates/httomolibgpu/httomolibgpu.recon.algorithm/FBP2d_astra.yaml,sha256=MxUbW-dMxMrI4Exn5mgh2ovie4Ldv1Eb-zS68ETsNCU,301
|
|
80
80
|
httomo_backends/yaml_templates/httomolibgpu/httomolibgpu.recon.algorithm/FBP3d_tomobar.yaml,sha256=H9-PTd8qW2qXqgHYw-NfZGgy2yut7ReKsbsR3x0_OOA,261
|
|
81
81
|
httomo_backends/yaml_templates/httomolibgpu/httomolibgpu.recon.algorithm/FISTA3d_tomobar.yaml,sha256=i2K7Yc19VY6uZZR8bVjb85jpWIShlM_yCGD-Z5Eb-5E,442
|
|
82
|
-
httomo_backends/yaml_templates/httomolibgpu/httomolibgpu.recon.algorithm/LPRec3d_tomobar.yaml,sha256=
|
|
82
|
+
httomo_backends/yaml_templates/httomolibgpu/httomolibgpu.recon.algorithm/LPRec3d_tomobar.yaml,sha256=mm3vUiZbLm-KtxjN1VL0LtMaWHdHHolpFFQc1OPkuZk,412
|
|
83
83
|
httomo_backends/yaml_templates/httomolibgpu/httomolibgpu.recon.algorithm/SIRT3d_tomobar.yaml,sha256=oom622LQ8xAZbZiHm4t0PSKKsMkX5G743vVBqRbMQek,277
|
|
84
84
|
httomo_backends/yaml_templates/httomolibgpu/httomolibgpu.recon.rotation/find_center_360.yaml,sha256=nXjbgTBDQcIlBWvXwMd8FoNimtq-8QabgNWAI-fiFU8,322
|
|
85
85
|
httomo_backends/yaml_templates/httomolibgpu/httomolibgpu.recon.rotation/find_center_pc.yaml,sha256=g3CNIaLhhBI6igluIMwytFqVXzrDlv8A1EU1C7ey4FE,208
|
|
@@ -144,8 +144,8 @@ httomo_backends/yaml_templates/tomopy/tomopy.sim.project/add_zingers.yaml,sha256
|
|
|
144
144
|
httomo_backends/yaml_templates/tomopy/tomopy.sim.project/project.yaml,sha256=XBVhW5ZxT9C89tHcwDG7OOgcWNdNtQq97mqlBEoiMnU,202
|
|
145
145
|
httomo_backends/yaml_templates/tomopy/tomopy.sim.project/project2.yaml,sha256=5raeQ-w9nS9mbAzn2ZqhPjdcyfLOkkJflKNStdEnYRA,238
|
|
146
146
|
httomo_backends/yaml_templates/tomopy/tomopy.sim.project/project3.yaml,sha256=oyofKSMi-_dSpfjrKVMNDqoBhBCCSYbEVRz2Lsc8uTI,257
|
|
147
|
-
httomo_backends-0.7.
|
|
148
|
-
httomo_backends-0.7.
|
|
149
|
-
httomo_backends-0.7.
|
|
150
|
-
httomo_backends-0.7.
|
|
151
|
-
httomo_backends-0.7.
|
|
147
|
+
httomo_backends-0.7.2.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
148
|
+
httomo_backends-0.7.2.dist-info/METADATA,sha256=F0PpEdrCwHMrpibOI1lUZczembzVccVwj_-j1mtbu4E,2272
|
|
149
|
+
httomo_backends-0.7.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
150
|
+
httomo_backends-0.7.2.dist-info/top_level.txt,sha256=v4x8d4CeEyMwo8QoqIvL_p-WoXAVD1bVnASPIrLjSTg,16
|
|
151
|
+
httomo_backends-0.7.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|