lather 0.0.0

A Rust crate and Python extension for modeling starspot effects on radial velocity and photometric observations, inspired by complaints about the SOAP project of similar goals.
1
2
3
4
5
6
7
8
9
import numpy as np
import matplotlib.pyplot as plt
import lather

time = np.linspace(0, 25.05, 100)
sim = lather.Simulation('sun.cfg')
rv, bisectors = sim.observe_rv(time, 4000e-10, 7000e-10)
plt.plot(time, rv)
plt.show()