RegionsFinder#

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

Bases: object

Base class 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. Default is None.

Returns
regionslist of SkyRegion

Reflected regions.

wcsWCS

WCS for the determined regions.