CTAIrf

class gammapy.irf.CTAIrf(aeff=None, edisp=None, psf=None, bkg=None, ref_sensi=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 : Background3D

Background rate

ref_sensi : SensitivityTable

Reference Sensitivity

Methods Summary

read(filename) Read from a FITS file.

Methods Documentation

classmethod read(filename)[source]

Read from a FITS file.

Parameters:

filename : str

File containing the IRFs