CosmoCoffee Forum Index CosmoCoffee

 
 FAQFAQ   SearchSearch  MemberlistSmartFeed   MemberlistMemberlist    RegisterRegister 
   ProfileProfile   Log inLog in 
Arxiv New Filter | Bookmarks & clubs | Arxiv ref/author:

Modifying Alens
 
Post new topic   Reply to topic    CosmoCoffee Forum Index -> Computers and software
View previous topic :: View next topic  
Author Message
yajing huang



Joined: 21 Jan 2015
Posts: 8
Affiliation: Johns Hopkins University

PostPosted: June 23 2016  Reply with quote

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:
            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
Back to top
View user's profile  
Antony Lewis



Joined: 23 Sep 2004
Posts: 1293
Affiliation: University of Sussex

PostPosted: June 23 2016  Reply with quote

I would modify Cphil3 in lensing.f90, similar to the way it currently does for ALens_Fiducial.
Back to top
View user's profile [ Hidden ] Visit poster's website
yajing huang



Joined: 21 Jan 2015
Posts: 8
Affiliation: Johns Hopkins University

PostPosted: June 23 2016  Reply with quote

Thanks for the quick reply! But I don't understand why I should modify Cphil3 instead of rescaling CTT(l) = highL_CL_template(l, CTemp)*fac2*sc by the new Alens.
Back to top
View user's profile  
Display posts from previous:   
Post new topic   Reply to topic    CosmoCoffee Forum Index -> Computers and software All times are GMT + 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group. Sponsored by WordWeb online dictionary and dictionary software.