bluesky.plans.event_context¶
-
bluesky.plans.
event_context
(plan_stack, name='primary')¶ Bundle readings into an ‘event’ (a datapoint).
This encloses the contents in ‘create’ and ‘save’ messages.
Parameters: - plan_stack (list-like) – appendable collection of generators that yield messages (Msg objects)
- name (string, optional) – name of event stream; default is ‘primary’