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.

evaluate_binned_cut_by_index(values, ...)

Evaluate a binned cut as defined in cut_table with pre-computed bin index.

compare_irf_cuts(cuts)

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