CTAIrf¶
-
class
gammapy.scripts.
CTAIrf
(aeff=None, edisp=None, psf=None, bkg=None)[source]¶ Bases:
object
CTA instrument response function container.
Class handling CTA instrument response function.
For now we use the production 2 of the CTA IRF (https://portal.cta-observatory.org/Pages/CTA-Performance.aspx) adapted from the ctools (http://cta.irap.omp.eu/ctools/user_manual/getting_started/response.html).
The IRF format should be compliant with the one discussed at http://gamma-astro-data-formats.readthedocs.io/en/latest/irfs/. Waiting for a new public production of the CTA IRF, we’ll fix the missing pieces.
This class is similar to
DataStoreObservation
, but only contains IRFs (no event data or livetime info). TODO: maybe re-factor code somehow to avoid code duplication.Parameters: aeff :
EffectiveAreaTable2D
Effective area
edisp :
EnergyDispersion2D
Energy dispersion
psf :
EnergyDependentMultiGaussPSF
Point spread function
bkg :
FOVCube
Background rate
Methods Summary
read
(filename)Read from a FITS file. Methods Documentation