Skip to main content

Bayesian Analysis in Cosmology

Project description

Author:

Jesus Torrado and Antony Lewis

Source:

Source code at Github

Documentation:

Documentation at Readthedocs

License:

LGPL for the code (except otherwise stated in a docstring) and GFDL for the documentation (see LICENSE.txt).

cobaya (Guinea Pig, in Spanish) is a framework for sampling and statistical modelling: it allows you explore any prior or posterior using a range of Monte Carlo samplers (including the advanced MCMC sampler from CosmoMC, and the advanced nested sampler PolyChord). The results of the sampling can be analysed with GetDist.

Its authors are Jesus Torrado and Antony Lewis, and some ideas and modules (at least in the current version) have been adapted from Monte Python, by Julien Lesgourgues and Benjamin Audren (in particular, the interface to the Planck 2015 likelihoods, without much modification, and pieces of the interface to the CLASS cosmological code).

Though cobaya is a general purpose code, it includes interfaces to cosmological theory codes (CAMB and CLASS) and experimental likelihoods (Planck 2015 for now only). The interfaces to most cosmological likelihoods are agnostic as to which theory code is used to compute the observables, which facilitates comparison between those codes.

cobaya has been conceived from the beginning to be highly and quickly extensible – without touching cobaya’s source, you can define your own priors and likelihoods, and modify your theory code. With a little more work, you can experiment with new sampling techniques. It supports MPI parallellisation, it can be run either from the shell or from a Python interpreter/notebook, and takes input either as YAML files or Python dictionaries.

How to cite us

As of this version, there is no scientific publication yet associated to this software, so simply mention its Github repository (see above).

To appropriately cite the modules (samplers, theory codes, likelihoods) that you have used, simply run the script cobaya-citation with your input file(s) as argument(s), and you will get bibtex references and a short suggested text snippet for each module mentioned in your input file.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cobaya-0.119.tar.gz (68.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cobaya-0.119-py2-none-any.whl (89.7 kB view details)

Uploaded Python 2

File details

Details for the file cobaya-0.119.tar.gz.

File metadata

  • Download URL: cobaya-0.119.tar.gz
  • Upload date:
  • Size: 68.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for cobaya-0.119.tar.gz
Algorithm Hash digest
SHA256 ae95a27fd980a6480fde3d49b0e52584ef1c16fc80e30331c353c507a39f5e23
MD5 5601496e8e8b91f039c5ae2fa2c469d2
BLAKE2b-256 f1a3fe936c384323beb94b6de4eb813c8adfd327e16469dfed42edb2225afd94

See more details on using hashes here.

File details

Details for the file cobaya-0.119-py2-none-any.whl.

File metadata

File hashes

Hashes for cobaya-0.119-py2-none-any.whl
Algorithm Hash digest
SHA256 1e87cf5fb934ff587266d90922ec96340fd63bcdda179035d1b0fdceb8209217
MD5 8c5149e1b81a3b8710dd4c2b26666c70
BLAKE2b-256 755c5c157dd154c1ae7c3a21b1ae6aa3a4d5379e91bd945aca3ca19b7e31215c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page