CircleSkyRegion

class regions.CircleSkyRegion(center, radius, meta=None, visual=None)[source]

Bases: regions.SkyRegion

A circle defined using sky coordinates.

Parameters
centerSkyCoord

Center position

radiusQuantity

Radius 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.

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.

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.