Class

NumCosmoMultiplicityFuncCastro

Description [src]

final class NumCosmo.MultiplicityFuncCastro : NumCosmo.MultiplicityFunc
{
  /* No available fields */
}

Dark matter halo — Castro multiplicity function.

Non-universal multiplicity function calibrated on spherical-overdensity virial masses. Unlike the universal fits, its shape parameters depend on the local slope of the variance, $\mathrm{d}\ln\sigma_R/\mathrm{d}\ln R$, and on $\Omega_m(z)$, so the object needs the filtered power spectrum in addition to $\sigma_R$ itself; see nc_multiplicity_func_set_psf(). A NcHaloMassFunction injects its own filter automatically.

Two calibrations are available through the NcMultiplicityFuncCastro:model property. They share the whole coefficient structure but are distinct fits, so the dynamical dark energy one does not reduce to the other when its dark energy term vanishes. Both amplitudes are exact normalisations, $\int f(\nu)\, \mathrm{d}\nu/\nu = 1$.

See the Castro Halo Mass Function and Bias theory page for the full expressions, and Castro et al. (2023) and Castro et al. (2025).

Constructors

nc_multiplicity_func_castro_new

Creates a new NcMultiplicityFuncCastro with the Castro et al. (2023) calibration and ROCKSTAR parameters.

nc_multiplicity_func_castro_new_full

Creates a new NcMultiplicityFuncCastro using model and halo_finder.

Functions

nc_multiplicity_func_castro_clear

Atomically decrements the reference count of mc by one. If the reference count drops to 0, all memory allocated by mc is released. Set the pointer to NULL.

Instance methods

nc_multiplicity_func_castro_delta_c

Linear collapse threshold $\delta_c(\Omega_m(z))$ following Kitayama & Suto (1996), as used by the Castro calibrations.

nc_multiplicity_func_castro_eval_full

Evaluates the multiplicity function with the slope supplied directly instead of taken from the filter. The model is a closed-form function of sigma, dlnsigma_dlnR and the background at z, so this is the whole of it: no filter is consulted and no interpolation is involved.

nc_multiplicity_func_castro_eval_lnf

Logarithm of the multiplicity function, computed without ever forming the function itself.

nc_multiplicity_func_castro_free

Atomically decrements the reference count of mc by one. If the reference count drops to 0, all memory allocated by mc is released.

nc_multiplicity_func_castro_get_halo_finder

Gets the halo finder in use.

nc_multiplicity_func_castro_get_model

Gets the calibration in use.

nc_multiplicity_func_castro_ref

Increases the reference count of mc by one.

nc_multiplicity_func_castro_set_halo_finder

Sets the halo finder whose best-fit parameters are used. Ignored by

NC_MULTIPLICITY_FUNC_CASTRO_MODEL_C25, which has a single parameter set.

nc_multiplicity_func_castro_set_model

Sets the calibration to evaluate.

nc_multiplicity_func_castro_z_ta

Turn-around redshift for a halo collapsing at z, in the Einstein-de Sitter approximation used by the calibration, $1 + z_\mathrm{ta} = (1+z)\,2^{2/3}$.

Methods inherited from NcMultiplicityFunc (11)
nc_multiplicity_func_correction_factor

Computes the correction factor for the multiplicity function. Some multiplicity functions require mass-dependent corrections.

nc_multiplicity_func_eval

Evaluates the multiplicity function $f(\sigma, z)$ at the given variance sigma and redshift z. The filter radius lnR identifies the scale at which sigma was evaluated; non-universal models use it to query further properties of the filtered power spectrum, such as the slope $\mathrm{d}\ln\sigma_R/\mathrm{d}\ln R$. Universal models ignore it.

nc_multiplicity_func_free

Atomically decrements the reference count of mulf by one. If the reference count drops to 0, all memory allocated by mulf is released.

nc_multiplicity_func_get_Delta

Gets the Delta Value.

nc_multiplicity_func_get_matter_Delta

Gets the Delta Value with the matter density definition.

nc_multiplicity_func_get_mdef

Gets the mass definition.

nc_multiplicity_func_has_correction_factor

Checks if the multiplicity function has a correction factor, e.g., NcMultiplicityFuncBocquet (when using matter density).

nc_multiplicity_func_peek_psf

Gets the filtered power spectrum, or NULL when none was set.

nc_multiplicity_func_set_Delta

Sets the Delta for mean or matter mass definition to mdef.

nc_multiplicity_func_set_mdef

Sets the mass definition to mdef.

nc_multiplicity_func_set_psf

Sets the filtered power spectrum used by non-universal multiplicity functions. It must be the same filter that provides the sigma passed to nc_multiplicity_func_eval(), otherwise the two are evaluated on inconsistent power spectra.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

NumCosmo.MultiplicityFuncCastro:halo-finder

Halo finder whose best-fit parameters are used. Only

NC_MULTIPLICITY_FUNC_CASTRO_MODEL_C23 has per-finder calibrations; the

Castro et al. (2025) model provides a single parameter set and ignores this property. See NcMultiplicityFuncCastroHaloFinder.

NumCosmo.MultiplicityFuncCastro:model

Calibration to evaluate, see NcMultiplicityFuncCastroModel.

Properties inherited from NcMultiplicityFunc (3)
NumCosmo.MultiplicityFunc:Delta
No description available.

NumCosmo.MultiplicityFunc:mass-def

It refers to the halo finder used to obtain the multiplicity function (e.g., SO and FoF), and the background density $\rho_\mathrm{bg}$ used in the mass definition \eqref{eq:mrr}. See the enumerator NcMultiplicityFuncMassDef for more details about the background density definition.

NumCosmo.MultiplicityFunc:powerspectrum-filtered

The filtered power spectrum used to obtain quantities beyond $\sigma_R$ itself, such as the slope $\mathrm{d}\ln\sigma_R/\mathrm{d}\ln R$ required by non-universal multiplicity functions. Universal models leave it unset.

Signals

Signals inherited from GObject (1)
GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

Class structure

struct NumCosmoMultiplicityFuncCastroClass {
  NcMultiplicityFuncClass parent_class;
  
}

No description available.

Class members
parent_class: NcMultiplicityFuncClass

No description available.