IACTBasicImageEstimator¶
-
class
gammapy.image.IACTBasicImageEstimator(reference, emin, emax, offset_max=<Angle 2.5 deg>, spectral_model=None, background_estimator=None, exclusion_mask=None)[source]¶ Bases:
gammapy.image.BasicImageEstimatorEstimate the basic sky images for a set of IACT observations.
The following images will be computed:
- counts
- exposure
- background
Parameters: reference :
SkyImageReference sky image.
emin :
QuantityLower bound of energy range.
emax :
QuantityUpper bound of energy range.
offset_max :
AngleUpper bound of offset range.
spectral_model :
SpectralModelSpectral model assumption to compute mean exposure and psf image.
background_estimator : TODO
Instance of background estimation method.
exclusion_mask :
SkyImageExclusion mask.
Methods Summary
excess(images)Estimate excess image. flux(images)Estimate flux image. psf(observations[, containment_fraction, …])Mean point spread function kernel image. run(observations[, which])Run IACT basic image estimation for a list of observations. Methods Documentation
-
excess(images)¶ Estimate excess image.
Requires ‘counts’ and ‘background’ image.
Parameters: images :
SkyImageListList of sky images.
Returns: excess :
SkyImageExcess sky image.
-
flux(images)¶ Estimate flux image.
Requires ‘counts’, ‘background’ and ‘exposure’ image.
Parameters: images :
SkyImageListList of sky images.
Returns: flux :
SkyImageFlux sky image.
-
psf(observations, containment_fraction=0.99, rad_max=None)[source]¶ Mean point spread function kernel image.
Parameters: observations :
ObservationListList of observations
containment_fraction : float (0.99)
Minimum PSF containment fraction included in kernel image.
rad_max :
Angle(None)If specified, passed to
kernel; containment_fraction is then ignored.Returns: kernel :
SkyImagePSF kernel as sky image.
-
run(observations, which='all')[source]¶ Run IACT basic image estimation for a list of observations.
Parameters: observations :
ObservationListList of observations
Returns: sky_images :
SkyImageListList of sky images