databroker.Header.devices

Header.devices(stream_name=<class 'databroker.utils.ALL'>)[source]

Return the names of the devices in this run.

Parameters:
stream_namestring or ALL, optional

Filter results by stream name (e.g., ‘primary’, ‘baseline’). The default, ALL, combines results from all streams.

Returns:
devicesset

See also

Header.fields()

Examples

Load the most recent run and list its devices.

>>> h = db[-1]
>>> h.devices()
{'eiger'}