SherpaMultiGaussPSF¶
-
class
gammapy.irf.
SherpaMultiGaussPSF
(source)[source]¶ Bases:
object
Multi-Gauss PSF as represented in the Sherpa software.
Note that Sherpa uses the following function f(x,y) = f(r) = A exp[-f(r/F)^2] f = 2.7725887 = 4log2 relates the full-width at half-maximum F to the Gaussian sigma
Methods Summary
center_psf
()Set xpos
andypos
of the PSF to the dataspace center.containment_fraction
(theta[, npix])Compute fraction of PSF contained inside theta. evaluate
(t, ampl1, fwhm1, ampl2, fwhm2, …)Hand-coded evaluate for debugging. set
()Set the PSF for Sherpa. Methods Documentation