An external likelihood using cobaya.
The easiest way to install and to use mflike likelihood is via pip
pip install mflikeIf 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/cloneThen you can install the mflike likelihood and its dependencies via
pip install -e /where/to/cloneThe -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.
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/packagesdata 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.
You can test the mflike likelihood by doing
cobaya-run /where/to/clone/examples/mflike_example.yaml -p /where/to/put/packageswhich 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.
v0.8release has spectra produced with high accuracy camb parameters up toell = 9000, the foreground components are integrated in frequency using top-hat bandpasses, stored in thesaccfilesv0.7.1is a bugfix release ofv0.7release where the mono-frequency and dirac bandpasses have been correctly set with thesaccfilesv0.7release includes the ACT like foregrounds. Simulation parameters are also stored withinsaccmetadata and the associateddictfile can be viewed here.v0.6release 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.