make_mean_psf

gammapy.irf.make_mean_psf(observations, position, energy=None, rad=None)[source]

Compute mean energy-dependent PSF.

Parameters
observationsObservations

Observations 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 first observation is used.

radAngle

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

Returns
psfEnergyDependentTablePSF

Mean PSF