CAMB: matter power spectrum at multiple values of z

Use of Healpix, camb, CLASS, cosmomc, compilers, etc.
Post Reply
Adam Becker
Posts: 3
Joined: June 30 2009
Affiliation: University of Michigan

CAMB: matter power spectrum at multiple values of z

Post by Adam Becker » June 30 2009

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.

Jun-Qing Xia
Posts: 22
Joined: January 02 2005
Affiliation: SISSA, Italy

CAMB: matter power spectrum at multiple values of z

Post by Jun-Qing Xia » July 04 2009

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

Post Reply