I would like to use CAMB to calculate the two-point correlation function, so that I can compare it with the measurements given in astro-ph/0501171.
I plan to do this by taking the Fourier transform of the matter power spectrum produced by CAMB.
Please could you give the formula for the two-point correlation function in terms of the transfer function and the primordial power spectrum output by CAMB, as I would like to ensure all the conventions are consistent.
Thank you very much for your help.
CAMB: Two-point correlation function
-
- Posts: 1941
- Joined: September 23 2004
- Affiliation: University of Sussex
- Contact:
Re: CAMB: Two-point correlation function
CAMB will output the transfer_matterpower file, which is the conventional synchronous gauge matter power sepctrum (in h^-1 Mpc units). The calculation from the transfer functions and initial power spectrum is done for you (see the code in modules.f90). So you then just need to convert this to the correlation function.