Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fitting multi-wavelength lightcurves #164

Open
taylorbell57 opened this issue Mar 5, 2024 · 2 comments
Open

Fitting multi-wavelength lightcurves #164

taylorbell57 opened this issue Mar 5, 2024 · 2 comments
Assignees

Comments

@taylorbell57
Copy link

Another issue I brough up on the starry repo is the ability to fit multi-wavelength lightcurves. With the advent of JWST, I and many others are wanting to simultaneously fit multi-wavelength data. This ends up being such a high-dimensional problem that my understanding is that HMC-based samplers like NUTS are likely the only option. While starry supported wavelength-dependent emission, it did not support wavelength-dependent radii (rodluger/starry#286) or wavelength-dependent limb-darkening (rodluger/starry#310) which are critical for transmission spectroscopy. While with starry one could make N systems for N wavelengths, this ends up being seriously inefficient and slow as the overhead of initializing objects and solving for geometric values (e.g., solving Kepler's equation) is repeated N times.

Again, I am really not well-versed in jaxoplanet yet and its possible that this is already supported, but I wanted to raise this issue early on to try to make sure it was considered before adding such a feature became too cumbersome.

@dfm
Copy link
Member

dfm commented Mar 6, 2024

Thanks for bringing this up! This was one of our top motivations for developing jaxoplanet in the first place and it's absolutely supported. Here we benefit from jax.vmap, which means that any models written in JAX can be expressively vectorized over any of their input parameters.

@soichiro-hattori has been leading the work on applying jaxoplanet to real data with a specific eye towards transmission spectroscopy, and we're hoping to have a paper and tutorial "Soon™". In the meantime, we'd be very happy to help get you or anyone else up and running!

@taylorbell57
Copy link
Author

Wonderful, I'm very happy to hear it!! 🚀 You're welcome to close this issue if you want or keep it open to avoid others asking the same question until a tutorial is provided

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants