CosmoCoffee Forum Index CosmoCoffee

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

Halofit_ppf
 
Post new topic   Reply to topic    CosmoCoffee Forum Index -> Computers and software
View previous topic :: View next topic  
Author Message
Nishanth Sasankan



Joined: 07 Sep 2016
Posts: 27
Affiliation: university of notre dame

PostPosted: April 30 2018  Reply with quote

Hi ,

I can make CAMB run with a tabulated (w,a) , by modifying equations_ppf according to some documentations. Is it necessary to modify Halofit_ppf before I run CAMB with the tabulated (w,a)? Or can I ignore it?

Thanks
Nishanth
Back to top
View user's profile  
Antony Lewis



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

PostPosted: May 01 2018  Reply with quote

The devel branch on github has a tidied up python interface to setting tabulated w, and will pass an effective w(0) to halofit (which is only approximate of course, but probably about as good as you can do without properly calibrating the non-linear model for your specific dark energy model).

e.g.
Code:

    a=np.logspace(-4,0,5000)
    w=wde(a)
    pars = camb.CAMBparams()
    pars.set_cosmology(H0=67.5, ombh2=0.022, omch2=0.122)
    pars.set_dark_energy_w_a(a,w,dark_energy_model='ppf')
    results = camb.get_results(pars)
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.