Halofit_ppf

Use of Healpix, camb, CLASS, cosmomc, compilers, etc.
Post Reply
Nishanth Sasankan
Posts: 27
Joined: September 07 2016
Affiliation: university of notre dame

Halofit_ppf

Post by Nishanth Sasankan » April 30 2018

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

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

Re: Halofit_ppf

Post by Antony Lewis » May 01 2018

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: Select all

    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)

Post Reply