Skip to main content

Pyrat Bay: Python Radiative Transfer in a Bayesian framework

pyratbay

A Forward-modeling and retrieval code to model exoplanet atmospheres and spectra.

Tests Documentation Status PyPI Conda Version GitHub

Install as:

pip install pyratbay

or:

conda install -c conda-forge pyratbay

Docs at:

https://pyratbay.readthedocs.io/en/latest/

Cite as (ADS):

For the base code:

@ARTICLE{CubillosBlecic2021mnrasPyratBay,
       author = {{Cubillos}, Patricio E. and {Blecic}, Jasmina},
        title = "{The PYRAT BAY framework for exoplanet atmospheric modelling: a population study of Hubble/WFC3 transmission spectra}",
      journal = {\mnras},
     keywords = {radiative transfer, methods: statistical, planets and satellites: atmosphere, Astrophysics - Earth and Planetary Astrophysics, Astrophysics - Instrumentation and Methods for Astrophysics},
         year = 2021,
        month = aug,
       volume = {505},
       number = {2},
        pages = {2675-2702},
          doi = {10.1093/mnras/stab1405},
archivePrefix = {arXiv},
       eprint = {2105.05598},
 primaryClass = {astro-ph.EP},
       adsurl = {https://ui.adsabs.harvard.edu/abs/2021MNRAS.505.2675C},
      adsnote = {Provided by the SAO/NASA Astrophysics Data System}
}

For Multinest retrievals, radiative-equilibrium, TLS, isotopic ratios, and/or direct-imaging spectra:

@ARTICLE{CubillosEtal2026mnrasPyratBay2,
       author = {{Cubillos}, Patricio E. and {Blecic}, Jasmina and {Shulyak}, Denis and {Fossati}, Luca},
        title = "{PYRAT BAY 2.0: an upgraded framework for exoplanet atmosphere modelling in the JWST era}",
      journal = {\mnras},
     keywords = {radiative transfer, techniques: spectroscopic, planets and satellites: atmospheres, Earth and Planetary Astrophysics, Instrumentation and Methods for Astrophysics},
         year = 2026,
        month = sep,
       volume = {551},
       number = {3},
          eid = {stag1526},
        pages = {stag1526},
          doi = {10.1093/mnras/stag1526},
archivePrefix = {arXiv},
       eprint = {2608.07128},
 primaryClass = {astro-ph.EP},
       adsurl = {https://ui.adsabs.harvard.edu/abs/2026MNRAS.551g1526C},
      adsnote = {Provided by the SAO/NASA Astrophysics Data System}
}

Metadata

Release files for pyratbay 2.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyratbay 2.1.2
File Size Uploaded
pyratbay-2.1.2.tar.gz 21.6 MB Details

Release files / pyratbay-2.1.2.tar.gz

Download URL pyratbay-2.1.2.tar.gz
Size 21.6 MB
Tags Source
SHA-256 checksum
How to use checksums
8412fd6bc8e4345c4e5f49041295f0cccf0204a8ebc1d0ce415ea975c2111a2a
BLAKE2b-256 checksum
How to use checksums
680e0328ec8a5fa4075f406e68bbcb1b69424ff92eb22ef4cc141e906700911c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page