StatisticsContainer#
- class ctapipe.containers.StatisticsContainer(prefix=None, **fields)[source]#
Bases:
Container
Store descriptive statistics of a chunk of images
- Attributes:
- n_eventsField(default=-1)
number of events used for the extraction of the statistics
- 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)
- 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 = {'mean': Field(default=None), 'median': Field(default=None), 'n_events': Field(default=-1), 'std': Field(default=None)}#
- mean#
- median#
- meta#
- n_events#
- prefix#
- std#