make_edisp_kernel_map#
- gammapy.makers.utils.make_edisp_kernel_map(edisp, pointing, geom, exposure_map=None, use_region_center=True)[source]#
Make an edisp kernel map for a single observation.
Expected axes : (reco) energy and true energy in this specific order. The name of the reco energy MapAxis is expected to be ‘energy’. The name of the true energy MapAxis is expected to be ‘energy_true’.
- Parameters:
- edisp
EnergyDispersion2D
The 2D energy dispersion IRF.
- pointing
SkyCoord
The pointing direction.
- geom
Geom
The map geometry to be used. It provides the target geometry. energy and true energy axes should be given in this specific order.
- exposure_map
Map
, optional The associated exposure map. Default is None.
- use_region_centerbool, optional
For geom as a
RegionGeom
. If True, consider the values at the region center. If False, average over the whole region. Default is True.
- edisp
- Returns:
- edispmap
EDispKernelMap
the resulting EDispKernel map
- edispmap