nectarchain.data.container.waveforms_container.WaveformsContainers#

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

Bases: TriggerMapContainer

Class representing a container for waveforms from specific runs.

This class inherits from the TriggerMapContainer class and is used to store trigger or slices of data mappings of WaveformsContainer instances.

Attributes:

containers (Field): A field representing the trigger or slices of data mapping of WaveformsContainer instances.

Attributes:
containersField(default=Map(nectarchain.data.container.waveforms_container.WaveformsContainer))

trigger or slices of data mapping of WaveformContainer

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