https://github.com/ucl-exoplanets/pylightcurve