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:
- pointing
SkyCoord
Pointing direction.
- livetime
Quantity
Livetime.
- aeff
EffectiveAreaTable2D
Effective area.
- geom
WcsGeom
Map geometry (must have an energy axis).
- 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.
- pointing
- Returns:
- map
WcsNDMap
Exposure map.
- map