Reference/API¶
regions Package¶
Regions is Astropy coordinated package to provide tools for region handling.
Functions¶
|
Make an example dataset. |
Classes¶
A base class for annulus pixel regions. |
|
A base class for spherical sky annulus regions. |
|
|
Helper class for asymmetric annuli sky regions. |
|
Helper class for asymmetric annuli sky regions. |
A generic error class for CRTF region parsing. |
|
A generic warning class for CRTF region parsing. |
|
|
A circular annulus in pixel coordinates. |
|
A circular annulus in sky coordinates. |
|
Class for a circular annulus sky region, where the circular annulus is interpreted within a spherical geometry reference frame. |
|
A circle defined using pixel coordinates. |
|
A circle defined using sky coordinates. |
|
Class for a circular sky region, where the circle is interpreted within a spherical geometry reference frame. |
Base class for complex cases, where the definitional parameters do not / cannot transform between coordinate frames (including RangeSphericalSkyRegion). |
|
|
A class that represents the logical combination of two regions in pixel coordinates. |
|
A class that represents the logical combination of two regions in sky coordinates. |
|
A class that represents the logical combination of two regions in spherical sky coordinates. |
|
A elliptical annulus in pixel coordinates. |
|
A elliptical annulus in |
|
An ellipse in pixel coordinates. |
|
An ellipse defined using sky coordinates. |
|
A line in pixel coordinates. |
|
A line in sky coordinates. |
|
Class for a spherical "lune", the intersection between to great circles in spherical geometry. |
|
A base class for region metadata. |
|
A class for pixel coordinates. |
Base class for all regions defined in pixel coordinates. |
|
|
A point position in pixel coordinates. |
|
A pixel region in sky coordinates. |
|
A polygon in pixel coordinates. |
|
A polygon defined using vertices in sky coordinates. |
|
A spherical polygon defined using vertices in sky coordinates. |
|
Sky Region defined within a range of longitude and/or latitudes. |
|
A rectangular annulus in pixel coordinates. |
|
A rectangular annulus in |
|
A rectangle in pixel coordinates. |
|
A rectangle in sky coordinates. |
|
Base class for all regions. |
|
A rectangular bounding box in integer (not float) pixel indices. |
|
Class for a region mask. |
|
A dictionary subclass that holds the meta attributes of the region. |
|
A dictionary subclass which holds the visual attributes of the region. |
|
Class to hold a list of |
|
A regular polygon in pixel coordinates. |
Base class for all regions defined in celestial coordinates. |
|
Base class for all spherical sky regions (compared to the implicitly planar SkyRegions). |
|
|
A text string in pixel coordinates. |
|
A text string in sky coordinates. |