Pyrat Bay¶
Python Radiative Transfer in a Bayesian framework
- Author:
Patricio Cubillos and Jasmina Blecic
- Contact:
- Organizations:
- Web Site:
- Date:
Nov 10, 2025
Features¶
Pyrat Bay is an efficient, user-friendly Python tool to compute
radiative-transfer spectra, and fit exoplanet atmospheric properties.
This package offers:
Transmission or emission spectral synthesis of exoplanet atmospheres.
Forward-model or retrieval calculations.
The radiative-transfer calculation includes opacity sources from:
Line-by-line molecular absorption
Collision-induced absorption
Rayleigh scattering absorption
Na and K alkali resonant lines
Gray and Mie (soon) aerosol opacities
Bayesian (MCMC and Nested sampling) posterior sampling of atmospheric parameters:
Molecular abundances (free-, equilibrium-, or hybrid chemistry)
Temperature profiles
Pressure-radius
Rayleigh and cloud properties
Offsets between observing instruments
Error scaling for observations
Contributors¶
Patricio Cubillos (IWF, Austria) patricio.cubillos[at]oeaw.ac.at
Jasmina Blecic (NYU, Abu Dhabi)
Be Kind¶
- If you found
Pyrat Bayuseful for your research, please cite this article: Cubillos & Blecic (2021): The Pyrat Bay Framework for Exoplanet Atmospheric Modeling: A Population Study of Hubble/WFC3 Transmission Spectra, MNRAS, 505, 2675.
Please prefer to channel your feedback or inquiries through the Github issue tracker: https://github.com/pcubillos/pyratbay, or alternatively through this email: patricio.cubillos[at]oeaw.ac.at.
Pyrat Bay is open-source software under the GNU GPL v2 license (see
License) and is compatible with Python>=3.9.
Documentation¶
- Getting Started
- Line Sampling
- Atmosphere Modeling
- Spectral Synthesis
- Cross Sections
- Retrievals
- Cookbooks
- Temperature profiles (basics)
- VMR free profiles tutorial
- HITRAN line sampling
- ExoMol line sampling
- Repack line sampling
- Line-sample Opacity Tutorial
- Alkali opacity tutorial
- Collision-induced absorption tutorial
- Rayleigh opacities tutorial
- H- bound-free/free-free opacity
- Passbands Tutorial
- Partition Functions
- Transmission retrieval: WASP-39b JWST
- Eclipse retrieval: WASP-18b SOSS
- Cross Sections for an Ultra Hot Jupiter
- Reproducible Compendia
- API
- pyratbay
- pyratbay.constants
- pyratbay.io
- pyratbay.tools
- pyratbay.opacity
- pyratbay.opacity.alkali
- pyratbay.opacity.broadening
- pyratbay.opacity.clouds
- pyratbay.opacity.linelist
- pyratbay.opacity.partitions
- pyratbay.opacity.rayleigh
- pyratbay.plots
- pyratbay.spectrum
- pyratbay.atmosphere
- pyratbay.atmosphere.tmodels
- pyratbay.atmosphere.vmr_models
- pyratbay.pyrat.spectrum
- Units
- References
- Contributing
- License