bluesky.preprocessors.reset_positions_decorator¶
- 
bluesky.preprocessors.reset_positions_decorator(plan, devices=None)¶
- 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