nabu.stitching.stitcher.base module

nabu.stitching.stitcher.base.get_obj_constant_side_length(obj: NXtomoScan | VolumeBase, axis: int) int[source]

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