Source code for gammapy.irf.psf.table

# Licensed under a 3-clause BSD style license - see LICENSE.rst
import logging
import astropy.units as u
from .core import PSF

__all__ = ["PSF3D"]

log = logging.getLogger(__name__)


[docs]class PSF3D(PSF): """PSF with axes: energy, offset, rad. Data format specification: :ref:`gadf:psf_table` Parameters ---------- energy_axis_true : `MapAxis` True energy axis. offset_axis : `MapAxis` Offset axis rad_axis : `MapAxis` Rad axis data : `~astropy.units.Quantity` PSF (3-dim with axes: psf[rad_index, offset_index, energy_index] meta : dict Meta dict """ tag = "psf_table" required_axes = ["energy_true", "offset", "rad"] default_unit = u.sr**-1