Model

class dot.Model(light_curve, rotation_period, n_spots, scale_errors=1, skip_n_points=1, latitude_cutoff=10, rho_factor=250, verbose=False, min_time=None, max_time=None, contrast=0.7, partition_lon=True)[source] [edit on github]

Bases: object

Construct a new instance of Model.

Parameters
light_curveLightCurve
rotation_periodfloat

Stellar rotation period

n_spotsint

Number of spots

latitude_cutofffloat

Don’t place spots above/below this number of degrees from the pole

verbosebool

Allow PyMC3 dialogs to print to stdout

partition_lonbool

Enforce strict partitions on star in longitude for sampling

skip_n_pointsint (optional)

Skip every n points for faster runs

min_timefloat or None (optional)

Minimum time to consider in the model

max_timefloat or None (optional)

Maximum time to consider in the model

contrastfloat or None (optional)

Starspot contrast

rho_factorfloat (optional)

Scale up the GP length scale by a factor rho_factor larger than the estimated rotation_period

Methods Summary

__call__([point])

Evaluate the model with input parameters at point

Methods Documentation

__call__(point=None, **kwargs)[source] [edit on github]

Evaluate the model with input parameters at point

Thanks x1000 to Daniel Foreman-Mackey for making this possible.