CMBLike

A provisional new CMB likelihood module for CosmoMC. Download cosmomc/source code (to be integrated with next cosmomc release; unzip replacing old files in cosmomc/source). New likelihood code is in Planck_like.f90.

New likelihood module reads in XXX.dataset file as usual. The dataset file specifies files giving the C_l estimators, noise C_l, covariance matrix, and fiducial model used to calculate the covariance matrix. Dataset file parameters:

The module currently inverts the required part of the covariance matrix and caches it for future re-use. So first time it runs it can be slow to start. You can download a sample dataset file and files.

Simulation code

The likelihood approximations have been tested extensively in Hammimeche&Lewis. You can download the code used for simple hybrid Pseudo-C_l simulation of single maps with Planck-like noise (you'd have to install the mask and noise fits files separately). Assumes Healpix is installed, and is based on LensPix MPI interface to Healpix. Since probably no-one will download it, there is no documentation. Some routines may be of general use though, e.g. for calculating arrays of Pseudo-Cl coupling matrices quickly over a cluster.

Note compiling with heap-arrays option is essential for intel compilers (or generally make stack size huge).


AL Dec 07.