Class
NumCosmoWLSurfaceMassDensity
Description [src]
class NumCosmo.WLSurfaceMassDensity : NumCosmoMath.Model
{
/* No available fields */
}
Weak lensing surface mass density.
This object implements the projected surface mass density and related
weak-lensing observables — convergence and tangential shear — from a halo
density profile (NcHaloDensityProfile). The projected surface mass density is
\begin{equation}
\Sigma(R) = \int \mathrm{d}\chi\,\rho!\left(\sqrt{R^2 + \chi^2}\right),
\end{equation}
and the convergence and shear follow as $\kappa = \Sigma/\Sigma_\mathrm{crit}$
and $\gamma = \Delta\Sigma/\Sigma_\mathrm{crit}$, with $\Sigma_\mathrm{crit}$
the critical surface density set by the lens/source geometry (NcDistance).
For the full definitions, the mean surface density, and the critical surface density, see the theoretical background page: Weak-Lensing Surface Mass Density.
Usually $z_\mathrm{lens} = z_\mathrm{cluster}$, but these are kept as separate arguments to handle cases where the shear signal has been rescaled to a different cluster redshift (following D. Applegate’s code).
Constructors
nc_wl_surface_mass_density_new
This function allocates memory for a new NcWLSurfaceMassDensity object and sets its properties to the values from
the input arguments.
Functions
nc_wl_surface_mass_density_clear
Atomically decrements the reference count of smd by one. If the reference count drops to 0,
all memory allocated by smd is released. Set pointer to NULL.
nc_wl_surface_mass_density_reduced_shear_cache
Computes the reduced shear: $$ g(R) = \frac{\gamma(R)}{1 - \kappa(R)},$$ where $\gamma(R)$ is the shear [nc_wl_surface_mass_density_shear()] and $\kappa(R)$ is the convergence [nc_wl_surface_mass_density_convergence()], using the pre-computed critical surface density and surface mass density.
nc_wl_surface_mass_density_reduced_shear_optzs_prep_with_lens_ctx
Variant of #nc_wl_surface_mass_density_reduced_shear_optzs_prep() that reuses a pre-computed lens-side context and pre-computed (r_s, rho_s). Only the per-R surface-mass-density profile evaluations are computed per call.
nc_wl_surface_mass_density_reduced_shear_sigma_cache_prep
Computes and stores the surface mass density $\Sigma(R)$ and the mean surface mass density $\overline{\Sigma}(<R)$, see Eqs. $\eqref{eq:sigma}$ and $\eqref{eq:sigma_mean}$.
Instance methods
nc_wl_surface_mass_density_convergence
Computes the convergence $\kappa(R)$ at R, see Eq $\eqref{eq:convergence}$.
nc_wl_surface_mass_density_convergence_infinity
Computes the convergence $\kappa_\infty(R)$ at R, see Eq $\eqref{eq:convergence}$, and sources at infinite redshift.
nc_wl_surface_mass_density_free
Atomically decrements the reference count of smd by one. If the reference count drops to 0,
all memory allocated by smd is released.
nc_wl_surface_mass_density_magnification
Computes the reduced shear: $$ \mu(R) = \frac{1}{(1 - \kappa(R))^2 - \vert\gamma^2(R) \vert},$$ where $\gamma(R)$ is the shear [nc_wl_surface_mass_density_shear()] and $\kappa(R)$ is the convergence [nc_wl_surface_mass_density_convergence()].
nc_wl_surface_mass_density_prepare_if_needed
Prepares the NcWLSurfaceMassDensity object smd for computation if necessary.
nc_wl_surface_mass_density_reduced_shear
Computes the reduced shear: $$ g(R) = \frac{\gamma(R)}{1 - \kappa(R)},$$ where $\gamma(R)$ is the shear [nc_wl_surface_mass_density_shear()] and $\kappa(R)$ is the convergence [nc_wl_surface_mass_density_convergence()].
nc_wl_surface_mass_density_reduced_shear_array
Computes the reduced shear: $$ g(R) = \frac{\gamma(R)}{1 - \kappa(R)},$$ where $\gamma(R)$ is the shear [nc_wl_surface_mass_density_shear()] and $\kappa(R)$ is the convergence [nc_wl_surface_mass_density_convergence()].
nc_wl_surface_mass_density_reduced_shear_array_equal
Computes the reduced shear: $$ g(R) = \frac{\gamma(R)}{1 - \kappa(R)},$$ where $\gamma(R)$ is the shear [nc_wl_surface_mass_density_shear()] and $\kappa(R)$ is the convergence [nc_wl_surface_mass_density_convergence()].
nc_wl_surface_mass_density_reduced_shear_crit_cache_prep
Computes and stores the critical surface density.
nc_wl_surface_mass_density_reduced_shear_crit_cache_prep_with_lens_ctx
Variant of #nc_wl_surface_mass_density_reduced_shear_crit_cache_prep() that reuses a pre-computed lens-side context. Only the source-side comoving distance and curvature transform are computed per call.
nc_wl_surface_mass_density_reduced_shear_infinity
Computes the reduced shear assuming a lensed source at infinite redshift: $$ g(R) = \frac{\beta_s(zb)\gamma(R)}{1 - \beta_s(zb) \kappa(R)}, $$ where $\gamma(R)$ is the shear [nc_wl_surface_mass_density_shear()], $\kappa(R)$ is the convergence [nc_wl_surface_mass_density_convergence()], $z_b$ is the background-galaxy redshift and $$\beta_s = \frac{D_s}{D_l D_{ls}} \frac{D_\infty}{D_l D_{l\infty}}.$$ See Applegate (2014).
nc_wl_surface_mass_density_reduced_shear_optzs
Computes the reduced shear: $$ g(R) = \frac{\gamma(R)}{1 - \kappa(R)},$$ where $\gamma(R)$ is the shear [nc_wl_surface_mass_density_shear()] and $\kappa(R)$ is the convergence [nc_wl_surface_mass_density_convergence()].
nc_wl_surface_mass_density_reduced_shear_optzs_prep
Computes the reduced shear: $$ g(R) = \frac{\gamma(R)}{1 - \kappa(R)},$$ where $\gamma(R)$ is the shear [nc_wl_surface_mass_density_shear()] and $\kappa(R)$ is the convergence [nc_wl_surface_mass_density_convergence()].
nc_wl_surface_mass_density_shear_infinity
Computes the shear $\gamma_\infty (R)$ at R, see Eq $\eqref{eq:shear}$, and source at infinite redshift.
nc_wl_surface_mass_density_sigma
Computes the surface mass density at R, see Eq. $\eqref{eq:sigma}$.
nc_wl_surface_mass_density_sigma_array
Computes the surface mass density at R, see Eq. $\eqref{eq:sigma}$.
nc_wl_surface_mass_density_sigma_critical
Computes the critical surface density, \begin{equation}\label{eq:def:SigmaC} \Sigma_c = \frac{c^2}{4\pi G} \frac{D_s}{D_l D_{ls}}, \end{equation} where $c^2$ is the speed of light squared [ncm_c_c2 ()], $G$ is the gravitational constant in units of $m^3/s^2 M_\odot^{-1}$ [ncm_c_G_mass_solar()], $D_s$ ($D_l$) is the angular diameter distance from the observer to the source (lens), and $D_{ls}$ is the angular diameter distance between the lens and the source.
nc_wl_surface_mass_density_sigma_critical_infinity
Computes the critical surface density, \begin{equation}\label{eq:def:SigmaC} \Sigma_c = \frac{c^2}{4\pi G} \frac{D_\infty}{D_l D_{l\infty}}, \end{equation} where $c^2$ is the speed of light squared [ncm_c_c2 ()], $G$ is the gravitational constant in units of $m^3/s^2 M_\odot^{-1}$ [ncm_c_G_mass_solar()], $D_\infty$ ($D_l$) is the angular diameter distance from the observer to the source at infinite redshift (lens), and $D_{l\infty}$ is the angular diameter distance between the lens and the source.
nc_wl_surface_mass_density_sigma_excess
Computes difference between the mean surface mass density inside the circle with radius R (Eq. $\eqref{eq:sigma_mean}$) and the surface mass density at R (Eq. $\eqref{eq:sigma}$).
nc_wl_surface_mass_density_sigma_excess_array
Computes difference between the mean surface mass density inside the circle with radius R (Eq. $\eqref{eq:sigma_mean}$) and the surface mass density at R (Eq. $\eqref{eq:sigma}$).
nc_wl_surface_mass_density_sigma_mean
Computes the mean surface mass density inside the circle with radius R, Eq. $\eqref{eq:sigma_mean}$.
Properties
NumCosmo.WLSurfaceMassDensity:Roff
Scale length of the miscentering probability distribution. Scale length of the miscentering probability distribution (units: Mpc).
Properties inherited from NcmModel (9)
NumCosmoMath.Model:implementation
NumCosmoMath.Model:name
NumCosmoMath.Model:nick
NumCosmoMath.Model:params-types
NumCosmoMath.Model:reparam
NumCosmoMath.Model:scalar-params-len
NumCosmoMath.Model:sparam-array
NumCosmoMath.Model:submodel-array
NumCosmoMath.Model:vector-params-len
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.