bluesky.preprocessors.relative_set_decorator¶
-
bluesky.preprocessors.
relative_set_decorator
(plan, devices=None)¶ Interpret ‘set’ messages on devices as relative to initial position.
- Parameters
- planiterable or iterator
a generator, list, or similar containing Msg objects
- devicescollection or None, optional
if default (None), apply to all devices that are moved by the plan
- Yields
- msgMsg
messages from plan, with ‘read’ messages inserted and ‘set’ messages mutated