ewoksdata.data.bliss.iter_bliss_data#

ewoksdata.data.bliss.iter_bliss_data(filename, scan_nr, lima_names, counter_names, subscan=None, start_index=None, **options)[source]#

Iterate over the data from one Bliss scan. The counters are assumed to have many data values as scan points.

Parameters:
  • filename (str) – the Bliss dataset filename

  • filename – the scan number in the dataset

  • lima_names (List[str]) – names of lima detectors

  • counter_names (List[str]) – names of non-lima detectors (you need to provide at least one)

  • subscan (Optional[Integral]) – subscan number (for example “10.2” has scan_nr=10 and subscan=2)

  • retry_timeout (Number) – timeout when it cannot access the data for retry_timeout seconds

  • retry_period (Number) – interval in seconds between data access retries

  • start_index (Optional[Integral]) – start iterating from this scan point index

  • filename

  • scan_nr (Integral)

  • lima_names

  • counter_names

  • subscan

  • start_index

Yields tuple:

scan index, data

Return type:

Iterator[Tuple[int, dict]]