get_custom_cuts#
- magicctapipe.io.get_custom_cuts(config, energy_bins)[source]#
Extract and interpolate custom, energy-dependent cuts for the IRFs creation.
- Parameters:
- config
dict Dictionary containing the custom cuts and the interpolation strategy. Required entries are a sub-dictionary ‘custom_cuts’ and a field ‘interpolate_kind’ used in scipy.interpolate.interp1d.
- energy_bins
astropy.units.Quantity Energy bin edges targeted in the IRFs
- config
- Returns:
astropy.table.QTableCustom cut table in target ‘energy_bins’