Class
NumCosmoTransferFunc
Description [src]
abstract class NumCosmo.TransferFunc : GObject.Object
{
/* No available fields */
}
Abstrac class for perturbation transfer function.
This module comprises the set of functions to compute the transfer function and derived quantities. The applied $k$ unit is $[\mathrm{Mpc}^{-1}]$.
The transfer function, $T(k)$, is defined as, \begin{equation} T(k) \equiv \frac{\hat{\delta}(k, z=0)}{\hat{\delta}(k, z=\infty)} \frac{\hat{\delta}(k=0, z=\infty)}{\hat{\delta}(k=0, z=0)} \, , \end{equation} where $\hat{\delta}(k, z)$ is the density perturbation, in Fourier space, for mode (wavenumber) $k$ at redshift $z$. By definition, we have $$ \lim_{k \rightarrow 0} T(k) \rightarrow 1 \, .$$
See [Eisenstein and Hu (1998)][XEisenstein1998] [arXiv] for more details.
Functions
nc_transfer_func_clear
Atomically decrements the reference count of tf by one. If the reference count drops to 0,
all memory allocated by tf is released. Set the pointer to NULL.
Instance methods
nc_transfer_func_eval
The transfer function tf value at mode (wavenumber)
kh (in $Mpc^{-1}$ units) with model cosmo.
nc_transfer_func_free
Atomically decrements the reference count of tf by one. If the reference count drops to 0,
all memory allocated by tf is released.
nc_transfer_func_prepare
Prepares the transfer function tf with model cosmo,
such that one can evaluate it (#nc_transfer_func_eval).
nc_transfer_func_prepare_if_needed
Prepares (if necessary) the transfer function tf with model cosmo.
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 NumCosmoTransferFuncClass {
gpointer (* alloc) (
void
);
void (* prepare) (
NcTransferFunc* tf,
NcHICosmo* cosmo
);
gdouble (* calc) (
NcTransferFunc* tf,
gdouble k
);
}
No description available.
Class members
alloc: gpointer (* alloc) ( void )No description available.
prepare: void (* prepare) ( NcTransferFunc* tf, NcHICosmo* cosmo )No description available.
calc: gdouble (* calc) ( NcTransferFunc* tf, gdouble k )No description available.
Virtual methods
NumCosmo.TransferFuncClass.prepare
Prepares the transfer function tf with model cosmo,
such that one can evaluate it (#nc_transfer_func_eval).