ewoksdata.data.blissdata.blissdatav1.iter_bliss_scan_data_from_memory_slice#
- ewoksdata.data.blissdata.blissdatav1.iter_bliss_scan_data_from_memory_slice(scan_key, lima_names, counter_names, slice_range=None, retry_timeout=None, retry_period=None, yield_timeout=None, max_slicing_size=None, verbose=False)[source]#
Iterates over the data from a Bliss scan, slicing the streams associated to a lima detector or a counter between specific indexes of the scan (optional)
- Parameters:
scan_key (
str
) – key of the Bliss scan (e.g. “esrf:scan:XXXX”)lima_names (
List
[str
]) – names of lima detectorscounter_names (
List
[str
]) – names of non-lima detectors (you need to provide at least one)slice_range (
Optional
[Tuple
[int
,int
]]) – two elements which define the limits of the iteration along the scan. If None, it iterates along the whole scanretry_timeout (
Optional
[Number
]) – timeout when it cannot access the data for retry_timeout secondsretry_period (
Optional
[Number
]) – interval in seconds between data access retriesyield_timeout (
Optional
[Number
]) – timeout to stop slicing the stream and yield the buffered datamax_slicing_size (
Optional
[Number
]) – maximum size of frames to be sliced out of the stream in one single iteration. If None, it will slice all the available data in the streamscan_key –
lima_names –
counter_names –
slice_range –
retry_timeout –
retry_period –
yield_timeout –
max_slicing_size –
verbose (
Optional
[bool
]) –
- Yields dict:
data