NcHaloBiasPS

NcHaloBiasPS — Press-Schechter halo bias function type.

Functions

Properties

double critical-delta Read / Write / Construct Only

Object Hierarchy

    GObject
    ╰── NcHaloBias
        ╰── NcHaloBiasPS

Description

Object implementation to compute the halo bias function given the Press-Schechter mass function. A description of the mechanism is given below. Check nc_halo_bias.c for a description of halo biases and nc_multiplicity_func_ps.c for the Press-Schechter mass function.

By performing a perturbative expansion around $\delta_b$ in the Press-Schechter mass function, the bias function is deduced to be \begin{align} b(\nu) &= 1 + \frac{\nu^2 - 1}{\delta_c} , \end{align} where $b(\nu)$ is the Press-Schechter bias, $\delta_c$ is the critical threshold and $\nu = \frac{\delta_c}{\sigma}$. Also, sigma is the variance of the gaussian random field $\delta_b$, which can be computed with the density contrast power spectrum.

The user must provide input the values: NcHaloMassFunction , delta_c - nc_halo_bias_ps_new_full(). The first is the Halo mass function object and the second is a scalar threshold.

Functions

nc_halo_bias_ps_new ()

NcHaloBiasPS *
nc_halo_bias_ps_new (NcHaloMassFunction *mfp);

Creates a new NcHaloBiasPS object with undefined critical threshold.

[constructor]

Parameters

Returns

A new NcHaloBias.


nc_halo_bias_ps_new_full ()

NcHaloBiasPS *
nc_halo_bias_ps_new_full (NcHaloMassFunction *mfp,
                          gdouble delta_c);

Creates a new NcHaloBiasPS object with delta_c critical threshold.

[constructor]

Parameters

mfp

a NcHaloMassFunction

 

delta_c

Density contrast critical threshold

 

Returns

A new NcHaloBias.


nc_halo_bias_ps_set_delta_c ()

void
nc_halo_bias_ps_set_delta_c (NcHaloBiasPS *biasf_ps,
                             gdouble delta_c);

Sets the value delta_c to the “critical-delta” property.

Parameters

biasf_ps

a NcHaloBiasPS.

 

delta_c

value of “critical-delta”.

 

nc_halo_bias_ps_get_delta_c ()

gdouble
nc_halo_bias_ps_get_delta_c (const NcHaloBiasPS *biasf_ps);

Parameters

biasf_ps

a NcHaloBiasPS.

 

Returns

the value of “critical_delta” property.

Property Details

The “critical-delta” property

  “critical-delta”           double

Critical delta.

Owner: NcHaloBiasPS

Flags: Read / Write / Construct Only

Allowed values: >= 0

Default value: 1.686