ChunkHistogramContainer#

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

Bases: ChunkContainer

Container for histograms of the chunk distribution

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

histogramField(default=None)

histogram of the chunk distribution

metadict

dict of attached metadata

prefixstr

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

Attributes Summary

Attributes Documentation

default_prefix = 'chunkhistogram'#
fields = {'event_id_end': Field(default=None), 'event_id_start': Field(default=None), 'histogram': 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)}#
histogram#
meta#
prefix#