make_psf_map#

gammapy.makers.utils.make_psf_map(psf, pointing, geom, exposure_map=None)[source]#

Make a psf map for a single observation

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

Parameters
psfPSF3D

the PSF IRF

pointingSkyCoord

the pointing direction

geomGeom

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

exposure_mapMap, optional

the associated exposure map. default is None

Returns
psfmapPSFMap

the resulting PSF map