Skip to main content

ACT DR6 multi-frequency likelihood for cobaya

Project description

An external likelihood using cobaya.

https://img.shields.io/pypi/v/act_dr6_mflike.svg?style=flat GitHub Workflow Status

Installing the code

If you do not plan to dig into the code, you can simply install the code with the following command

python -m pip install act_dr6_mflike [--user]

Otherwise, you first need to clone this repository to some location

git clone https://github.com/ACTCollaboration/act_dr6_mflike.git /where/to/clone

Then you can install the act_dr6_mflike likelihood and its dependencies via

python -m pip install -e /where/to/clone

Installing ACT DR6 data

To install ACT D6 data, the easiest way is to use the cobaya-install binary and let it do the installation job. For instance, if you do the next command

cobaya-install /where/to/clone/examples/act_dr6_example.yaml -p /where/to/put/packages

data and code such as CAMB will be downloaded and installed within the /where/to/put/packages directory. For more details, you can have a look to cobaya documentation.

Running/testing the code

You can test the act_dr6_mflike likelihood (you will need CosmoRec to be installed and camb aware of it, see installation instructions) by doing

cobaya-run /where/to/clone/examples/act_dr6_example.yaml -p /where/to/put/packages

which should run a MCMC sampler for ACT DR6 official data file (i.e. dr6_data.fits in the act_dr6_example.yaml file) using the combination of TT, TE and EE spectra (i.e. polarizations: ['TT', 'TE', 'ET', 'EE']). The results will be stored in the chains/mcmc directory.

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

act_dr6_mflike-0.9.0.tar.gz (10.3 kB view details)

Uploaded Source

Built Distribution

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

act_dr6_mflike-0.9.0-py3-none-any.whl (10.2 kB view details)

Uploaded Python 3

File details

Details for the file act_dr6_mflike-0.9.0.tar.gz.

File metadata

  • Download URL: act_dr6_mflike-0.9.0.tar.gz
  • Upload date:
  • Size: 10.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for act_dr6_mflike-0.9.0.tar.gz
Algorithm Hash digest
SHA256 7f286e85b8dc1c8814cae33665ea07cc48530139edd30196f6a57796eb7cd7f9
MD5 84382252ebc74e96e316c2d9d0bcce3f
BLAKE2b-256 0ab97cf624713ef657567fbb58117e9a8d202562fdaf04694cc25e2f6d737b97

See more details on using hashes here.

File details

Details for the file act_dr6_mflike-0.9.0-py3-none-any.whl.

File metadata

  • Download URL: act_dr6_mflike-0.9.0-py3-none-any.whl
  • Upload date:
  • Size: 10.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for act_dr6_mflike-0.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 275755803f1845d84a27608d4c785fd762320afebeef7232670b1da0a7858a34
MD5 66e8aa5bb263bc940ecf3731c60070e6
BLAKE2b-256 e23d89c14a1bf0774c8d57414d6b5813b29a14c9b797d109776c8f562d6604f0

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