tomwer.core.process.reconstruction.nabu.utils.slice_index_to_int#

tomwer.core.process.reconstruction.nabu.utils.slice_index_to_int(slice_index, scan, axis=NabuPlane.XY)#

cast a slice to an index. The slice can be a string in [‘first’, ‘last’, ‘middle’]

Return type:

int