ewoksdata.data.bliss.iter_bliss_scan_data_from_hdf5#
- ewoksdata.data.bliss.iter_bliss_scan_data_from_hdf5(filename, scan_nr, subscan=None, lima_names=None, counter_names=None, retry_timeout=None, retry_period=None, **hdf5_options)[source]#
Iterate over the data of a single Bliss scan stored in an HDF5 file.
- Parameters:
filename (
str) – Bliss dataset filename (HDF5 / Nexus).scan_nr (
Integral) – Scan number inside the file.lima_names (
Optional[List[str]]) – List of LIMA detector names.counter_names (
Optional[List[str]]) – List of non-LIMA counter names.subscan (
Optional[Integral]) – Sub-scan number (e.g.10.2->scan_nr=10andsubscan=2).retry_timeout (
Optional[float]) – Timeout for the retry mechanism.retry_period (
Optional[float]) – Interval between retries.**hdf5_options –
Additional options forwarded to
blissdata.h5api.dynamic_hdf5.File.hdf5_options (
Any)
- Yields:
Mapping
detector_name -> valuefor the each scan point.- Return type:
Iterator[Dict[str,Any]]