Modifying Alens

Use of Healpix, camb, CLASS, cosmomc, compilers, etc.
Post Reply
yajing huang
Posts: 9
Joined: January 21 2015
Affiliation: Johns Hopkins University

Modifying Alens

Post by yajing huang » June 23 2016

Hi,

I want to have a parameter that acts like Alens but without its effect on the lensing power. In other words I want it to act only on the TT power spectrum. What should I modify to achieve this? Will modifying the following lines in camb/cmbmain.f90 be enough?
-------------------------------------------------------

Code: Select all

            if (CTrans%NumSources>2) then
                iCl_scalar(j,C_Phi,pix) = ALens*iCl_scalar(j,C_Phi,pix)*fourpi*ell**4
                !The lensing power spectrum computed is l^4 C_l^{\phi\phi}
                !We put pix extra factors of l here to improve interpolation in CTrans%ls%l
                iCl_scalar(j,C_PhiTemp,pix) = sqrt(ALens)*  iCl_scalar(j,C_PhiTemp,pix)*fourpi*ell**3
                !Cross-correlation is CTrans%ls%l^3 C_l^{\phi T}
                iCl_scalar(j,C_PhiE,pix) = sqrt(ALens)*  iCl_scalar(j,C_PhiE,pix)*fourpi*ell**3*sqrt(ctnorm)
                !Cross-correlation is CTrans%ls%l^3 C_l^{\phi E}
------------------------------------------------

Thanks,

Yajing

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

Re: Modifying Alens

Post by Antony Lewis » June 23 2016

I would modify Cphil3 in lensing.f90, similar to the way it currently does for ALens_Fiducial.

yajing huang
Posts: 9
Joined: January 21 2015
Affiliation: Johns Hopkins University

Modifying Alens

Post by yajing huang » June 23 2016

Thanks for the quick reply! But I don't understand why I should modify Cphil3 instead of rescaling CTT(l) = highL_CL_template(l, C_Temp)*fac2*sc by the new Alens.

Post Reply