CTAPerf¶
-
class
gammapy.scripts.CTAPerf(aeff=None, edisp=None, psf=None, bkg=None, sens=None, rmf=None)[source]¶ Bases:
objectCTA instrument response function container.
Class handling CTA performance.
For now we use the production 2 of the CTA IRF (https://portal.cta-observatory.org/Pages/CTA-Performance.aspx)
The IRF format should be compliant with the one discussed at http://gamma-astro-data-formats.readthedocs.io/en/latest/irfs/. Work will be done to handle better the PSF and the background rate.
This class is similar to
DataStoreObservation, but only contains performance (no event data or livetime info). TODO: maybe re-factor code somehow to avoid code duplication.Parameters: aeff :
EffectiveAreaTableEffective area
edisp :
EnergyDispersion2DEnergy dispersion
psf :
Psf68TablePoint spread function
bkg :
BgRateTableBackground rate
sens :
SensitivityTableSensitivity
Methods Summary
peek([figsize])Quick-look summary plots. read(filename)Read from a FITS file. superpose_perf(cta_perf, labels)Superpose performance plot. Methods Documentation