irf - Instrument response functions¶
Introduction¶
gammapy.irf handles instrument response functions (IRFs):
Effective area (AEFF)
Energy dispersion (EDISP)
Point spread function (PSF)
Template background (BKG)
Most of the formats defined at IACT IRFs are supported. Otherwise, at the moment, there is very 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.
Effective area¶
See EffectiveAreaTable and EffectiveAreaTable2D.
Background¶
See Background2D and Background2D.
PSF¶
The TablePSF and EnergyDependentTablePSF classes
represent radially-symmetric PSFs where the PSF is given at a number of offsets.
The PSFKernel represents a PSF kernel.
Energy Dispersion¶
The EnergyDispersion class represents an energy migration matrix
(finite probabilities per pixel) with y=log(energy_reco).
The EnergyDispersion2D class represents a probability density
with y=energy_reco/energy_true that can also have a FOV offset dependence.
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. |
|
Compute mean energy-dependent PSF. |
|
Make energy-dependent PSF for a given source position. |
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. |
|
Stack instrument response functions. |
|
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. |
|
Radially-symmetric table PSF. |