CosmoCoffee Forum Index CosmoCoffee

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

pycamb & halofit
 
Post new topic   Reply to topic    CosmoCoffee Forum Index -> Computers and software
View previous topic :: View next topic  
Author Message
Gabriele Parimbelli



Joined: 17 May 2018
Posts: 1
Affiliation: SISSA

PostPosted: May 17 2018  Reply with quote

Goof afternoon,

I am currently using the Python wrapper of the camb version of August 2017. There is a thing that from the documentation is not clear (at least to me): in the function camb.get_matter_power_spectrum there's written "If NonLinear is set, the result is non-linear".
If I ask for, let's say, the non-linear Pcdm(k), without neutrinos, what does the routine do?
Does it apply HALOFIT to the total matter and then only returns the cdm part? i.e.
HF[Plinear_m(k)] —> non-linear Pcdm(k)

or it applies HALOFIT directly to the linear cdm power spectrum? i.e.
HF[Plinear_cdm(k)] —> non-linear Pcdm(k)

If something in my question is not clear, please tell me
Thanks a lot
Gabriele
Back to top
View user's profile  
Antony Lewis



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

PostPosted: May 18 2018  Reply with quote

Good question. It calls Halofit with the default variable linear spectrum (total density perturbation inc. neutrinos), it then takes the ratio to the linear spectrum. It then calculates the requested spectrum and scales it by this ratio.
Back to top
View user's profile [ Hidden ] Visit poster's website
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.