load_calibrator_from_config

lstchain.calib.load_calibrator_from_config(custom_config, subarray)

Return a CameraCalibrator class corresponding to the given configuration. The passed custom_config superseeds the standard config.

Parameters:
custom_config: dictionnary. Should contain:
  • image_extractor

  • image_extractor_config

  • gain_selector

  • gain_selector_config

Returns:
calibrator: ctapipe.calib.CameraCalibrator