CAMB scalar power spectra for different omega_lambda

Use of Cobaya. camb, CLASS, cosmomc, compilers, etc.
Post Reply
Bowen Zhao
Posts: 1
Joined: April 09 2019
Affiliation: Yale University

CAMB scalar power spectra for different omega_lambda

Post by Bowen Zhao » April 09 2019

Dear all,

I'm new to camb and new to cosmology. In one of the homework we are asked to plot l(l+1)C_l for Omega_Lambda=0.7 but with Omega_matter varying from 0.1 to 0.3. However, this seems inconsistent with camb's parameter setting. In particular, there is no direct parameter for Omega_Lambda and Omega_matter.
I tried to set ombh2=0.0, omch2=0.1, mnu=0.0, omk=0.2, which might impose Omega_Lambda=0.7 but it does not work through, I got error "camb.baseconfig.CAMBValueError: Parameter values not set".

I'm very sorry for this simple question and will very appreciate any guidance!

Thanks,
Bowen

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

Re: CAMB scalar power spectra for different omega_lambda

Post by Antony Lewis » April 10 2019

You can't have ombh2=0 as there are then no baryons in the universe (so no recombination etc.)

Post Reply