Page 1 of 1

### Modifying Alens

Posted: 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 &#40;CTrans%NumSources>2&#41; then
iCl_scalar&#40;j,C_Phi,pix&#41; = ALens*iCl_scalar&#40;j,C_Phi,pix&#41;*fourpi*ell**4
!The lensing power spectrum computed is l^4 C_l^&#123;\phi\phi&#125;
!We put pix extra factors of l here to improve interpolation in CTrans%ls%l
iCl_scalar&#40;j,C_PhiTemp,pix&#41; = sqrt&#40;ALens&#41;*  iCl_scalar&#40;j,C_PhiTemp,pix&#41;*fourpi*ell**3
!Cross-correlation is CTrans%ls%l^3 C_l^&#123;\phi T&#125;
iCl_scalar&#40;j,C_PhiE,pix&#41; = sqrt&#40;ALens&#41;*  iCl_scalar&#40;j,C_PhiE,pix&#41;*fourpi*ell**3*sqrt&#40;ctnorm&#41;
!Cross-correlation is CTrans%ls%l^3 C_l^&#123;\phi E&#125;
------------------------------------------------

Thanks,

Yajing

### Re: Modifying Alens

Posted: June 23 2016
I would modify Cphil3 in lensing.f90, similar to the way it currently does for ALens_Fiducial.

### Modifying Alens

Posted: 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.