make_psf

gammapy.irf.make_psf(observation, position, energy=None, rad=None)[source]

Make energy-dependent PSF for a given source position.

Parameters
observationDataStoreObservation

Observation for which to compute the PSF

positionSkyCoord

Position at which to compute the PSF

energyQuantity

1-dim energy array for the output PSF. If none is given, the energy array of the PSF from the observation is used.

radAngle

1-dim offset wrt source position array for the output PSF. If none is given, the offset array of the PSF from the observation is used.

Returns
psfEnergyDependentTablePSF

Energy dependent psf table