StatisticsContainer#
- class ctapipe.containers.StatisticsContainer(prefix=None, **fields)[source]#
 Bases:
ContainerStore descriptive statistics of a pixel-wise quantity for each channel
- 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.
- metadict
 dict of attached metadata
- prefixstr
 Prefix attached to column names when saved to a table or file
Attributes Summary
Attributes Documentation
- default_prefix = 'statistics'#
 
- fields = {'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)}#
 
- is_valid#
 
- mean#
 
- median#
 
- meta#
 
- n_events#
 
- outlier_mask#
 
- prefix#
 
- std#