## How To Call $C_l^{\phi \phi}$ in calclike.f90 for CosmoMC?

Use of Healpix, camb, CLASS, cosmomc, compilers, etc.
Joseph Smidt
Posts: 7
Joined: May 05 2009
Affiliation: UC Irvine

### How To Call $C_l^{\\phi \\phi}$ in calclike.f90 for CosmoMC?

I would like to use $C_l^{\phi \phi}$ in my generic likelihood function I am codding up in calclike.f90. I see in this file that acl contains the TT, etc... power spectra. Is there an easy way to add $C_l^{\phi \phi}$ to this list? Is there a better way to call $C_l^{\phi \phi}$ generated in CAMB in this file?

Thanks.

Antony Lewis
Posts: 1385
Joined: September 23 2004
Affiliation: University of Sussex
Contact:

### Re: How To Call $C_l^{\\\\phi \\\\phi}$ in calclike.f90 for

The latest version of CosmoMC has rudimentary support for the CMB lensing potential (assuming this is what you mean by $\phi$). Try num_cls_ext=1 at the top of cmbtypes.f90. The lensing $C_l^{\phi\phi}$ should then be included in the usual theory CL array.

Joseph Smidt
Posts: 7
Joined: May 05 2009
Affiliation: UC Irvine

### How To Call $C_l^{\\phi \\phi}$ in calclike.f90 for CosmoMC?

Thanks, that did it!