exoplanet-dev / jaxoplanet

Astronomical time series analysis with JAX
https://jax.exoplanet.codes
MIT License
38 stars 12 forks source link

feat: amplitude surface light curves for starry systems + tests #195

Closed lgrcia closed 3 months ago

lgrcia commented 3 months ago

This PR fixes the computation of the starry light curves, given that the body surfaces have different amplitudes. It also introduces tests using a simple system of eclipsing binaries, verifying the magnitude of the light curve at certain points in the orbit (e.g. all conjunctions) and make sure that interchanging the primary and secondary (plus a shift in phase) leads to the same light curves (thanks @soichiro-hattori for the suggestion!).

It also adds the possibility to set the rotation phase of a surface map.