CameraCalibrator#

class ctapipe.calib.CameraCalibrator(**kwargs: Any)[source]#

Bases: TelescopeComponent

Calibrator to handle the full camera calibration chain, in order to fill the DL1 data level in the event container.

Attributes:
data_volume_reducer_type: str

The name of the DataVolumeReducer subclass to be used for data volume reduction

image_extractor_type: str

The name of the ImageExtractor subclass to be used for image extraction

Attributes Summary

apply_peak_time_shift

Apply peak time shift corrections.

apply_waveform_time_shift

Apply waveform time shift corrections.

data_volume_reducer_type

.

image_extractor_type

Name of the ImageExtractor subclass to be used.

invalid_pixel_handler_type

Name of the InvalidPixelHandler to use.

Methods Summary

__call__(event)

Perform the full camera calibration from R1 to DL1.

Attributes Documentation

apply_peak_time_shift#

Apply peak time shift corrections. Apply the remaining absolute and fractional time shift corrections to the peak time after pulse extraction. If apply_waveform_time_shift is False, this will apply the full time shift.

apply_waveform_time_shift#

Apply waveform time shift corrections. The minimal integer shift to synchronize waveforms is applied before peak extraction if this option is True.

data_volume_reducer_type#

. Possible values: []

image_extractor_type#

Name of the ImageExtractor subclass to be used. The name of a ImageExtractor subclass. Possible values: [‘FullWaveformSum’, ‘FixedWindowSum’, ‘GlobalPeakWindowSum’, ‘LocalPeakWindowSum’, ‘SlidingWindowMaxSum’, ‘NeighborPeakWindowSum’, ‘TwoPassWindowSum’, ‘FlashCamExtractor’, ‘BaselineSubtractedNeighborPeakWindowSum’]

invalid_pixel_handler_type#

Name of the InvalidPixelHandler to use. Possible values: []

Methods Documentation

__call__(event)[source]#

Perform the full camera calibration from R1 to DL1. Any calibration relating to data levels before the data level the file is read into will be skipped.

Parameters:
eventcontainer

A ArrayEventContainer event container