This interactive application simulates the orbit of of a single exoplanet around a star, taking into account
to accurately model the orbit as well as the observable radial velocites and light curve of the exoplanetary system as observed from Earth. This interactively crudely makes two estimates:
Note: This code takes an approach originally seen in the TwoStars code by Carroll and Ostlie. That code was used for modelling binary stars and has been extensively changed to handle exoplanets and optimized for the Python programming language.
A reminder that the model shown on the left hand side of the exoplanet orbiting the star is supposed to be just that, a model. Remember we rarely actually visually see the exoplanets in system like this as they are in reality billions of times less luminous than the star. What we actually observe is a radial velocity or light curve, this model is an explanation for those observations.