nectarchain.utils.metadata.MetaData#

class MetaData(prefix=None, **fields)[source]#

Bases: Container

Some 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_dict

Convert the Container into a dictionary

items

Generator over (key, value) pairs for the items

keys

Get the keys of the container

reset

Reset all values back to their default values

update

update more than one parameter at once (e.g. update(x=3,y=4) or update(**dict_of_values)).

validate

Check that all fields in the Container have the expected characteristics (as defined by the Field metadata).

values

Get the keys of the container

Attributes

NECTARCHAIN_VERSION

CTAPIPE_VERSION

CTAPIPE_IO_NECTARCAM_VERSION

TEL_ID

PROV_LOG

RUN_START

meta

prefix

default_prefix

fields