Skip to content

nabu.stitching.stitcher.base

source module nabu.stitching.stitcher.base

Functions

  • get_obj_constant_side_length return tomo object lenght 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: Union[NXtomoScan, VolumeBase], axis: int)int

return tomo object lenght 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