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

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.3
File Size Uploaded Provenance Actions
pyratbay-2.1.3.tar.gz 21.6 MB Without provenance Details for pyratbay-2.1.3.tar.gz

Release files / pyratbay-2.1.3.tar.gz

Download URL pyratbay-2.1.3.tar.gz
Size 21.6 MB
Tags Source
SHA-256 checksum
How to use checksums
dec64f5a08f4b6547212b67ae3037dbaca3228e5dff3f6c239ea359dee9405af
BLAKE2b-256 checksum
How to use checksums
36921ff30b530bb8e705628e1782fecbc5f881bd948e9351a6f65fe6e8bf11e0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Security for pyratbay 2.1.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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