Spot¶
-
class
mrspoc.
Spot
(x=None, y=None, z=None, r=None, contrast=0.7)[source] [edit on github]¶ Bases:
object
Properties of a starspot.
Parameters: x : float
X position [stellar radii]
y : float
Y position [stellar radii]
r : float
Spot radius [stellar radii]
contrast : float (optional)
Spot contrast relative to photosphere
Methods Summary
from_latlon
(latitude, longitude, …)Construct a spot from latitude, longitude coordinates from_sunspot_distribution
(stellar_inclination)Parameters: Methods Documentation
-
classmethod
from_latlon
(latitude, longitude, stellar_inclination, radius)[source] [edit on github]¶ Construct a spot from latitude, longitude coordinates
Parameters: latitude : float
Spot latitude [deg]
longitude : float
Spot longitude [deg]
stellar_inclination : float
Stellar inclination angle, measured away from the line of sight, in [deg].
radius : float
Spot radius [stellar radii]
-
classmethod
from_sunspot_distribution
(stellar_inclination, mean_latitude=15, contrast=0.7, radius_multiplier=1)[source] [edit on github]¶ Parameters: stellar_inclination : float
Stellar inclination angle, measured away from the line of sight, in [deg].
mean_latitude : float
Define the mean absolute latitude of the two symmetric active latitudes, where
mean_latitude > 0
.contrast : float (optional)
Spot contrast relative to photosphere. Default is the area-weighted mean sunspot contrast (
c=0.7
).
-
classmethod