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