bluesky.preprocessors.baseline_decorator

bluesky.preprocessors.baseline_decorator(plan, devices, name='baseline')

Preprocessor that records a baseline of all devices after open_run

The readings are designated for a separate event stream named ‘baseline’ by default.

Parameters
planiterable or iterator

a generator, list, or similar containing Msg objects

devicescollection

collection of Devices to read If None, the plan passes through unchanged.

namestring, optional

name for event stream; by default, ‘baseline’

Yields
msgMsg

messages from plan, with ‘set’ messages inserted