irf - Instrument response functions¶
Introduction¶
For a definition of the response function you are invited to read IRF Theory.
gammapy.irf
handles the following instrument response functions (IRFs):
Effective area (AEFF)
Energy Dispersion (EDISP)
Point Spread Function (PSF)
Background (BKG)
Most of the formats defined at IACT IRFs are supported. At the moment, there is little support for Fermi-LAT or other instruments.
Most users will not use gammapy.irf
directly, but will instead use IRFs as
part of their spectrum, image or cube analysis to compute exposure and effective
EDISP and PSF for a given dataset.
Most (at some point maybe all) classes in gammapy.irf
have an
gammapy.utils.nddata.NDDataArray
as data attribute to support interpolation.
IRF Axis naming¶
In the IRF classes we use the following axis naming convention:
Variable |
Definition |
---|---|
|
Reconstructed energy axis (\(E\) in IRF Theory) |
|
True energy axis (\(E_{\rm true}\) in IRF Theory) |
|
Field of view offset from center (\(p_{\rm true}\) in IRF Theory) |
|
Field of view longitude |
|
Field of view latitude |
|
Energy migration (\(\mu\) in IRF Theory) |
|
Offset angle from source position (\(\delta p\) in IRF Theory) |
Using gammapy.irf
¶
If you’d like to learn more about using gammapy.irf
, read the following
sub-pages:
Reference/API¶
gammapy.irf Package¶
Instrument response functions (IRFs).
Functions¶
|
load CTA instrument response function and return a dictionary container. |
Classes¶
|
Background 2D. |
|
Background 3D. |
|
Energy dispersion matrix. |
|
Energy dispersion kernel map. |
|
Energy dispersion map. |
|
Effective area table. |
|
2D effective area table. |
|
Triple Gauss analytical PSF depending on energy and theta. |
|
Energy-dependent radially-symmetric table PSF ( |
|
Offset-dependent energy dispersion matrix. |
|
PSF with axes: energy, offset, rad. |
|
PSF kernel for |
|
King profile analytical PSF depending on energy and offset. |
|
Class containing the Map of PSFs and allowing to interact with it. |
|
Registry class. |
|
Radially-symmetric table PSF. |
Variables¶
Registry class. |