ReflectedRegionsBackgroundMaker#
- class gammapy.makers.ReflectedRegionsBackgroundMaker(region_finder=None, exclusion_mask=None, **kwargs)[source]#
Bases:
gammapy.makers.core.MakerReflected regions background maker.
- Attributes
- regions_finder: RegionsFinder
if not given, a
ReflectedRegionsFinderwill be created and any of the**kwargswill be forwarded to theReflectedRegionsFinder.- exclusion_mask
WcsNDMap, optional Exclusion mask
Attributes Summary
Methods Summary
make_counts_off(dataset, observation)Make off counts.
run(dataset, observation)Run reflected regions background maker
Attributes Documentation
- tag = 'ReflectedRegionsBackgroundMaker'#
Methods Documentation
- make_counts_off(dataset, observation)[source]#
Make off counts.
NOTE for 1D analysis: as for
make_counts, if the geometry of the dataset is aCircleSkyRegionthen only a single instance of theReflectedRegionsFinderwill be called. If, on the other hand, the geometry of the dataset is aPointSkyRegion, then we have to call theReflectedRegionsFinderseveral time, each time with a different size of the on region that we will read from theRAD_MAX_2Dtable.- Parameters
- dataset
SpectrumDataset Spectrum dataset.
- observation
Observation Observation container.
- dataset
- Returns
- counts_off
RegionNDMap Counts vs estimated energy extracted from the OFF regions.
- counts_off