CTAPerf¶
-
class
gammapy.scripts.
CTAPerf
(aeff=None, edisp=None, psf=None, bkg=None, sens=None, rmf=None)[source]¶ Bases:
object
CTA 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 :
EffectiveAreaTable
Effective area
edisp :
EnergyDispersion2D
Energy dispersion
psf :
Psf68Table
Point spread function
bkg :
BgRateTable
Background rate
sens :
SensitivityTable
Sensitivity
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