Skip to main content
QUICK REVIEW

[Paper Review] petitRADTRANS: a Python radiative transfer package for exoplanet characterization and retrieval

P. Mollière, Joost P. Wardenier|arXiv (Cornell University)|Apr 25, 2019
Stellar, planetary, and galactic studiesPhysics and Astronomy98 references3 citations
TL;DR

petitRADTRANS is a fast, accurate, and versatile Python radiative transfer package for modeling exoplanet transmission and emission spectra at both low (λ/Δλ = 1000) and high (λ/Δλ = 10⁶) resolution. It enables rapid spectral synthesis and retrieval studies using correlated-k and line-by-line methods, with support for clouds via power-law opacities or optical constants, and successfully benchmarks against petitCODE and ATMO/Exo-REM, achieving sub-1% flux differences and sub-50 ppm errors for JWST-like signal levels.

ABSTRACT

We present the easy-to-use, publicly available, Python package petitRADTRANS, built for the spectral characterization of exoplanet atmospheres. The code is fast, accurate, and versatile; it can calculate both transmission and emission spectra within a few seconds at low resolution ($λ/Δλ$ = 1000; correlated-k method) and high resolution ($λ/Δλ= 10^6$; line-by-line method), using only a few lines of input instruction. The somewhat slower correlated-k method is used at low resolution because it is more accurate than methods such as opacity sampling. Clouds can be included and treated using wavelength-dependent power law opacities, or by using optical constants of real condensates, specifying either the cloud particle size, or the atmospheric mixing and particle settling strength. Opacities of amorphous or crystalline, spherical or irregularly-shaped cloud particles are available. The line opacity database spans temperatures between 80 and 3000 K, allowing to model fluxes of objects such as terrestrial planets, super-Earths, Neptunes, or hot Jupiters, if their atmospheres are hydrogen-dominated. Higher temperature points and species will be added in the future, allowing to also model the class of ultra hot-Jupiters, with equilibrium temperatures $T_{ m eq} \gtrsim 2000$ K. Radiative transfer results were tested by cross-verifying the low- and high-resolution implementation of petitRADTRANS, and benchmarked with the petitCODE, which itself is also benchmarked to the ATMO and Exo-REM codes. We successfully carried out test retrievals of synthetic JWST emission and transmission spectra (for the hot Jupiter TrES-4b, which has a $T_{ m eq}$ of $\sim$ 1800 K). The code is publicly available at http://gitlab.com/mauricemolli/petitRADTRANS, and its documentation can be found at https://petitradtrans.readthedocs.io.

Motivation & Objective

  • To develop an easy-to-use, publicly available radiative transfer tool for exoplanet atmosphere characterization and retrieval.
  • To enable rapid spectral synthesis of both transmission and emission spectra across a wide range of exoplanet types, from terrestrial planets to hot Jupiters.
  • To support high-fidelity modeling with accurate opacity databases spanning 80–3000 K and cloud treatments using real condensate optical constants or parametric power laws.
  • To ensure computational efficiency without sacrificing accuracy by using the correlated-k method at low resolution and line-by-line at high resolution.
  • To facilitate retrieval studies by providing a tool that integrates seamlessly with Bayesian inference frameworks like emcee.

Proposed method

  • The code uses the correlated-k method for low-resolution spectra (λ/Δλ = 1000) and line-by-line integration for high-resolution spectra (λ/Δλ = 10⁶), ensuring high accuracy.
  • It incorporates a comprehensive opacity database covering molecular species from 80 K to 3000 K, including isotopologues and both amorphous and crystalline cloud particles.
  • Cloud opacities are modeled via wavelength-dependent power laws or precomputed cross-sections from optical constants, with options for spherical or irregular particle shapes.
  • The radiative transfer engine supports both transmission and emission spectra, with scattering included only in transmission mode.
  • The package is benchmarked against the well-validated petitCODE code, which itself is cross-verified with ATMO and Exo-REM, ensuring reliability.
  • Retrieval workflows are implemented using the emcee sampler, with example setups provided in the documentation for synthetic JWST data.

Experimental results

Research questions

  • RQ1Can a single, user-friendly Python package accurately model both low- and high-resolution exoplanet transmission and emission spectra?
  • RQ2How well does the correlated-k method in petitRADTRANS reproduce line-by-line results, especially for hot Jupiters with high-temperature atmospheres?
  • RQ3To what extent can petitRADTRANS model realistic cloud properties using parametric opacities or real condensate optical constants?
  • RQ4How do the spectral differences between petitRADTRANS and benchmark codes like petitCODE compare to the noise levels expected in JWST observations?
  • RQ5Can petitRADTRANS successfully recover atmospheric parameters from synthetic JWST emission and transmission spectra in retrieval experiments?

Key findings

  • petitRADTRANS computes both low- and high-resolution spectra in a few seconds per model, enabling interactive exploration of atmospheric parameters.
  • The low-resolution correlated-k method agrees with high-resolution line-by-line results to within 1% in flux, corresponding to errors of less than 10 ppm for planet-to-star flux contrasts of 10⁻³.
  • Differences between petitRADTRANS and the benchmark code petitCODE are typically below 1%, but can reach up to 5% in regions of strong flux variation, translating to errors of up to 50 ppm for 10⁻³ flux contrasts.
  • These differences are comparable to the expected systematic noise levels in JWST observations (20–50 ppm), indicating that petitRADTRANS is suitable for retrieval applications.
  • Retrievals of synthetic JWST emission and transmission spectra for TrES-4b successfully recovered the input temperature structure and molecular abundances using 10⁶ samples per run.
  • The code supports advanced retrieval configurations, including patchy clouds and stellar inhomogeneities via the PHOENIX spectral library, and is extensible to new opacity databases through integration with ExoCross.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.