Spot¶
-
class
rms.Spot(latitude, longitude, radius)[source]¶ Bases:
objectStarspot object.
Attributes
phiSpot phi[radians] wherephi = longituderSpot radius (alias) thetaSpot theta[radians] wheretheta = 90 deg - latitudeMethods
at_random_position(radius)plot([ax, projection, plot_kwargs])Make a simple plot of this spot. Attributes Summary
phiSpot phi[radians] wherephi = longituderSpot radius (alias) thetaSpot theta[radians] wheretheta = 90 deg - latitudeMethods Summary
at_random_position(radius)plot([ax, projection, plot_kwargs])Make a simple plot of this spot. Attributes Documentation
-
phi¶ Spot
phi[radians] wherephi = longitude
-
r¶ Spot radius (alias)
-
theta¶ Spot
theta[radians] wheretheta = 90 deg - latitude
Methods Documentation
-
plot(ax=None, projection='hammer', plot_kwargs={'color': 'k', 'marker': ', '})[source]¶ Make a simple plot of this spot.
Parameters: ax : ~matplotlib.pyplot.Axes
Axis object
plot_kwargs : dict
Keyword arguments to pass to ~matplotlib.pyplot.plot
Returns: ax : ~matplotlib.pyplot.Axes
Updated axis object
-