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.125.tar.gz (73.6 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for cobaya-0.125.tar.gz
Algorithm Hash digest
SHA256 063a29c90be4b9467841b6f153c51351561fd62a2cac21935150094d0a0d6dae
MD5 4f864bcba4a0d852f7c4a9207a587dc3
BLAKE2b-256 393ff09b0c457e2fdcc2df90f8f5b12a74a1e42f5cd4a46f231cefe9b3a19745

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