Tutorials 6)
Transits and RVs with Stellar Variability

You can find all the codes and files for this on GitHub :)