1+ # --- Standard tomography loader for NeXus files. ---
2+ - method : standard_tomo
3+ module_path : httomo.data.hdf.loaders
4+ parameters :
5+ data_path : auto
6+ image_key_path : auto
7+ rotation_angles : auto
8+ preview :
9+ detector_x : # horizontal data previewing/cropping.
10+ # when null, the full data dimension is used, i.e., no previewing
11+ start : null
12+ stop : null
13+ detector_y : # vertical data previewing/cropping.
14+ # when null, the full data dimension is used, i.e., no previewing
15+ start : null
16+ stop : null
17+ darks : null
18+ flats : null
19+ - method : remove_outlier
20+ module_path : httomolibgpu.misc.corr
21+ parameters :
22+ kernel_size : 3 # The size of the 3D neighbourhood surrounding the voxel. Odd integer.
23+ dif : 1000 # A difference between the outlier value and the median value of neighbouring pixels.
24+ save_result : true
25+ - method : find_center
26+ module_path : tomopy.recon.rotation
27+ parameters :
28+ ind : null
29+ init : 48
30+ tol : 0.5
31+ mask : true
32+ ratio : 1.0
33+ sinogram_order : false
34+ id : centering
35+ side_outputs :
36+ cor : centre_of_rotation
37+ # --- Reconstruction method. ---
38+ - method : OSEM3d_tomobar
39+ module_path : httomolibgpu.recon.algorithm
40+ parameters :
41+ center : ${{centering.side_outputs.centre_of_rotation}}
42+ detector_pad : false
43+ recon_size : null
44+ recon_mask_radius : 0.95
45+ iterations : 20
46+ subsets_number : 12
47+ regularisation_type : PD_TV
48+ regularisation_parameter : 0.01
49+ regularisation_iterations : 30
50+ regularisation_half_precision : true
51+ nonnegativity : true
52+ # --- Calculate global statistics on the reconstructed volume, required for data rescaling. ---
53+ - method : calculate_stats
54+ module_path : httomo.methods
55+ parameters : {}
56+ id : statistics
57+ side_outputs :
58+ glob_stats : glob_stats
59+ # --- Rescaling the data using min/max obtained from `calculate_stats`. ---
60+ - method : rescale_to_int
61+ module_path : httomolibgpu.misc.rescale
62+ parameters :
63+ perc_range_min : 0.0
64+ perc_range_max : 100.0
65+ bits : 32
66+ glob_stats : ${{statistics.side_outputs.glob_stats}}
67+ # --- Saving data into images. ---
68+ - method : save_to_images
69+ module_path : httomolib.misc.images
70+ parameters :
71+ subfolder_name : images
72+ axis : auto
73+ file_format : tif # `tif` or `jpeg` can be used.
74+ asynchronous : true
0 commit comments