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
Halofit_ppf
-
- Posts: 27
- Joined: September 07 2016
- Affiliation: university of notre dame
-
- Posts: 1943
- Joined: September 23 2004
- Affiliation: University of Sussex
- Contact:
Re: Halofit_ppf
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.
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)