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

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

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

Post by Joseph Smidt » June 21 2010

I would like to use [tex]C_l^{\phi \phi}[/tex] 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 [tex]C_l^{\phi \phi}[/tex] to this list? Is there a better way to call [tex]C_l^{\phi \phi}[/tex] generated in CAMB in this file?

Thanks.

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

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

Post by Antony Lewis » June 22 2010

The latest version of CosmoMC has rudimentary support for the CMB lensing potential (assuming this is what you mean by [tex]\phi[/tex]). Try num_cls_ext=1 at the top of cmbtypes.f90. The lensing [tex]C_l^{\phi\phi}[/tex] 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?

Post by Joseph Smidt » June 23 2010

Thanks, that did it!

Post Reply