event_model
#
Members
Document to reference a quanta of externally-stored data |
|
Page of documents to reference a quanta of externally-stored data |
|
Document to record a quanta of collected data |
|
|
|
|
|
Describes the objects in the data property of Event documents |
|
Document to describe the data captured in the associated event documents |
|
Epics limits: see 3.4.1 https://epics.anl.gov/base/R3-14/12-docs/AppDevGuide/node4.html |
|
|
|
The 'interesting' data keys for this device. |
|
Page of documents to record a quanta of collected data |
|
|
|
|
|
Document to reference a collection (e.g. file or group of files) of externally-stored data. |
|
|
|
Start-level hints |
|
Where to get the data from |
|
Describe how to interperet this run as the given projection |
|
Document created at the start of run. |
|
Document for the end of a run indicating the success/fail state of the run and the end time |
|
Document to reference a quanta of an externally-stored stream of data. |
|
The parameters required to describe a sequence of incrementing integers |
|
Document to reference a collection (e.g. file or group of files) of externally-stored data streams. |
|
|
|
Compose a RunStart document and factory functions for related documents. |
- class event_model.DatumPage[source]#
Page of documents to reference a quanta of externally-stored data
- class event_model.EventDescriptor[source]#
Document to describe the data captured in the associated event documents
- class event_model.Limits[source]#
Epics limits: see 3.4.1 https://epics.anl.gov/base/R3-14/12-docs/AppDevGuide/node4.html
- class event_model.Resource[source]#
Document to reference a collection (e.g. file or group of files) of externally-stored data
- class event_model.RunStart[source]#
Document created at the start of run. Provides a seach target and later documents link to it
- class event_model.RunStop[source]#
Document for the end of a run indicating the success/fail state of the run and the end time
- class event_model.StreamDatum[source]#
Document to reference a quanta of an externally-stored stream of data.
- class event_model.StreamRange[source]#
The parameters required to describe a sequence of incrementing integers
- class event_model.StreamResource[source]#
Document to reference a collection (e.g. file or group of files) of externally-stored data streams
- event_model.compose_run(*, uid: str | None = None, time: float | None = None, metadata: Dict | None = None, validate: bool = True, event_counters: Dict[str, int] | None = None) ComposeRunBundle [source]#
Compose a RunStart document and factory functions for related documents.
- Parameters:
uid (string, optional) – Unique identifier for this run, conventionally a UUID4. If None is given, a UUID4 will be generated.
time (float, optional) – UNIX epoch time of start of this run. If None is given, the current time will be used.
metadata (dict, optional) – Additional metadata include the document
validate (boolean, optional) – Validate this document conforms to the schema.
event_counters (dict, optional) – A dict for counting events, when an event is composed by any of the descriptors composed by this run, the element in this dict with the key of the descriptor name will be increased by 1.
- Return type:
ComposeRunBundle