exoplanet-dev / jaxoplanet

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

feat: add multiprecision limb darkening light curves + precision estimates functions #226

Closed lgrcia closed 1 month ago

lgrcia commented 1 month ago

[!IMPORTANT]

212 should be merged first

The idea of this PR is to provide users with functions to estimate the light curve precision based on their setup.

For example:

from jaxoplanet.experimental.starry.multiprecision import precision 

# starry_light_curve(ydeg, ugdeg, r, order)
precision.starry_light_curve(3, 2, 0.1, 15)

# limb_dark_light_curve(udeg, r, order)
precision.limb_dark_light_curve(2, 0.1, 10)