httomo-backends 0.6.1__py3-none-any.whl → 0.6.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/pipelines_full/titaren_center_pc_FBP3d_resample_directive.yaml +18 -0
- httomo_backends/scripts/yaml_pipelines_generator.py +16 -2
- {httomo_backends-0.6.1.dist-info → httomo_backends-0.6.3.dist-info}/METADATA +1 -1
- {httomo_backends-0.6.1.dist-info → httomo_backends-0.6.3.dist-info}/RECORD +7 -6
- {httomo_backends-0.6.1.dist-info → httomo_backends-0.6.3.dist-info}/WHEEL +0 -0
- {httomo_backends-0.6.1.dist-info → httomo_backends-0.6.3.dist-info}/licenses/LICENSE +0 -0
- {httomo_backends-0.6.1.dist-info → httomo_backends-0.6.3.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
- method: standard_tomo
|
|
2
|
+
module_path: httomo.data.hdf.loaders
|
|
3
|
+
- method: find_center_pc
|
|
4
|
+
module_path: httomolibgpu.recon.rotation
|
|
5
|
+
- method: normalize
|
|
6
|
+
module_path: httomolibgpu.prep.normalize
|
|
7
|
+
- method: remove_stripe_ti
|
|
8
|
+
module_path: httomolibgpu.prep.stripe
|
|
9
|
+
- method: FBP3d_tomobar
|
|
10
|
+
module_path: httomolibgpu.recon.algorithm
|
|
11
|
+
- method: data_resampler
|
|
12
|
+
module_path: httomolibgpu.misc.morph
|
|
13
|
+
- method: calculate_stats
|
|
14
|
+
module_path: httomo.methods
|
|
15
|
+
- method: rescale_to_int
|
|
16
|
+
module_path: httomolib.misc.rescale
|
|
17
|
+
- method: save_to_images
|
|
18
|
+
module_path: httomolib.misc.images
|
|
@@ -31,11 +31,14 @@ import ruamel.yaml
|
|
|
31
31
|
import httomo_backends
|
|
32
32
|
import yaml
|
|
33
33
|
|
|
34
|
-
|
|
34
|
+
try:
|
|
35
|
+
from httomo import __version__ as httomo_version
|
|
36
|
+
except:
|
|
37
|
+
httomo_version = "2.6" # temporary version fix for sphinx build
|
|
38
|
+
pass
|
|
35
39
|
|
|
36
40
|
CS = ruamel.yaml.comments.CommentedSeq # defaults to block style
|
|
37
41
|
|
|
38
|
-
|
|
39
42
|
class SweepRange:
|
|
40
43
|
"""SweepRange class."""
|
|
41
44
|
|
|
@@ -213,6 +216,17 @@ def yaml_pipelines_generator(
|
|
|
213
216
|
key="metadata_path",
|
|
214
217
|
comment="Provide an absolute path to the text file with distortion coefficients.",
|
|
215
218
|
)
|
|
219
|
+
elif "data_resampler" in method_name:
|
|
220
|
+
pipeline_full.yaml_set_comment_before_after_key(
|
|
221
|
+
i,
|
|
222
|
+
"--- Down/up sampling the data. --- ",
|
|
223
|
+
indent=0,
|
|
224
|
+
)
|
|
225
|
+
pipeline_full += yaml_template_method
|
|
226
|
+
pipeline_full[i]["parameters"].yaml_add_eol_comment(
|
|
227
|
+
key="newshape",
|
|
228
|
+
comment="Provide a new shape for a 2D slice, e.g. [256, 256].",
|
|
229
|
+
)
|
|
216
230
|
elif "sino_360_to_180" in method_name:
|
|
217
231
|
pipeline_full.yaml_set_comment_before_after_key(
|
|
218
232
|
i,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: httomo-backends
|
|
3
|
-
Version: 0.6.
|
|
3
|
+
Version: 0.6.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
|
|
@@ -42,10 +42,11 @@ httomo_backends/pipelines_full/deg360_distortion_FBP3d_tomobar_directive.yaml,sh
|
|
|
42
42
|
httomo_backends/pipelines_full/deg360_paganin_FBP3d_tomobar_directive.yaml,sha256=Qikcxqq_b3_9TpaOg5eSlYqfs1Vj9l30vx56cl5YoVI,660
|
|
43
43
|
httomo_backends/pipelines_full/sweep_center_FBP3d_tomobar_directive.yaml,sha256=ERai5NvyAQz9-1EAdMUw3XkjlMvZhh6LCtXQpRh7mv4,277
|
|
44
44
|
httomo_backends/pipelines_full/sweep_paganin_FBP3d_tomobar_directive.yaml,sha256=qoiY62uP5kHSL4qqSThJAaMwHq4PTN-dJSNRsBFxyQw,397
|
|
45
|
+
httomo_backends/pipelines_full/titaren_center_pc_FBP3d_resample_directive.yaml,sha256=lhT-jE2karklr_-cgEyvPRYLVwNGJgpf8XBI1r1TMLc,574
|
|
45
46
|
httomo_backends/pipelines_full/tomopy_gridrec_directive.yaml,sha256=NlrX-mqyzjJvwGotTLwosBnC4d9pPRNB1JWFA7YXHuM,533
|
|
46
47
|
httomo_backends/scripts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
47
48
|
httomo_backends/scripts/json_pipelines_generator.py,sha256=iWTsYr1i0Ei77Imaml5HXWvZUUeX-tkU1WRIdxskV3M,8322
|
|
48
|
-
httomo_backends/scripts/yaml_pipelines_generator.py,sha256=
|
|
49
|
+
httomo_backends/scripts/yaml_pipelines_generator.py,sha256=9OeC8lEYSvGUEv0ceZMvuyL4kxoQ63NeIBMfOrlC_HQ,16540
|
|
49
50
|
httomo_backends/scripts/yaml_templates_generator.py,sha256=NjE5q8YXxkXjA-9WTg4YB8ccawNA0veeJE1C8yyWqlI,8532
|
|
50
51
|
httomo_backends/scripts/yaml_unsupported_tomopy_remove.py,sha256=R3ZAfFgpVsBWS7zBjLlU83-66nawo7EBegFsIAHBWmQ,3715
|
|
51
52
|
httomo_backends/yaml_templates/httomo/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -142,8 +143,8 @@ httomo_backends/yaml_templates/tomopy/tomopy.sim.project/add_zingers.yaml,sha256
|
|
|
142
143
|
httomo_backends/yaml_templates/tomopy/tomopy.sim.project/project.yaml,sha256=XBVhW5ZxT9C89tHcwDG7OOgcWNdNtQq97mqlBEoiMnU,202
|
|
143
144
|
httomo_backends/yaml_templates/tomopy/tomopy.sim.project/project2.yaml,sha256=5raeQ-w9nS9mbAzn2ZqhPjdcyfLOkkJflKNStdEnYRA,238
|
|
144
145
|
httomo_backends/yaml_templates/tomopy/tomopy.sim.project/project3.yaml,sha256=oyofKSMi-_dSpfjrKVMNDqoBhBCCSYbEVRz2Lsc8uTI,257
|
|
145
|
-
httomo_backends-0.6.
|
|
146
|
-
httomo_backends-0.6.
|
|
147
|
-
httomo_backends-0.6.
|
|
148
|
-
httomo_backends-0.6.
|
|
149
|
-
httomo_backends-0.6.
|
|
146
|
+
httomo_backends-0.6.3.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
147
|
+
httomo_backends-0.6.3.dist-info/METADATA,sha256=NkXRxl2hgozpRzwHrzLrPCzRmlzweZBgF1EsdngfNj0,2312
|
|
148
|
+
httomo_backends-0.6.3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
149
|
+
httomo_backends-0.6.3.dist-info/top_level.txt,sha256=v4x8d4CeEyMwo8QoqIvL_p-WoXAVD1bVnASPIrLjSTg,16
|
|
150
|
+
httomo_backends-0.6.3.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|