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.1

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.1
File Size Uploaded
pyratbay-2.1.1.tar.gz 21.4 MB Details

Release files / pyratbay-2.1.1.tar.gz

Download URL pyratbay-2.1.1.tar.gz
Size 21.4 MB
Tags Source
SHA-256 checksum
How to use checksums
6b039ccb5c48f86a5e39c4259320dc59f490d94ac5a9b4196d02c9bae6c565d2
BLAKE2b-256 checksum
How to use checksums
6a16fae93621871fd7abadadcd0338274459ab77b9d982ad4367709e3d06af55
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