ctapipe is not stable yet, so expect large and rapid changes to structure and functionality as we explore various design choices before the 1.0 release.

DL1CameraContainer#

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

Bases: Container

Storage of output of camera calibration e.g the final calibrated image in intensity units and the pulse time.

Attributes:
imageField(default=None)

Numpy array of camera image, after waveform extraction.Shape: (n_pixel) if n_channels is 1 or data is gain selectedelse: (n_channels, n_pixel)

peak_timeField(default=None)

Numpy array containing position of the peak of the pulse as determined by the extractor.Shape: (n_pixel) if n_channels is 1 or data is gain selectedelse: (n_channels, n_pixel)

image_maskField(default=None, dtype=bool, ndim=1)

Boolean numpy array where True means the pixel has passed cleaning. Shape: (n_pixel, )

is_validField(default=False)

True if image extraction succeeded, False if failed or in the case of TwoPass methods, that the first pass only was returned.

parametersField(default=None, type=ImageParametersContainer)

Image parameters

metadict

dict of attached metadata

prefixstr

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

Attributes Summary

default_prefix

fields

image

image_mask

is_valid

meta

parameters

peak_time

prefix

Attributes Documentation

default_prefix = 'dl1camera'#
fields = {'image': Field(default=None), 'image_mask': Field(default=None, dtype=bool, ndim=1), 'is_valid': Field(default=False), 'parameters': Field(default=None, type=ImageParametersContainer), 'peak_time': Field(default=None)}#
image#
image_mask#
is_valid#
meta#
parameters#
peak_time#
prefix#