bluesky.plan_stubs.trigger_and_read#
- bluesky.plan_stubs.trigger_and_read(devices: Sequence[Readable], name: str = 'primary') Generator[Msg, Any, Mapping[str, Reading]] [source]#
Trigger and read a list of detectors and bundle readings into one Event.
- Parameters:
- deviceslist
devices to trigger (if they have a trigger method) and then read
- namestring, optional
event stream name, a convenient human-friendly identifier; default name is ‘primary’
- Returns:
- readings:
dict of device name to recorded information
- Yields:
- msgMsg
messages to ‘trigger’, ‘wait’ and ‘read’