nectarchain.utils.metadata.MetaData#
- class MetaData(prefix=None, **fields)[source]#
Bases:
ContainerSome metadata.
- Attributes:
- NECTARCHAIN_VERSIONField(default=None)
Version of nectarchain
- CTAPIPE_VERSIONField(default=None)
Version of ctapipe
- CTAPIPE_IO_NECTARCAM_VERSIONField(default=None)
Version of ctapipe_io_nectarcam
- TEL_IDField(default=None)
Telescope id
- PROV_LOGField(default=None)
Provenance log file
- RUN_STARTField(default=None)
Start time of first run used
- metadict
dict of attached metadata
- prefixstr
Prefix attached to column names when saved to a table or file
Methods
as_dictConvert the
Containerinto a dictionaryitemsGenerator over (key, value) pairs for the items
keysGet the keys of the container
resetReset all values back to their default values
updateupdate more than one parameter at once (e.g.
update(x=3,y=4)orupdate(**dict_of_values)).validateCheck that all fields in the Container have the expected characteristics (as defined by the Field metadata).
valuesGet the keys of the container
Attributes
NECTARCHAIN_VERSIONCTAPIPE_VERSIONCTAPIPE_IO_NECTARCAM_VERSIONTEL_IDPROV_LOGRUN_STARTmetaprefixdefault_prefixfields