About Exo_k

Exo_k is a Python 3 based library to handle radiative opacities from various sources for atmospheric applications. It enables you to:

  • Interpolate efficiently and easily in correlated-k and cross section tables.

  • Convert easily correlated-k and cross section tables from one format to another (hdf5, LMDZ GCM, Exomol, Nemesis, PetitCode, TauREx, ExoREM, ARCIS, etc.).

  • Adapt precomputed correlated-k tables to your needs by changing:

    • the spectral and quadrature (g) grids,

    • the pressure/temperature grid.

  • Create tables for a mix of gases using tables for individual gases.

  • Create your own tables from high-resolution spectra (for example from K-spectrum, Helios-K, etc.).

  • Use your data in an integrated radiative transfer framework to simulate planetary atmospheres.

On this website, you’ll find a ‘Getting Started’ section that will show you how to do all that with concrete examples that you can run on your own machine through the tutorial jupyter notebook provided in the repository. Many important concepts and options are presented along the way.

The API reference section also lists systematically all the classes and methods available in the library and details the necessary inputs and available options for each of them. This documentation is searchable with the search bar in the top left corner.


  1. Leconte

Recent releases

v1.0.1 (Jan 2021): Solves a binary/string conversion issue on some platforms. Enables linear interpolation in pressure (default is log). Enables creation of empty tables to filled later and spectral extension of existing tables.

v1.0.0 (Dec 2020): Finally our first official version. Creation of a ‘Neat examples’ section with fully worked out use cases for the Exo_k.

v0.0.5 (Oct 2020): Ensures compatibility with latest Exomol correlated-k and cross-section tables (Chubb et al. 2020).

Doc Contents


This project has received funding from the European Research Council (ERC) under the European Union’s Horizon 2020 research and innovation programme (grant agreement n° 679030/WHIPLASH).

The framework for this documentation has been developped by Aurelien Falco using Sphinx.