RegionsFinder#

class gammapy.makers.RegionsFinder(binsz=<Quantity 0.01 deg>)[source]#

Bases: object

Baseclass for regions finders

Parameters
binszAngle

Bin size of the reference map used for region finding.

Create a new RegionFinder

Methods Summary

run(region, center[, exclusion_mask])

Find reflected regions.

Methods Documentation

abstract run(region, center, exclusion_mask=None)[source]#

Find reflected regions.

Parameters
regionSkyRegion

Region to rotate

centerSkyCoord

Rotation point

exclusion_maskWcsNDMap, optional

Exclusion mask. Regions intersecting with this mask will not be included in the returned regions.

Returns
regionslist of SkyRegion

Reflected regions

wcs: WCS

WCS for the determined regions