databroker.Header.fields¶
- Header.fields(stream_name=<class 'databroker.utils.ALL'>)[source]¶
Return the names of the fields (‘data keys’) 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.
- stream_namestring or
- Returns
- fieldsset
See also
Examples
Load the most recent run and list its fields.
>>> h = db[-1] >>> h.fields() {'eiger_stats1_total', 'eiger_image'}