Provides information regarding MongoDB Collection template creation. This is analogous to table definitions in SQL databases
Provides routines for data collection libraries to populate metadataStore
Provides routines for data collection libraries to populate metadataStore
Includes the raw commands. Developers/expert users can create a set of new behaviors using this module.
Return the calibration dictionary that is saved in the run_header
Return the names of the data keys. This function assumes that there is only one event descriptor in a run header
Return the names of the data keys. This function assumes that there is only one event descriptor in a run header
Note: This function only works for one event_descriptor per run_header. As soon as we start getting multiple event_descriptors per run header this function will need to be modified
Transpose the events into lists
from this: run_header : {
“event_0_data” : {“key1”: “val1”, “key2”: “val2”, ...}, “event_1_data” : {“key1”: “val1”, “key2”: “val2”, ...}, ... }
to this: {“key1”: [val1, val2, ...],
“key2” = [val1, val2, ...], “keyN” = [val1, val2, ...], “time” = [time1, time2, ...],
}