Tinker_MF

Code to compute the Tinker et al. mass function given Pk from CAMB, based on Komatsu’s CRL

File

mass_function/mf_tinker/tinker_mf_module.so

URL

http://www.mpa-garching.mpg.de/~komatsu/crl/

Citations

http://www.mpa-garching.mpg.de/~komatsu/crl/

Tinker et al 2008

This module calculates the Tinker et al. mass function given the linear matter power spectrum.

Assumptions

  • Tinker mass function

  • Require P(k,z) from CAMB or otherwise

Setup Parameters

Name

Type

Default

Description

feedback

int

0

Amount of output to print. 0 for no feedback. 1 for basic.

redshift_0

int

0

1 outputs only z=0 mf. 0 outputs mass functions for each Pk in datablock

Input values

Section

Name

Type

Default

Description

matter_power_lin

k

real 1d

Sample values of linear spectrum in Mpc/h

z

real 1d

Redshift of linear spectrum samples

P

real 2d

Linear spectrum in (Mpc/h)^{-3}

Output values

Output values

Section

Name

Type

Description

mass_function

r_h

real 1d

R in (h^-1 Mpc)

m_h

real 1d

Mass in (omega_matter h^-1 M_solar)

dndlnrh

real 2d

Dn/dlnRh (h^3 Mpc^-3)

dndlnmh

real 2d

Dn/dlnMh (h^3 Mpc^-3)