bluesky.plans.reset_positions_wrapper

bluesky.plans.reset_positions_wrapper(plan, devices=None)

Return movable devices to their initial positions at the end.

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’ and finally ‘set’ messages inserted