load_gain_selector_from_config

lstchain.calib.load_gain_selector_from_config(custom_config)

Return a gain selector from a custom config. The passed custom_config superseeds the standard config.

Parameters:
custom_config: dictionnary. Should contain:
  • gain_selector

  • gain_selector_config

Returns:
gain_selector: ctapipe.calib.camera.GainSelector