apply_containment_fraction¶
-
gammapy.irf.apply_containment_fraction(aeff, psf, radius)[source]¶ Estimate PSF containment inside a given radius and correct effective area for leaking flux.
The PSF and effective area must have the same binning in energy.
Parameters: - aeff :
EffectiveAreaTable the input 1D effective area
- psf :
EnergyDependentTablePSF the input 1D PSF
- radius :
Angle the maximum angle
Returns: - correct_aeff :
EffectiveAreaTable the output corrected 1D effective area
- aeff :