Press_Schechter_MF¶
Code to compute the PressSchechter mass function given Pk from CAMB, based on Komatsu’s CRL
File |
mass_function/mf_pressschechter/ps_mf_module.so |
URL |
|
Citations |
This module calculates the Press Schecter mass function given the linear matter power spectrum.
Assumptions¶
CAMB must be run to output linear matter Pk
Setup Parameters¶
Name |
Type |
Default |
Description |
---|---|---|---|
feedback |
int |
0 |
Amount of output to print. 0 for no feedback. 1 for basic. |
redshift_zero |
int |
0 |
1 outputs only z=0 function. 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¶
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) |