GhPercentileCutCalculator#
- class ctapipe.irf.optimize.GhPercentileCutCalculator(**kwargs: Any)[source]#
 Bases:
ComponentComputes a percentile cut on gammaness.
Attributes Summary
Minimum number of events in a bin to attempt to find a cut value
When given, the width (in units of bins) of gaussian smoothing applied
Percent of events in each energy bin to keep after the G/H cut
Methods Summary
__call__(gammaness, reco_energy, ...)Call self as a function.
Attributes Documentation
- min_counts#
 Minimum number of events in a bin to attempt to find a cut value
- smoothing#
 When given, the width (in units of bins) of gaussian smoothing applied
- target_percentile#
 Percent of events in each energy bin to keep after the G/H cut
Methods Documentation