make_map_exposure_true_energy#

gammapy.makers.utils.make_map_exposure_true_energy(pointing, livetime, aeff, geom, use_region_center=True)[source]#

Compute exposure map.

This map has a true energy axis, the exposure is not combined with energy dispersion.

Parameters
pointingSkyCoord

Pointing direction

livetimeQuantity

Livetime

aeffEffectiveAreaTable2D

Effective area

geomWcsGeom

Map geometry (must have an energy axis)

use_region_center: bool

If geom is a RegionGeom, whether to just consider the values at the region center or the instead the average over the whole region

Returns
mapWcsNDMap

Exposure map