make_psf_map¶
-
gammapy.cube.make_psf_map(psf, pointing, geom, max_offset)[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: psf :
PSF3Dthe PSF IRF
pointing :
SkyCoordthe pointing direction
geom :
MapGeomthe map geom to be used. It provides the target geometry. rad and true energy axes should be given in this specific order.
max_offset :
Anglemaximum offset w.r.t. fov center
Returns: psfmap :
PSFMapthe resulting PSF map