bluesky.plans.Count

class bluesky.plans.Count(detectors, num=1, delay=0, *, 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.

__init__(detectors, num=1, delay=0, *, md=None)

Methods

__init__(detectors[, num, delay, md])
set(**kwargs) Update attributes as keyword arguments.