### CAMB scalar power spectra for different omega_lambda

Posted:

**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

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