tomoscan.esrf.volume.utils.group_slices_by_axis#
- tomoscan.esrf.volume.utils.group_slices_by_axis(slices, volume_shape)#
group a tuple of slices provided as SliceTuple (axis, slice) to a dict. Dict contains predetermined keys (0, 1, 2). For each key with have a set of int (slice indices to be read)
volume_shape: shape of the reference volume to perform test on slice indices (if provided)