tomoscan.esrf.scan.utils.get_n_series#
- tomoscan.esrf.scan.utils.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 – list or tuple of image_keys to consider. Can be integers or tomoscan.esrf.scan.hdf5scan.ImageKey
image_key_type – The kind of image key we want number of series for