Calculating and Applying Cuts

Reference/API

pyirf.cuts Module

Functions

calculate_percentile_cut(values, bin_values, ...)

Calculate cuts as the percentile of a given quantity in bins of another quantity.

evaluate_binned_cut(values, bin_values, ...)

Evaluate a binned cut as defined in cut_table on given events.

compare_irf_cuts(cuts)

checks if the same cuts have been applied in all of them