bluesky.plans.count

bluesky.plans.count(detectors, num=1, delay=None, *, md=None)

Take one or more readings from detectors.

Parameters:
  • detectors (list) – list of ‘readable’ objects
  • num (integer, optional) –

    number of readings to take; default is 1

    If None, capture data until canceled

  • delay (iterable or scalar, optional) – time delay between successive readings; default is 0
  • md (dict, optional) – metadata

Note

If delay is an iterable, it must have at least num - 1 entries or the plan will raise a ValueError during iteration.