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 geometry 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.