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.

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)

metadict

dict of attached metadata

prefixstr

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

Attributes Summary

calibration_monitoring_id

default_prefix

event_time

event_type

fields

first_cell_id

meta

pixel_status

prefix

selected_gain_channel

waveform

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), 'selected_gain_channel': Field(default=None), 'waveform': Field(default=None)}#
first_cell_id#
meta#
pixel_status#
prefix#
selected_gain_channel#
waveform#