get_custom_cuts#

magicctapipe.io.get_custom_cuts(config, energy_bins)[source]#

Extract and interpolate custom, energy-dependent cuts for the IRFs creation.

Parameters:
configdict

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_binsastropy.units.Quantity

Energy bin edges targeted in the IRFs

Returns:
astropy.table.QTable

Custom cut table in target ‘energy_bins’