httomolibgpu 2.7__py3-none-any.whl → 2.7.1__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.
- httomolibgpu/misc/supp_func.py +8 -7
- httomolibgpu/recon/algorithm.py +1 -1
- httomolibgpu/recon/rotation.py +1 -1
- {httomolibgpu-2.7.dist-info → httomolibgpu-2.7.1.dist-info}/METADATA +1 -1
- {httomolibgpu-2.7.dist-info → httomolibgpu-2.7.1.dist-info}/RECORD +8 -8
- {httomolibgpu-2.7.dist-info → httomolibgpu-2.7.1.dist-info}/WHEEL +0 -0
- {httomolibgpu-2.7.dist-info → httomolibgpu-2.7.1.dist-info}/licenses/LICENSE +0 -0
- {httomolibgpu-2.7.dist-info → httomolibgpu-2.7.1.dist-info}/top_level.txt +0 -0
httomolibgpu/misc/supp_func.py
CHANGED
|
@@ -162,7 +162,7 @@ def data_checker(
|
|
|
162
162
|
) -> bool:
|
|
163
163
|
"""
|
|
164
164
|
Function that performs the variety of checks on input data, in some cases also correct the data and prints warnings.
|
|
165
|
-
Currently it checks for: the presence of infs and nans in data
|
|
165
|
+
Currently it checks for: the presence of infs and nans in data.
|
|
166
166
|
|
|
167
167
|
Parameters
|
|
168
168
|
----------
|
|
@@ -181,11 +181,12 @@ def data_checker(
|
|
|
181
181
|
|
|
182
182
|
data = _naninfs_check(data, verbosity=verbosity, method_name=method_name)
|
|
183
183
|
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
184
|
+
# ! The number of zero elements check is currently switched off as it requires sorting or AtomicAdd, which makes it inefficient on GPUs. !
|
|
185
|
+
# _zeros_check(
|
|
186
|
+
# data,
|
|
187
|
+
# verbosity=verbosity,
|
|
188
|
+
# percentage_threshold=50,
|
|
189
|
+
# method_name=method_name,
|
|
190
|
+
# )
|
|
190
191
|
|
|
191
192
|
return data
|
httomolibgpu/recon/algorithm.py
CHANGED
|
@@ -73,7 +73,7 @@ def FBP2d_astra(
|
|
|
73
73
|
This is a 2D recon using ASTRA's API for the FBP method, see for more parameters ASTRA's documentation here:
|
|
74
74
|
https://astra-toolbox.com/docs/algs/FBP_CUDA.html.
|
|
75
75
|
|
|
76
|
-
Parameters
|
|
76
|
+
Parameters
|
|
77
77
|
----------
|
|
78
78
|
data : np.ndarray
|
|
79
79
|
Projection data as a 3d numpy array.
|
httomolibgpu/recon/rotation.py
CHANGED
|
@@ -425,7 +425,7 @@ def find_center_360(
|
|
|
425
425
|
Find the center-of-rotation (COR) in a 360-degree scan and also an offset
|
|
426
426
|
to perform data transformation from 360 to 180 degrees scan. See :cite:`vo2021data`.
|
|
427
427
|
|
|
428
|
-
Parameters
|
|
428
|
+
Parameters
|
|
429
429
|
----------
|
|
430
430
|
data : cp.ndarray
|
|
431
431
|
3D tomographic data as a Cupy array.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: httomolibgpu
|
|
3
|
-
Version: 2.7
|
|
3
|
+
Version: 2.7.1
|
|
4
4
|
Summary: Commonly used tomography data processing methods at DLS.
|
|
5
5
|
Author-email: Daniil Kazantsev <daniil.kazantsev@diamond.ac.uk>, Yousef Moazzam <yousef.moazzam@diamond.ac.uk>, Naman Gera <naman.gera@diamond.ac.uk>
|
|
6
6
|
License: BSD-3-Clause
|
|
@@ -13,17 +13,17 @@ httomolibgpu/misc/corr.py,sha256=ZRkDv_RmrRbL-Mr3uNaj2joEjcq6ImRlTDrWD75EtXw,459
|
|
|
13
13
|
httomolibgpu/misc/denoise.py,sha256=6dpsEjnkew-hG6BxR2crTQLfPLhqs2jvrCiJ3XJolYw,4728
|
|
14
14
|
httomolibgpu/misc/morph.py,sha256=AlLk_kGFHF6vNrdICMpsXmTUDnCc7ey97-_DqwZb3Wc,7475
|
|
15
15
|
httomolibgpu/misc/rescale.py,sha256=ODO-WI3jmfyVIcfMsD_Pb39hUt4YiHqIWncpemuFhks,5058
|
|
16
|
-
httomolibgpu/misc/supp_func.py,sha256=
|
|
16
|
+
httomolibgpu/misc/supp_func.py,sha256=g68-YLg8sHcq7qZEC5LbgbTF2iHslQnU1BUg6mLxvjg,6228
|
|
17
17
|
httomolibgpu/prep/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
18
18
|
httomolibgpu/prep/alignment.py,sha256=BuFTfLZD5_THQAKP_ikQ3fRE8JpN-JItGllZgrHRU5s,5657
|
|
19
19
|
httomolibgpu/prep/normalize.py,sha256=ozVUAs4UY2DY7MQtJKllUgahp_4wRFKPuc_3iQl6bCE,4879
|
|
20
20
|
httomolibgpu/prep/phase.py,sha256=KyzLJKq6ft1WexvjojpDiVwyCSGkar6DMOQEawW_olo,12043
|
|
21
21
|
httomolibgpu/prep/stripe.py,sha256=-KRZHMSs2xkfCzPQGOl2RbLtV3VAr7tulMui36brdP8,15093
|
|
22
22
|
httomolibgpu/recon/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
23
|
-
httomolibgpu/recon/algorithm.py,sha256=
|
|
24
|
-
httomolibgpu/recon/rotation.py,sha256=
|
|
25
|
-
httomolibgpu-2.7.dist-info/licenses/LICENSE,sha256=bXeLsgelPUUXw8HCIYiVC97Dpjhm2nB54m7TACdH8ng,48032
|
|
26
|
-
httomolibgpu-2.7.dist-info/METADATA,sha256=
|
|
27
|
-
httomolibgpu-2.7.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
28
|
-
httomolibgpu-2.7.dist-info/top_level.txt,sha256=nV0Ty_YvSPVd1O6MNWuIplD0w1nwk5hT76YgBZ-bzUw,13
|
|
29
|
-
httomolibgpu-2.7.dist-info/RECORD,,
|
|
23
|
+
httomolibgpu/recon/algorithm.py,sha256=Lqp3o8e_P-PyOTssqlmdFO0k0fArc5pNM_0i8rQFT2E,19460
|
|
24
|
+
httomolibgpu/recon/rotation.py,sha256=k_E0lBRprJz6AGclagIkrzk_9dipADxPtL5BxrggSwM,27729
|
|
25
|
+
httomolibgpu-2.7.1.dist-info/licenses/LICENSE,sha256=bXeLsgelPUUXw8HCIYiVC97Dpjhm2nB54m7TACdH8ng,48032
|
|
26
|
+
httomolibgpu-2.7.1.dist-info/METADATA,sha256=2TTgpJesuIdRsJ-6cG36ZrpbLN7IxiulljVWN3MBZo4,3401
|
|
27
|
+
httomolibgpu-2.7.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
28
|
+
httomolibgpu-2.7.1.dist-info/top_level.txt,sha256=nV0Ty_YvSPVd1O6MNWuIplD0w1nwk5hT76YgBZ-bzUw,13
|
|
29
|
+
httomolibgpu-2.7.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|