SO LAT multi-frequency likelihood for cobaya
Project description
An external likelihood using cobaya.
Installing the code
The easiest way to install and to use mflike likelihood is via pip
pip install mflike
If you want to dig into the code, you’d better clone this repository to some location
git clone https://github.com/simonsobs/LAT_MFLike.git /where/to/clone
Then you can install the mflike likelihood and its dependencies via
pip install -e /where/to/clone
The -e option allow the developer to make changes within the mflike directory without having to reinstall at every changes. If you plan to just use the likelihood and do not develop it, you can remove the -e option.
Installing LAT likelihood data
Preliminary simulated data can be found at NERSC. You can download them by yourself but you can also 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/mflike_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 mflike likelihood by doing
cobaya-run /where/to/clone/examples/mflike_example.yaml -p /where/to/put/packages
which should run a MCMC sampler for the simulation n°44 (i.e. data_sacc_00044.fits in the mflike_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.
Simulation releases
v0.8 release has spectra produced with high accuracy camb parameters up to ell = 9000, the foreground components are integrated in frequency using top-hat bandpasses, stored in the sacc files
v0.7.1 is a bugfix release of v0.7 release where the mono-frequency and dirac bandpasses have been correctly set with the sacc files
v0.7 release includes the ACT like foregrounds. Simulation parameters are also stored within sacc metadata and the associated dict file can be viewed here.
v0.6 release make use of CMB map based simulations (see https://github.com/simonsobs/map_based_simulations/blob/master/201911_lensed_cmb/README.md). Only temperature foregrounds were considered.
Releases prior to v0.6 version were development simulations and should not be used for simulation analysis.
Contributors
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file mflike-1.0.0.tar.gz
.
File metadata
- Download URL: mflike-1.0.0.tar.gz
- Upload date:
- Size: 1.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 99cd57683f9ae4581304fade325f2ca31d5ca7cc4d56efdbdf279f4605bacf29 |
|
MD5 | d53d0296fdead105f2a15f9b940e35c7 |
|
BLAKE2b-256 | 932707dfebc76e925b8b63989bf2b7fae652a626cc8df56e35740470a988dab9 |
File details
Details for the file mflike-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: mflike-1.0.0-py3-none-any.whl
- Upload date:
- Size: 1.2 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | da3e1e74544c19361b13c24a556bbfe43e1a6931d702ee70d310a97d9de0591c |
|
MD5 | 778ecc9e39b1eb490f80938822f5f736 |
|
BLAKE2b-256 | 090d7fc3aa31be8b7d7d7ad037dac1044b5a0a84ca390395ef9151fae932b183 |