DL0CameraContainer#

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

Bases: Container

Storage of data volume reduced dl0 data from a single telescope.

See DL0 Data Model specification: https://redmine.cta-observatory.org/dmsf/files/17552/view

Attributes:
event_typeField(default=EventType.UNKNOWN, type=EventType)

type of event

event_timeField(default=0.0)

event timestamp

waveformField(default=None)

numpy array containing data volume reduced p.e. samples(n_channels, n_pixels, n_samples). Note this may be a masked array, if pixels or time slices are zero-suppressed

pixel_statusField(default=None, dtype=uint8, ndim=1)

Array of pixel status values, see PixelStatus for definition of the values

first_cell_idField(default=None, dtype=uint16, ndim=1)

Array of first cell ids of the readout chips. Only used by LST and SST.

calibration_monitoring_idField(default=None)

ID of the CalibrationMonitoringSet containing the applied pre-calibration parameters

selected_gain_channelField(default=None)

Numpy array containing the gain channel chosen for each pixel. Note: this should be replaced by only using pixel_status Shape: (n_pixels)

pixel_time_shiftField(default=None, dtype=float32, ndim=2)

Numpy array containing a time shift value in nanoseconds for each pixel and each gain, originating from the DRS4 sampling time interval inhomogeneity. This value must be subtracted from the reconstructed time to achieve uniform time response for all pixels. Shape: (num_channels, num_pixels)

metadict

dict of attached metadata

prefixstr

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

Attributes Summary

Attributes Documentation

calibration_monitoring_id#
default_prefix = 'dl0camera'#
event_time#
event_type#
fields = {'calibration_monitoring_id': Field(default=None), 'event_time': Field(default=0.0), 'event_type': Field(default=EventType.UNKNOWN, type=EventType), 'first_cell_id': Field(default=None, dtype=uint16, ndim=1), 'pixel_status': Field(default=None, dtype=uint8, ndim=1), 'pixel_time_shift': Field(default=None, dtype=float32, ndim=2), 'selected_gain_channel': Field(default=None), 'waveform': Field(default=None)}#
first_cell_id#
meta#
pixel_status#
pixel_time_shift#
prefix#
selected_gain_channel#
waveform#