tomwer.core.utils.nxtomoutils.get_n_series#

tomwer.core.utils.nxtomoutils.get_n_series(image_key_values, image_key_type)#

Return the number of series of an inage_key. Image key can be dark, flat, or projection. A serie is defined as a contiguous elements in image_key_values

Parameters:

image_key_values (Union[tuple, list]) – list or tuple of image_keys to consider. Can be integers or tomoscan.esrf.scan.hdf5scan.ImageKey

Return type:

int