nectarchain.data.container.pedestal_container.NectarCAMPedestalContainers#

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

Bases: TriggerMapContainer

Class representing a NectarCAMPedestalContainers.This class inherits from the

TriggerMapContainer class and is used to store slices of data mappings of NectarCAMPedestalContainer.

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_dict

Convert the Container into a dictionary

from_hdf5

Reads a container from an HDF5 file.

is_empty

This method check if the container is empty.

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

Apply the validate method recursively to all the containers that are mapped within the TriggerMapContainer.

values

Get the keys of the container

Attributes

containers

meta

prefix

default_prefix

fields