CircleAnnulusSkyRegion

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

Bases: regions.SkyRegion

A circular annulus in sky coordinates.

Parameters:
center : SkyCoord

The position of the center of the annulus.

inner_radius : Quantity

The inner radius of the annulus in angular units

outer_radius : Quantity

The outer radius of the annulus in angular units

meta : RegionMeta object, optional

A dictionary which stores the meta attributes of this region.

visual : RegionVisual 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(self, 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(self, wcs)[source]

Returns the equivalent region defined in pixel coordinates.

Parameters:
wcs : WCS instance

The world coordinate system transformation to assume

Returns:
pixel_region : PixelRegion object.