httomo-backends 0.9.1__py3-none-any.whl → 1.0__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.
@@ -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
@@ -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,
@@ -0,0 +1,6 @@
1
+ - method: remove_stripe_fw
2
+ module_path: httomolibgpu.prep.stripe
3
+ parameters:
4
+ sigma: 2
5
+ wname: db5
6
+ level: null
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: httomo-backends
3
- Version: 0.9.1
3
+ Version: 1.0
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=aURnvUvHB7dfrUsUi9QJyHKhAbDnzFaIEbhsnLaDhzo,6061
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=KnS8IpcXaLeiIWr4qAKwOrcK1vS9zrU6u5gOITZ159k,4623
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
@@ -78,6 +78,7 @@ httomo_backends/yaml_templates/httomolibgpu/httomolibgpu.prep.phase/paganin_filt
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.9.1.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
152
- httomo_backends-0.9.1.dist-info/METADATA,sha256=OlXNJspw7aBRdZ3L4yC_-_q4yFhuKpg0we2tjMiQAXo,2272
153
- httomo_backends-0.9.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
154
- httomo_backends-0.9.1.dist-info/top_level.txt,sha256=v4x8d4CeEyMwo8QoqIvL_p-WoXAVD1bVnASPIrLjSTg,16
155
- httomo_backends-0.9.1.dist-info/RECORD,,
152
+ httomo_backends-1.0.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
153
+ httomo_backends-1.0.dist-info/METADATA,sha256=vJG0a-Jr92KpSbI3HA_I6qc-7SvxFIQdUkPCLPw9MEA,2270
154
+ httomo_backends-1.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
155
+ httomo_backends-1.0.dist-info/top_level.txt,sha256=v4x8d4CeEyMwo8QoqIvL_p-WoXAVD1bVnASPIrLjSTg,16
156
+ httomo_backends-1.0.dist-info/RECORD,,