httomo-backends 0.9.1__py3-none-any.whl → 1.0.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.
- httomo_backends/methods_database/packages/backends/httomolibgpu/httomolibgpu.yaml +9 -0
- httomo_backends/methods_database/packages/backends/httomolibgpu/supporting_funcs/prep/stripe.py +10 -0
- httomo_backends/scripts/yaml_pipelines_generator.py +8 -0
- httomo_backends/yaml_templates/httomolibgpu/httomolibgpu.prep.phase/paganin_filter.yaml +2 -0
- httomo_backends/yaml_templates/httomolibgpu/httomolibgpu.prep.stripe/remove_stripe_fw.yaml +6 -0
- {httomo_backends-0.9.1.dist-info → httomo_backends-1.0.1.dist-info}/METADATA +1 -1
- {httomo_backends-0.9.1.dist-info → httomo_backends-1.0.1.dist-info}/RECORD +10 -9
- {httomo_backends-0.9.1.dist-info → httomo_backends-1.0.1.dist-info}/WHEEL +0 -0
- {httomo_backends-0.9.1.dist-info → httomo_backends-1.0.1.dist-info}/licenses/LICENSE +0 -0
- {httomo_backends-0.9.1.dist-info → httomo_backends-1.0.1.dist-info}/top_level.txt +0 -0
|
@@ -135,6 +135,15 @@ prep:
|
|
|
135
135
|
memory_gpu:
|
|
136
136
|
multiplier: 1.17
|
|
137
137
|
method: direct
|
|
138
|
+
remove_stripe_fw:
|
|
139
|
+
pattern: sinogram
|
|
140
|
+
output_dims_change: False
|
|
141
|
+
implementation: gpu_cupy
|
|
142
|
+
save_result_default: False
|
|
143
|
+
padding: False
|
|
144
|
+
memory_gpu:
|
|
145
|
+
multiplier: None
|
|
146
|
+
method: iterative
|
|
138
147
|
remove_stripe_ti:
|
|
139
148
|
pattern: sinogram
|
|
140
149
|
output_dims_change: False
|
httomo_backends/methods_database/packages/backends/httomolibgpu/supporting_funcs/prep/stripe.py
CHANGED
|
@@ -25,9 +25,11 @@ from typing import Tuple
|
|
|
25
25
|
import numpy as np
|
|
26
26
|
|
|
27
27
|
from httomo_backends.cufft import CufftType, cufft_estimate_1d
|
|
28
|
+
from httomolibgpu.prep.stripe import remove_stripe_fw
|
|
28
29
|
|
|
29
30
|
|
|
30
31
|
__all__ = [
|
|
32
|
+
"_calc_memory_bytes_for_slices_remove_stripe_fw",
|
|
31
33
|
"_calc_memory_bytes_remove_stripe_ti",
|
|
32
34
|
"_calc_memory_bytes_remove_all_stripe",
|
|
33
35
|
"_calc_memory_bytes_raven_filter",
|
|
@@ -53,6 +55,14 @@ def _calc_memory_bytes_remove_stripe_ti(
|
|
|
53
55
|
return (tot_memory_bytes, gamma_mem)
|
|
54
56
|
|
|
55
57
|
|
|
58
|
+
def _calc_memory_bytes_for_slices_remove_stripe_fw(
|
|
59
|
+
dims_shape: Tuple[int, int, int],
|
|
60
|
+
dtype: np.dtype,
|
|
61
|
+
**kwargs,
|
|
62
|
+
) -> int:
|
|
63
|
+
return remove_stripe_fw(dims_shape, calc_peak_gpu_mem=True, **kwargs)
|
|
64
|
+
|
|
65
|
+
|
|
56
66
|
def _calc_memory_bytes_remove_all_stripe(
|
|
57
67
|
non_slice_dims_shape: Tuple[int, int],
|
|
58
68
|
dtype: np.dtype,
|
|
@@ -265,6 +265,14 @@ def yaml_pipelines_generator(
|
|
|
265
265
|
key="energy",
|
|
266
266
|
comment="Beam energy in keV.",
|
|
267
267
|
)
|
|
268
|
+
pipeline_full[i]["parameters"].yaml_add_eol_comment(
|
|
269
|
+
key="calculate_padding_value_method",
|
|
270
|
+
comment="Select type of padding from 'next_power_of_2', 'next_fast_length' and 'use_pad_x_y'.",
|
|
271
|
+
)
|
|
272
|
+
pipeline_full[i]["parameters"].yaml_add_eol_comment(
|
|
273
|
+
key="pad_x_y",
|
|
274
|
+
comment="Manual padding is enabled when 'calculate_padding_value_method' is set to 'use_pad_x_y'.",
|
|
275
|
+
)
|
|
268
276
|
elif "stripe" in module_name:
|
|
269
277
|
pipeline_full.yaml_set_comment_before_after_key(
|
|
270
278
|
i,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: httomo-backends
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 1.0.1
|
|
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
|
|
@@ -7,7 +7,7 @@ httomo_backends/methods_database/packages/httomo.yaml,sha256=tI3D-7IJcdu4EbKwjsj
|
|
|
7
7
|
httomo_backends/methods_database/packages/backends/httomolib/httomolib.yaml,sha256=JMi2qB1HAYN9yjoS9M_qjcVERIGN6Ok7oVsERfY7syE,1119
|
|
8
8
|
httomo_backends/methods_database/packages/backends/httomolib/httomolib_modules.yaml,sha256=LnjKM2EnAhmC7L_yXi_Mg5hhSWc35sGFhlH1PP1FI-8,140
|
|
9
9
|
httomo_backends/methods_database/packages/backends/httomolibgpu/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
10
|
-
httomo_backends/methods_database/packages/backends/httomolibgpu/httomolibgpu.yaml,sha256=
|
|
10
|
+
httomo_backends/methods_database/packages/backends/httomolibgpu/httomolibgpu.yaml,sha256=p090iNoIQQo9VEyVe4b8u3kTtd9e0DHIR6ekoH5aRAA,6293
|
|
11
11
|
httomo_backends/methods_database/packages/backends/httomolibgpu/httomolibgpu_modules.yaml,sha256=i58Fb01apGyJQxc3_xxDtvHuzcQAB7AdXkHPs_0q85E,308
|
|
12
12
|
httomo_backends/methods_database/packages/backends/httomolibgpu/supporting_funcs/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
13
13
|
httomo_backends/methods_database/packages/backends/httomolibgpu/supporting_funcs/misc/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -18,7 +18,7 @@ httomo_backends/methods_database/packages/backends/httomolibgpu/supporting_funcs
|
|
|
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=EdUrUZ1TWKUzKAFwoml_A7v6nchrRbAnElUGbA5xwHQ,679
|
|
20
20
|
httomo_backends/methods_database/packages/backends/httomolibgpu/supporting_funcs/prep/phase.py,sha256=LCj4iNuZjtrDwvL21ilfWGem4uXm2bUPEk30cZEyuN4,1759
|
|
21
|
-
httomo_backends/methods_database/packages/backends/httomolibgpu/supporting_funcs/prep/stripe.py,sha256=
|
|
21
|
+
httomo_backends/methods_database/packages/backends/httomolibgpu/supporting_funcs/prep/stripe.py,sha256=cVISJkAkC3eLteUS7AtRUot5mWWoeGIjCfcJXyZ3RI8,4942
|
|
22
22
|
httomo_backends/methods_database/packages/backends/httomolibgpu/supporting_funcs/recon/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
23
23
|
httomo_backends/methods_database/packages/backends/httomolibgpu/supporting_funcs/recon/algorithm.py,sha256=76Fl19BNMm2mo1gciAe_08QWSe5xmU5R2cpTFjelha0,21931
|
|
24
24
|
httomo_backends/methods_database/packages/backends/httomolibgpu/supporting_funcs/recon/peak_memory_line_profile_hook.py,sha256=hb-CyqD5TKxDg6Rg5fvFeXIO2nvjbp_XMTeRdJZ8ONo,6347
|
|
@@ -47,7 +47,7 @@ httomo_backends/pipelines_full/titaren_center_pc_FBP3d_resample_directive.yaml,s
|
|
|
47
47
|
httomo_backends/pipelines_full/tomopy_gridrec_directive.yaml,sha256=NlrX-mqyzjJvwGotTLwosBnC4d9pPRNB1JWFA7YXHuM,533
|
|
48
48
|
httomo_backends/scripts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
49
49
|
httomo_backends/scripts/json_pipelines_generator.py,sha256=iWTsYr1i0Ei77Imaml5HXWvZUUeX-tkU1WRIdxskV3M,8322
|
|
50
|
-
httomo_backends/scripts/yaml_pipelines_generator.py,sha256=
|
|
50
|
+
httomo_backends/scripts/yaml_pipelines_generator.py,sha256=Tsmb_J5hSZGzveJsITECCzAOcmDtRLJTd_Bhr7OSJNc,17788
|
|
51
51
|
httomo_backends/scripts/yaml_templates_generator.py,sha256=Bb6qOPYRGiSZujMk65A59zCzuLZqSPkbZL3B-ypxX4k,8690
|
|
52
52
|
httomo_backends/scripts/yaml_unsupported_tomopy_remove.py,sha256=R3ZAfFgpVsBWS7zBjLlU83-66nawo7EBegFsIAHBWmQ,3715
|
|
53
53
|
httomo_backends/yaml_templates/httomo/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -73,11 +73,12 @@ httomo_backends/yaml_templates/httomolibgpu/httomolibgpu.misc.utils/data_checker
|
|
|
73
73
|
httomo_backends/yaml_templates/httomolibgpu/httomolibgpu.prep.alignment/distortion_correction_proj_discorpy.yaml,sha256=KxWTzuZOoHUymFt4OJZVT7jhPs6oAuUmSQskQJqKwZk,163
|
|
74
74
|
httomo_backends/yaml_templates/httomolibgpu/httomolibgpu.prep.normalize/dark_flat_field_correction.yaml,sha256=2ZVyqLaxVOJcyCZ3aCZP97g9iHOPZVeDs46VZFRpQpg,163
|
|
75
75
|
httomo_backends/yaml_templates/httomolibgpu/httomolibgpu.prep.normalize/minus_log.yaml,sha256=qQKxL4hXjpqZDOEqFr-eru6_R9giQXTF3h2KsXVwBOg,80
|
|
76
|
-
httomo_backends/yaml_templates/httomolibgpu/httomolibgpu.prep.phase/paganin_filter.yaml,sha256
|
|
76
|
+
httomo_backends/yaml_templates/httomolibgpu/httomolibgpu.prep.phase/paganin_filter.yaml,sha256=-B9aQIiTe_93wwyxWGUFz5h6q0R2ClCA2QDpY9W-zkI,230
|
|
77
77
|
httomo_backends/yaml_templates/httomolibgpu/httomolibgpu.prep.phase/paganin_filter_savu_legacy.yaml,sha256=xj9kPKDJPQnMOHSLVfJQzu-DiphU9MtOIaWqZIOZLwk,172
|
|
78
78
|
httomo_backends/yaml_templates/httomolibgpu/httomolibgpu.prep.stripe/raven_filter.yaml,sha256=SDqgP_RLq7jjnL9Fz7hfrKko4F7-yahCsabBIJ0XMC8,169
|
|
79
79
|
httomo_backends/yaml_templates/httomolibgpu/httomolibgpu.prep.stripe/remove_all_stripe.yaml,sha256=MfoMeF_C2zRE7-W5cknhmG9-a5QYb5lpSdz9dwOndJQ,138
|
|
80
80
|
httomo_backends/yaml_templates/httomolibgpu/httomolibgpu.prep.stripe/remove_stripe_based_sorting.yaml,sha256=xyv_XKqFhs801VcsMUfWPHiKvek0qh8RhkbnInWR5i8,116
|
|
81
|
+
httomo_backends/yaml_templates/httomolibgpu/httomolibgpu.prep.stripe/remove_stripe_fw.yaml,sha256=9E0w7T2O0WQI_n-eGH5GIK8Hk6E42BmxfC3KI0Tqit8,125
|
|
81
82
|
httomo_backends/yaml_templates/httomolibgpu/httomolibgpu.prep.stripe/remove_stripe_ti.yaml,sha256=5Ed2YbB0Kf-08_nNP5dzTukNDZopRTOo1I6ODJVRrlM,95
|
|
82
83
|
httomo_backends/yaml_templates/httomolibgpu/httomolibgpu.recon.algorithm/CGLS3d_tomobar.yaml,sha256=Hv1hPa0Q_9Ck_gEDqhcOC06zygIunsvcRPQKy-z2Ia8,258
|
|
83
84
|
httomo_backends/yaml_templates/httomolibgpu/httomolibgpu.recon.algorithm/FBP2d_astra.yaml,sha256=QTtdZkiDpbPODWanCtVRMEwn_q7qJmbDS5Pis8OzlzE,283
|
|
@@ -148,8 +149,8 @@ httomo_backends/yaml_templates/tomopy/tomopy.sim.project/add_zingers.yaml,sha256
|
|
|
148
149
|
httomo_backends/yaml_templates/tomopy/tomopy.sim.project/project.yaml,sha256=XBVhW5ZxT9C89tHcwDG7OOgcWNdNtQq97mqlBEoiMnU,202
|
|
149
150
|
httomo_backends/yaml_templates/tomopy/tomopy.sim.project/project2.yaml,sha256=5raeQ-w9nS9mbAzn2ZqhPjdcyfLOkkJflKNStdEnYRA,238
|
|
150
151
|
httomo_backends/yaml_templates/tomopy/tomopy.sim.project/project3.yaml,sha256=oyofKSMi-_dSpfjrKVMNDqoBhBCCSYbEVRz2Lsc8uTI,257
|
|
151
|
-
httomo_backends-0.
|
|
152
|
-
httomo_backends-0.
|
|
153
|
-
httomo_backends-0.
|
|
154
|
-
httomo_backends-0.
|
|
155
|
-
httomo_backends-0.
|
|
152
|
+
httomo_backends-1.0.1.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
153
|
+
httomo_backends-1.0.1.dist-info/METADATA,sha256=Gnv8VDTY7cQJ8R_0d-GI_3ZqKw-XBE1cs-dnJBXkg8c,2272
|
|
154
|
+
httomo_backends-1.0.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
155
|
+
httomo_backends-1.0.1.dist-info/top_level.txt,sha256=v4x8d4CeEyMwo8QoqIvL_p-WoXAVD1bVnASPIrLjSTg,16
|
|
156
|
+
httomo_backends-1.0.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|