CAMB: CMB Power Spectrum at different redshifts

Use of Cobaya. camb, CLASS, cosmomc, compilers, etc.
Post Reply
Siavash Yasini
Posts: 1
Joined: March 15 2015
Affiliation: USC

CAMB: CMB Power Spectrum at different redshifts

Post by Siavash Yasini » March 15 2015

Hi,

I'm trying to obtain the CMB power spectrum at redshifts close to zero (e.g. 0.1, 0.2, ...). I was wondering if there's a way to set the final redshift for integration to a specific number and stop the code there rather than at z=0 and get the C_l s as output.

I've been trying to do this by modifying modules.f90. Under subroutine CAMBParams_Set when I change the argument of CP%tau0=TimeOfz(0._dl) to different numbers I get different C_l s that physically make sense, but I'm not sure if this is the correct way to do it, or if I should change other parameters as well.

Thanks

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

Re: CAMB: CMB Power Spectrum at different redshifts

Post by Antony Lewis » March 16 2015

I think you can do it by just modifying the inputs. e.g. use values of the input parameters that they would have had at the redshift that you want to calculate.

Post Reply