make_psf¶
-
gammapy.irf.make_psf(observation, position, energy=None, rad=None)[source]¶ Make energy-dependent PSF for a given source position.
Parameters: observation :
DataStoreObservationObservation 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 observation is used.
rad :
Angle1-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: psf :
EnergyDependentTablePSFEnergy dependent psf table