WobbleRegionsFinder#
- class gammapy.makers.WobbleRegionsFinder(n_off_regions, binsz=<Quantity 0.01 deg>)[source]#
Bases:
RegionsFinder
Find the OFF regions symmetric to the ON region.
This is a simpler version of the
ReflectedRegionsFinder
, that will placen_off_regions
regions at symmetric positions on the circle created by the center position and the on region.Returns no regions if the regions are found to be overlapping, in that case reduce the number of off regions and/or their size.
- Parameters:
- n_off_regionsint
Number of off regions to create. Actual number of off regions might be smaller if an
exclusion_mask
is given toWobbleRegionsFinder.run
.- binsz
Angle
Bin size of the reference map used for region finding.
Create a new RegionFinder.
Methods Summary
run
(region, center[, exclusion_mask])Find off regions.
Methods Documentation