Skip to main content

ACT DR6 multi-frequency likelihood for cobaya

Project description

An external likelihood using cobaya and based on LAT_MFLike.

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 DR6 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-1.0.0.tar.gz (11.6 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-1.0.0-py3-none-any.whl (10.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: act_dr6_mflike-1.0.0.tar.gz
  • Upload date:
  • Size: 11.6 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-1.0.0.tar.gz
Algorithm Hash digest
SHA256 b138eec1c3859cb8bed4ee13cac706b8b319c52006f6b07a82ea266617e3a70e
MD5 2bd971b152f4761c9c061f60e55f02f0
BLAKE2b-256 398be9aff258bd50bc398c9c69b6a05603a7d17563b3a7adb393505776f9e8d3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: act_dr6_mflike-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 10.3 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-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 652881dcaacaea31775c51f13cbe0d07775d6b0b66645c70b124f9385e56518a
MD5 1d2c6c79a95bff402d250404f750f292
BLAKE2b-256 74322528770751e311c02e49873213ddb3170a183009409dae3df7c87924f40e

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