ThetaPercentileCutCalculator#
- class ctapipe.irf.ThetaPercentileCutCalculator(**kwargs: Any)[source]#
Bases:
Component
Computes a percentile cut on theta.
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 theta cut
Angular cut value used for bins with too few events
Largest angular cut value allowed
Smallest angular cut value allowed (-1 means no cut)
Methods Summary
__call__
(theta, reco_energy, reco_energy_bins)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 theta cut
- theta_fill_value#
Angular cut value used for bins with too few events
- theta_max_angle#
Largest angular cut value allowed
- theta_min_angle#
Smallest angular cut value allowed (-1 means no cut)
Methods Documentation