Spot¶
-
class
mrspoc.
Spot
(x=None, y=None, z=None, r=None, contrast=0.7, stellar_radius=1)[source] [edit on github]¶ Bases:
object
Properties of a starspot.
Parameters: x : float
X position [stellar radii]
y : float
Y position [stellar radii]
z : float
Z position [stellar radii], default is
z=sqrt(r_star^2 - x^2 - y^2)
.r : float
Spot radius [stellar radii], default is
r=1
.contrast : float (optional)
Spot contrast relative to photosphere. Default is
c=0.7
stellar_radius : float
Radius of the star, in the same units as
x,y,z,r
. Default is 1.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