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 image_key. Image key can be dark, flat, or projection. A series is defined as a contiguous elements in image_key_values
- Parameters:
image_key_values (tuple | list) – list or tuple of image_keys to consider. Can be integers or tomoscan.esrf.scan.hdf5scan.ImageKey
- Return type:
int