make_psf¶
-
gammapy.irf.make_psf(observation, position, energy=None, rad=None)[source]¶ Make energy-dependent PSF for a given source position.
Parameters: - observation :
DataStoreObservation Observation for which to compute the PSF
- position :
SkyCoord Position at which to compute the PSF
- energy :
Quantity 1-dim energy array for the output PSF. If none is given, the energy array of the PSF from the observation is used.
- rad :
Angle 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: - psf :
EnergyDependentTablePSF Energy dependent psf table
- observation :