Skip to content

Commit 8f6fcc1

Browse files
authored
Merge pull request #70 from DiamondLightSource/fullpartests
adding a new directive
2 parents 8daba61 + 8d217db commit 8f6fcc1

File tree

2 files changed

+29
-0
lines changed

2 files changed

+29
-0
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

httomo_backends/scripts/yaml_pipelines_generator.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,17 @@ def yaml_pipelines_generator(
216216
key="metadata_path",
217217
comment="Provide an absolute path to the text file with distortion coefficients.",
218218
)
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+
)
219230
elif "sino_360_to_180" in method_name:
220231
pipeline_full.yaml_set_comment_before_after_key(
221232
i,

0 commit comments

Comments
 (0)