nabu.stitching.stitcher.pre_processing module¶
- class nabu.stitching.stitcher.pre_processing.PreProcessingStitching(configuration, progress=None)[source]¶
Bases:
SingleAxisStitcher
loader to be used when save data during pre-processing stitching (on projections). Output is expected to be an NXtomo
warning: axis are provided according to the acquisition space
- pre_processing_computation()[source]¶
some specific pre-processing that can be call before retrieving the data
- property stitching_axis_in_frame_space¶
//tomo.gitlab-pages.esrf.fr/bliss-tomo/master/modelization.html)
- Type:
stitching is operated in 2D (frame) space. So the axis in frame space is different than the one in 3D ebs-tomo space (https
- property x_flips: list¶
- property y_flips: list¶
- static get_bunch_of_data(bunch_start: int, bunch_end: int, step: int, scans: tuple, scans_projections_indexes: tuple, reading_orders: tuple, flip_lr_arr: tuple, flip_ud_arr: tuple)[source]¶
goal is to load contiguous projections as much as possible…
- Parameters:
bunch_start (int) – begining of the bunch
bunch_end (int) – end of the bunch
scans (int) – ordered scan for which we want to get data
scans_projections_indexes – tuple with scans and scan projection indexes to be loaded
flip_lr_arr (tuple) – extra information from the user to left-right flip frames
flip_ud_arr (tuple) – extra information from the user to up-down flip frames
- Returns:
list of list. For each frame we want to stitch contains the (flat fielded) frames to stich together