CAMB: calculating multiple transfer functions with different redshifts

Use of Cobaya. camb, CLASS, cosmomc, compilers, etc.
Post Reply
Anais Rassat
Posts: 24
Joined: October 20 2004
Affiliation: LASTRO (EPFL)
Contact:

CAMB: calculating multiple transfer functions with different

Post by Anais Rassat » July 16 2008

Hi,
In CAMB params.ini file there is the option to chose the following:

transfer_num_redshifts = 2

I interpret this as the number of transfer functions I want to calculate, each at a different redshift. I then also set this:

transfer_redshift(1) = 0
transfer_redshift(2) = 0.5
transfer_filename(1) = transfer_out.dat
transfer_filename(2) = transfer_out2.dat

And hope to obtain two outputs, i.e. T(k) at two redshifts. This is the error I get:

STOP Transfer redshifts not set or out of order

Does anyone know how to do what I am trying? Cheers, Anais.

Anze Slosar
Posts: 183
Joined: September 24 2004
Affiliation: Brookhaven National Laboratory
Contact:

CAMB: calculating multiple transfer functions with different

Post by Anze Slosar » July 16 2008

Try :

transfer_redshift(1) = 0.5
transfer_redshift(2) = 0.

instead (note different order).

Anais Rassat
Posts: 24
Joined: October 20 2004
Affiliation: LASTRO (EPFL)
Contact:

CAMB: calculating multiple transfer functions with different

Post by Anais Rassat » July 17 2008

Thanks Anze, that works.

Post Reply