make_mean_psf¶
-
gammapy.irf.make_mean_psf(observations, position, energy=None, rad=None)[source]¶ Compute mean energy-dependent PSF.
Parameters: observations :
ObservationsObservations for which to compute the PSF
position :
SkyCoordPosition at which to compute the PSF
energy :
Quantity1-dim energy array for the output PSF. If none is given, the energy array of the PSF from the first observation is used.
rad :
Angle1-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: psf :
EnergyDependentTablePSFMean PSF