Good evening,
I couldn't find this topic anywhere else, sorry if it has already been discussed.
I am using CAMB version August 2018. I want to compute the linear matter power spectrum in a w0-wa cosmology.
This is possible by compiling with "EQUATIONS=equations_ppf" and then set 'w' and 'wa' parameters in the paramfile.
I don't see how I can do it from the Python wrapper. I only found the routine "camb.model.set_dark_energy()", which can only deal with a constant parameter of state (i.e. I can set w0 to any value I want but wa=0 default). Is it possible in fact?
Thanks,
Gabriele
evolving dark energy in camb python
-
- Posts: 2
- Joined: May 17 2018
- Affiliation: SISSA
-
- Posts: 1944
- Joined: September 23 2004
- Affiliation: University of Sussex
- Contact:
Re: evolving dark energy in camb python
Use the "devel" branch of camb on github, this has full python support for switching dark energy models and setting general $w(z)$, see the docs.