bluesky.preprocessors.reset_positions_wrapper#
- bluesky.preprocessors.reset_positions_wrapper(plan, devices=None)[source]#
Return movable devices to their initial positions at the end.
- 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’ and finally ‘set’ messages inserted