nectarchain.data.container.pedestal_container.NectarCAMPedestalContainers#
- class NectarCAMPedestalContainers(prefix=None, **fields)[source]#
Bases:
TriggerMapContainer- Class representing a NectarCAMPedestalContainers.This class inherits from the
TriggerMapContainerclass and is used to store slices of data mappings ofNectarCAMPedestalContainer.- Attributes:
containers (Field): A field representing the slices of data mapping of
NectarCAMPedestalContainer.
- Attributes:
- containersField(default=Map(nectarchain.data.container.pedestal_container.NectarCAMPedestalContainer))
slices of data mapping of NectarCAMPedestalContainer
- metadict
dict of attached metadata
- prefixstr
Prefix attached to column names when saved to a table or file
Methods
as_dictConvert the
Containerinto a dictionaryfrom_hdf5Reads a container from an HDF5 file.
is_emptyThis method check if the container is empty.
itemsGenerator 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)).validateApply the validate method recursively to all the containers that are mapped within the TriggerMapContainer.
valuesGet the keys of the container
Attributes
containersmetaprefixdefault_prefixfields