Skip to content

nabu.stitching.stitcher.base

source module nabu.stitching.stitcher.base

Functions

  • get_obj_constant_side_length Return the tomography object length that will be constant over 1D stitching. In the case of a stitching along axis 0 this will be: * the projection width for pre-processing * volume.shape[2] for post-processing

source get_obj_constant_side_length(obj: NXtomoScan | VolumeBase, axis: int)int

Return the tomography object length that will be constant over 1D stitching. In the case of a stitching along axis 0 this will be: * the projection width for pre-processing * volume.shape[2] for post-processing

In the case of a stitching along axis 1 this will be

  • the projection height for pre-processing

Raises

  • TypeError

  • ValueError