Method

NumCosmoWLSurfaceMassDensityreduced_shear_array

Declaration [src]

GArray*
nc_wl_surface_mass_density_reduced_shear_array (
  NcWLSurfaceMassDensity* smd,
  NcHaloDensityProfile* dp,
  NcHICosmo* cosmo,
  GArray* R,
  gdouble fin,
  gdouble fout,
  GArray* zs,
  const gdouble zl,
  const gdouble zc
)

Description [src]

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()].

Parameters

dp

Type: NcHaloDensityProfile

A NcHaloDensityProfile.

The data is owned by the caller of the method.
cosmo

Type: NcHICosmo

A NcHICosmo.

The data is owned by the caller of the method.
R

Type: An array of double

Projected radius with respect to the center of the lens / halo.

The data is owned by the caller of the method.
fin

Type: gdouble

Factor to multiply $R$, it should be $1$ or the appropriated unit conversion.

fout

Type: gdouble

Factor to multiply $g(R)$, it should be $1$ or the appropriated unit conversion.

zs

Type: An array of double

Source redshift $z_\mathrm{source}$.

The data is owned by the caller of the method.
zl

Type: const gdouble

Lens redshift $z_\mathrm{lens}$.

zc

Type: const gdouble

Cluster redshift $z_\mathrm{cluster}$.

Return value

Type: An array of double

$g(R)$.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.