sky_annulus¶
- gdt.core.plot.lib.sky_annulus(center_x, center_y, radius, width, ax, color='black', alpha=0.3, frame='equatorial', flipped=True, **kwargs)[source]¶
Plot an annulus on the sky defined by its center, radius, and width.
- Parameters:
center_x (float) – The azimuthal center, in degrees
center_y (float) – The polar center, in degrees
radius (float) – The radius in degrees, defined as the angular distance from the center to the middle of the width of the annulus band
width (float) – The width of the annulus in degrees
ax (matplotlib.axes) – Plot axes object
color (string, optional) – The color of the annulus. Default is black.
alpha (float, optional) – The opacity of the annulus. Default is 0.3
frame (str, optional) – Either ‘equatorial’, ‘galactic’, or ‘spacecraft’. Default is ‘equatorial’
flipped (bool, optional) – If True, the azimuthal axis is flipped, following the equatorial convention
**kwargs – Other plotting options
- Returns:
(list of matplotlib.patches.Polygon)