Loading Dark energy model into CAMB

Use of Cobaya. camb, CLASS, cosmomc, compilers, etc.
Post Reply
Sibanda B
Posts: 2
Joined: April 14 2022
Affiliation: African Institute for Mathematical Sciences

Loading Dark energy model into CAMB

Post by Sibanda B » April 15 2022

Hi
I am new to CAMB, and i am trying to load the dark energy model into CAMB without success please may someone help.

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

Re: Loading Dark energy model into CAMB

Post by Antony Lewis » April 17 2022

You need to ask a more specific detailed question for someone to be able to help.

Sibanda B
Posts: 2
Joined: April 14 2022
Affiliation: African Institute for Mathematical Sciences

Re: Loading Dark energy model into CAMB

Post by Sibanda B » April 17 2022

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.

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

Re: Loading Dark energy model into CAMB

Post by Antony Lewis » April 18 2022


Post Reply