About these tutorials

About these tutorials#

The tutorials in this section are automatically executed with every change of the code to make sure that they are always up-to-date. As a result, they are designed to require only a relatively small amount of computation time; when using jaxoplanet for real problems you will probably find that your run times are longer.

To execute a tutorial on your own, you can click on the buttons at the top right or this page to launch the notebook using Binder, Colab, or download the .ipynb file directly.

Extra dependencies#

Most of these tutorials use the probabilistic programming library NumPyro to make inference based on real or synthetic datasets. Hence, you will need the following extra packages:

  • NumPyro : a lightweight probabilistic programming library.

  • NumPyro-ext : a package that extends NumPyro with a set of helper functions, custom distributions and other utilities.

  • corner : a package to visualize multidimensional samples using a scatterplot matrix.

  • Arviz : a package for exploratory analysis of Bayesian models

In addition, the Lightkurve may be required to download real datasets from the Kepler and TESS missions.

For reference, here is the version of the packages used to generate these tutorials:

import jax
import arviz
import numpy
import corner
import numpyro
import jaxoplanet
import numpyro_ext

print(f"jaxoplanet.__version__ = {jaxoplanet.__version__}")
print(f"numpy.__version__ = {numpy.__version__}")
print(f"numpyro.__version__ = {numpyro.__version__}")
print(f"numpyro_ext.__version__ = {numpyro_ext.__version__}")
print(f"jax.__version__ = {jax.__version__}")
print(f"corner.__version__ = {corner.__version__}")
print(f"arviz.__version__ = {arviz.__version__}")
jaxoplanet.__version__ = 0.1.dev50+g8a3439c
numpy.__version__ = 2.2.5
numpyro.__version__ = 0.18.0
numpyro_ext.__version__ = 0.0.4
jax.__version__ = 0.6.0
corner.__version__ = 2.2.3
arviz.__version__ = 0.21.0