External likelihoods
This page lists external Python modules that can be used with Cobaya. For how to write your own package see Creating your own cosmological likelihood class.
After installing an external package, when running Cobaya reference your likelihood in the form [package or module name].ClassName. For example, if your ExternalLike class is in a module called newlike your input .yaml would be
likelihood:
newlike.ExternalLike:
python_path: /path/to/newlike
# .. any parameters you want to override
The python_path is not needed if the package has been pip installed.
External packages can also automatically be pip installed from an input yaml using cobaya-install, e.g.
likelihood:
planckpr4lensing:
package_install:
github_repository: carronj/planck_PR4_lensing
min_version: 1.0.2
List of external packages
candl: JAX-friendly, differentiable CMB likelihood framework with a straightforward Cobaya interface. Provides access to: SPT-3G D1 T&E, SPT-3G D1 BB, SPT-3G 2018 TT/TE/EE, SPT-3G 2018 lensing, SPTpol BB, ACT DR6 TT/TE/EE, ACT DR6 lensing, ACT DR4 TT/TE/EE, and Planck data.
GitHub repo including tutorials demonstrating the interface with Cobaya.
Official SPT data with tutorials and example run
.yamlfiles.
If you have a new likelihood and would like to add it to this list, please edit likelihood_external.rst and make a pull request.