Class
NumCosmoXcorLensingEfficiency
Description [src]
abstract class NumCosmo.XcorLensingEfficiency : GObject.Object
{
/* No available fields */
}
Abstract class for computing lensing efficiency.
This class provides infrastructure for computing the lensing efficiency function: \begin{equation} g(z) = \int_z^{z_{\max}} dz’ \left(1 - \frac{\chi(z)}{\chi(z’)}\right) W_{\mathrm{src}}(z’) \end{equation} where $W_{\mathrm{src}}(z’)$ is a source weight function that must be implemented by subclasses. The integration is performed using CVODE (BDF method) to solve the equivalent ODE system: \begin{align} \frac{df}{d(-z)} &= -\frac{g}{E(z)} \ \frac{dg}{d(-z)} &= -\frac{W_{\mathrm{src}}(z)}{d_t(z)} - \Omega_{k0} \frac{f}{E(z)} \end{align} where $f(z) = g(z)$, $E(z) = H(z)/H_0$, $d_t(z)$ is the transverse comoving distance, and the integration is performed backwards from $z_{\max}$ to $z \approx 0$.
Subclasses must implement two virtual methods:
- eval_source(): returns $W_{\mathrm{src}}(z)$
- get_z_range(): returns the source redshift range
Example subclasses:
- Weak lensing: $W_{\mathrm{src}}(z) = \frac{dn}{dz}$ (source galaxy distribution)
- Galaxy magnification bias: $W_{\mathrm{src}}(z) = (5s-2) \frac{dn}{dz}$ (weighted by magnification bias parameter).
Functions
nc_xcor_lensing_efficiency_clear
If lens_eff is different from NULL, decreases the reference count of
lens_eff by one and sets lens_eff to NULL.
Instance methods
nc_xcor_lensing_efficiency_eval
Evaluates the lensing efficiency function $g(z)$ at redshift z.
The function must have been prepared first using nc_xcor_lensing_efficiency_prepare().
nc_xcor_lensing_efficiency_prepare
Prepares the lensing efficiency object by computing the $g(z)$ function. This involves solving the ODE system backwards from $z_{\max}$ to $z \approx 0$ using CVODE.
nc_xcor_lensing_efficiency_set_distance
Sets the distance object used for comoving distance computations.
Properties
NumCosmo.XcorLensingEfficiency:abstol
Absolute tolerance used when integrating the ODE. Default value: $10^{-50}$.
NumCosmo.XcorLensingEfficiency:distance
The NcDistance object used for comoving distance computations.
NumCosmo.XcorLensingEfficiency:reltol
Relative tolerance used when integrating the ODE. Default value: $10^{-13}$.
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 NumCosmoXcorLensingEfficiencyClass {
/* no available fields */
}
No description available.