CircleAnnulusSkyRegion

class regions.CircleAnnulusSkyRegion(center, inner_radius, outer_radius, meta=None, visual=None)[source]

Bases: regions.SkyRegion

A circular annulus in sky coordinates.

Parameters
centerSkyCoord

The position of the center of the annulus.

inner_radiusQuantity

The inner radius of the annulus in angular units

outer_radiusQuantity

The outer radius of the annulus in angular units

metaRegionMeta object, optional

A dictionary which stores the meta attributes of this region.

visualRegionVisual object, optional

A dictionary which stores the visual meta attributes of this region.

Attributes Summary

center

Descriptor class for SkyRegion which takes a scalar SkyCoord object.

inner_radius

Descriptor class for SkyRegion which takes a scalar Quantity object.

outer_radius

Descriptor class for SkyRegion which takes a scalar Quantity object.

Methods Summary

to_pixel(wcs)

Returns the equivalent region defined in pixel coordinates.

Attributes Documentation

center

Descriptor class for SkyRegion which takes a scalar SkyCoord object.

inner_radius

Descriptor class for SkyRegion which takes a scalar Quantity object.

outer_radius

Descriptor class for SkyRegion which takes a scalar Quantity object.

Methods Documentation

to_pixel(wcs)[source]

Returns the equivalent region defined in pixel coordinates.

Parameters
wcsWCS instance

The world coordinate system transformation to assume

Returns
pixel_regionPixelRegion object.