make_edisp_map

gammapy.cube.make_edisp_map(edisp, pointing, geom, max_offset, exposure_map=None)[source]

Make a edisp map for a single observation

Expected axes : migra and true energy in this specific order The name of the migra MapAxis is expected to be ‘migra’

Parameters:
edisp : EnergyDispersion2D

the 2D Energy Dispersion IRF

pointing : SkyCoord

the pointing direction

geom : Geom

the map geom to be used. It provides the target geometry. rad and true energy axes should be given in this specific order.

max_offset : Angle

maximum offset w.r.t. fov center

exposure_map : Map, optional

the associated exposure map. default is None

Returns:
edispmap : EDispMap

the resulting EDisp map