ChunkStatisticsContainer#
- class ctapipe.containers.ChunkStatisticsContainer(prefix=None, **fields)[source]#
 Bases:
StatisticsContainerStore descriptive statistics of a chunk of images
- Attributes:
 - meanField(default=None)
 mean of a pixel-wise quantity for each channelType: float; Shape: (n_channels, n_pixel)
- medianField(default=None)
 median of a pixel-wise quantity for each channelType: float; Shape: (n_channels, n_pixel)
- stdField(default=None)
 standard deviation of a pixel-wise quantity for each channelType: float; Shape: (n_channels, n_pixel)
- n_eventsField(default=-1)
 number of events used for the extraction of the statistics
- outlier_maskField(default=None)
 Boolean mask indicating which pixels are considered outliers. Shape: (n_channels, n_pixels)
- is_validField(default=False)
 True if the pixel statistics are valid, False if they are not valid or if a high fraction of faulty pixels exceeding the pre-defined threshold is detected across the chunk of images.
- 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
- metadict
 dict of attached metadata
- prefixstr
 Prefix attached to column names when saved to a table or file
Attributes Summary
Attributes Documentation
- default_prefix = 'chunkstatistics'#
 
- event_id_end#
 
- event_id_start#
 
- fields = {'event_id_end': Field(default=None), 'event_id_start': Field(default=None), 'is_valid': Field(default=False), 'mean': Field(default=None), 'median': Field(default=None), 'n_events': Field(default=-1), 'outlier_mask': Field(default=None), 'std': Field(default=None), 'time_end': Field(default=0.0), 'time_start': Field(default=0.0)}#
 
- meta#
 
- prefix#
 
- time_end#
 
- time_start#