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.

Camera Calibration#

Introduction#

This module contains all the methods and classes that are used to calibrate the CTA Cameras (MC, prototypes and final camera calibration algorithms).

CameraCalibrator#

The primary class in this module is the CameraCalibrator. This class handles two data level transition stages for the event:

The class takes a ctapipe event container, and fills the next data level containers with the calibrated information.

See the CTA Top-Level Data Model Definitions document (CTA internal) for information about the different data levels.

Reference/API#

ctapipe.calib.camera Package#

Camera calibration module.


ctapipe.calib.camera.calibrator Module#

Definition of the CameraCalibrator class, providing all steps needed to apply calibration and image extraction, as well as supporting algorithms.

Classes#

CameraCalibrator(**kwargs)

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

ctapipe.calib.camera.gainselection Module#

Algorithms to select correct gain channel

Classes#

GainChannel(value)

Possible gain channels

GainSelector(**kwargs)

Base class for algorithms that decide on the gain channel to use

ManualGainSelector(**kwargs)

Manually choose a gain channel.

ThresholdGainSelector(**kwargs)

Select gain channel according to a maximum threshold value.