ChunkContainer#

class ctapipe.containers.ChunkContainer(prefix=None, **fields)[source]#

Bases: Container

Store values of a chunk

Attributes:
time_startField(default=0.0)

high resolution start time of the chunk

time_endField(default=0.0)

high resolution end time of the chunk

event_id_startField(default=None)

event id of the first event of the chunk

event_id_endField(default=None)

event id of the last event of the chunk

n_eventsField(default=-1)

number of events used for the calculation of the chunk values

outlier_maskField(default=None)

boolean mask indicating outliers in the chunk

is_validField(default=False)

true if chunk values are valid

metadict

dict of attached metadata

prefixstr

Prefix attached to column names when saved to a table or file

Attributes Summary

Attributes Documentation

default_prefix = 'chunk'#
event_id_end#
event_id_start#
fields = {'event_id_end': Field(default=None), 'event_id_start': Field(default=None), 'is_valid': Field(default=False), 'n_events': Field(default=-1), 'outlier_mask': Field(default=None), 'time_end': Field(default=0.0), 'time_start': Field(default=0.0)}#
is_valid#
meta#
n_events#
outlier_mask#
prefix#
time_end#
time_start#