FilterPulsarAna#

class ptiming_ana.phaseogram.FilterPulsarAna(gammaness_cut=None, alpha_cut=None, theta2_cut=None, zd_cut=None, int_cut=None, energy_cut=None, energy_binning_cut=None)#

Bases: object

Event selection cuts applied to the DL2 data used in the pulsar analysis.

Parameters:
gammaness_cutfloat or list of float, optional

Minimum gammaness. A list defines one cut per bin of energy_binning_cut.

alpha_cutfloat or list of float, optional

Maximum alpha (deg), for source-dependent analysis.

theta2_cutfloat or list of float, optional

Maximum theta2 (deg2), for source-independent analysis.

zd_cutlist of float, optional

Zenith distance range [zd_min, zd_max] in degrees.

int_cutfloat, optional

Minimum intensity (p.e.).

energy_cutfloat or list of float, optional

Energy range [e_min, e_max] in TeV. A single number is interpreted as the minimum energy.

energy_binning_cutlist of float, optional

Edges of the energy bins (TeV) used for the energy-dependent cuts.

Methods Summary

Methods Documentation

apply_energydep_cuts(events)#
apply_fixed_cut(events)#
check_cuts()#
use_fixed_cuts()#