nectarchain.tools.create_catA_calibration_file#

Tool to create a category A calibration file. Inspired by: lstcam_calib.tools.create_calibration_file.

Assumes that calibration of pedestal, gain, and flat field are performed by their respective NectarCAMCalibrationTool. Each of these creates their own h5 file with calibration factor. This tool takes those h5 files, and creates a dedicated output file.

NOTE: For now gain is assumed to be computed using the SPE fit method.

Possible TODO: in the full calibration pipeline, directly write the (CatA) calibration file as the output. This would be more in the philosophy of nectarchain and ctapipe.

Functions

Classes

CalibrationWriterNectarCAM

Tool that generates a (h5 or fits) file with MST Cat-A NectarCAM calibration coefficients.