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.

R1CameraContainer#

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

Bases: Container

Storage of r1 calibrated data from a single telescope

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

type of event

event_timeField(default=0.0)

event timestamp

waveformField(default=None)

numpy array containing a set of images, one per ADC sampleShape: (n_channels, n_pixels, n_samples)

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.

module_hires_local_clock_counterField(default=None, dtype=uint64, ndim=1)

Clock counter values of the camera modules. See R1 data model for details.

pedestal_intensityField(default=None, dtype=float32, ndim=1)

Pedestal intensity in each pixel in DC

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: should be replaced by 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

module_hires_local_clock_counter

pedestal_intensity

pixel_status

prefix

selected_gain_channel

waveform

Attributes Documentation

calibration_monitoring_id#
default_prefix = 'r1camera'#
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), 'module_hires_local_clock_counter': Field(default=None, dtype=uint64, ndim=1), 'pedestal_intensity': Field(default=None, dtype=float32, 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#
module_hires_local_clock_counter#
pedestal_intensity#
pixel_status#
prefix#
selected_gain_channel#
waveform#