ExoJAX๏
Version 2.0 (History)
ExoJAX provides an auto-differentiable high-resolution spectrum model for exoplanets/brown dwarfs using JAX. It enables fully Bayesian inference for high-dispersion data, fitting line-by-line spectral computations to observed spectra end-to-end โ from molecular/atomic databases to real spectra โ by integrating with Hamiltonian Monte Carlo - No U Turn Sampler (HMC-NUTS), Stochastic Variational Inference (SVI), Nested Sampling, and other inference techniques available in modern probabilistic programming frameworks such as NumPyro <https://github.com/pyro-ppl/numpyro>. So, the notable features of ExoJAX are summarized as
HMC-NUTS, SVI, Nested Sampling, Gradient-based Optimizer available
Easy to use the latest molecular/atomic data in ExoMol, HITEMP, HITRAN, and VALD3
A transparent open-source project; anyone who wants to participate can join the development!
For a more geek-oriented explanation
ExoJAX is a spectral model based on the Differentiable Programming (DP) paradigm! ExoJAX aims to provide building blocks for retrieval code, much like Minecraft ๐งฑ.
๐ข If you have an error and/or want to know the up-to-date info, visit ExoJAX wiki. Or use the discussions form on github or directly raise issues.
Warning
Recently, logging into HITRAN has become mandatory to access HITEMP files, causing issues with automated HITEMP file retrieval by RADIS. For more details, please refer to this resource. (Feb. 3, 2025)
Contents๏
Introduction:
Tutorials:
User Guide:
API:
ExoJAX examples (exojaxample)๏
๐ช exojaxample_WASP39b : An example of HMC-NUTS for actual hot Saturn (JWST/ERS, NIRSPEC/G395H)
๐ช exojaxample_jupiter : An example of HMC-NUTS for actual Jupiter reflection spectrum
๐ HMC-NUTS for Gl 229 B (T-dwarf) Emission Spectrum Kawashima et al. (arXiv)
๐งช HMC analysis of experimental spectroscopy data for hot methane gas Gascell_Exojax.
References๏
- ๐ Kawahara, Kawashima, Masuda, Crossfield, Pannier, van den Bekerom,
ApJS 258, 31 (2022) (Paper I)
๐ Kawahara et al., 2025, under review. ArXiv (Paper II)
License & Attribution๏
Copyright 2021-2025, Contributors
Hajime Kawahara (@HajimeKawahara, maintainer)
Yui Kawashima (@ykawashima, co-maintainer)
Kento Masuda (@kemasuda)
Ian Crossfield
Dirk van den Bekerom (@dcmvdbekerom)
Daniel Kitzmann (@daniel-kitzmann)
Brett Morris (@bmorris3)
Erwan Pannier (@erwanp) and Nicolas Minesi (@minouHub) from RADIS community
Stevanus Nugroho (@astrostevanus)
Tako Ishikawa (@chonma0ctopus)
Yui Kasagi (@YuiKasagi)
Shotaro Tada (@sh-tada)
Ko Hosokawa (@KoHosokawa)
Hibiki Yama
ExoJAX is free software made available under the MIT License. See the LICENSE
.