Page 1 of 1

CAMB: matter power spectrum at multiple values of z

Posted: June 30 2009
by Adam Becker
It looks like it's possible to get CAMB to output the matter power spectrum at different values of z, but I can't quite figure out how to do it. I'm just getting started with this code -- can anyone help me out? Much appreciated.

CAMB: matter power spectrum at multiple values of z

Posted: July 04 2009
by Jun-Qing Xia
In the params.ini, you will find:

transfer_high_precision = F
transfer_kmax = 2
transfer_k_per_logint = 0
transfer_num_redshifts = 1
transfer_interp_matterpower = T
transfer_redshift(1) = 0
transfer_filename(1) = transfer_out.dat
#Matter power spectrum output against k/h in units of h^{-3} Mpc^3
transfer_matterpower(1) = matterpower.dat

you can change transfer_num_redshifts and transfer_redshift(1) to output the matter power spectrum at different values of z.

Junqing