Page 1 of 1

Loading Dark energy model into CAMB

Posted: April 15 2022
by Sibanda B
Hi
I am new to CAMB, and i am trying to load the dark energy model into CAMB without success please may someone help.

Re: Loading Dark energy model into CAMB

Posted: April 17 2022
by Antony Lewis
You need to ask a more specific detailed question for someone to be able to help.

Re: Loading Dark energy model into CAMB

Posted: April 17 2022
by Sibanda B
Thank you for getting back to me. When using CAMB for python I am able to change the values for the parameters given below:

#Set up a new set of parameters for CAMB
pars = camb.CAMBparams()
#This function sets up CosmoMC-like settings, with one massive neutrino and helium set using BBN consistency
pars.set_cosmology(H0=67.5, ombh2=0.022, omch2=0.122, mnu=0.06, omk=0, tau=0.06)
pars.InitPower.set_params(As=2e-9, ns=0.965, r=0)
pars.set_for_lmax(2500, lens_potential_accuracy=0);

However the parameter that i want to vary is w, which is the equation of state. From the CAMB python code i seem not to find w from the parameters. Thank you.

Re: Loading Dark energy model into CAMB

Posted: April 18 2022
by Antony Lewis