ReflectedRegionsBackgroundEstimator¶
-
class
gammapy.background.
ReflectedRegionsBackgroundEstimator
(on_region, obs_list, **kwargs)[source]¶ Bases:
object
Reflected Regions background estimator.
This class is responsible for creating a
BackgroundEstimate
by placing reflected regions given a target region and an observation.For a usage example see spectrum_analysis.ipynb
Parameters: on_region :
CircleSkyRegion
Target region
obs_list :
ObservationList
Observations to process
kwargs : dict
Forwarded to
gammapy.background.ReflectedRegionsFinder
Methods Summary
plot
([fig, ax, cmap, idx])Standard debug plot. process
(obs)Estimate background for one observation. run
()Run all steps. Methods Documentation
-
plot
(fig=None, ax=None, cmap=None, idx=None)[source]¶ Standard debug plot.
Parameters: cmap :
ListedColormap
, optionalColor map to use
idx : int, optional
Observations to include in the plot, default: all
-