Method

NumCosmoDistanceshift_parameter

Declaration [src]

gdouble
nc_distance_shift_parameter (
  NcDistance* dist,
  NcHICosmo* cosmo,
  const gdouble z
)

Description [src]

The shift parameter $R(z)$ is defined as \begin{equation} R(z) = \frac{\sqrt{\Omega_{m0} H_0^2}}{c} (1 + z) D_A(z) = \sqrt{\Omega_{m0}} D_t(z), \end{equation} where $\Omega_{m0}$ is the matter density paremeter [nc_hicosmo_Omega_m0()], $D_A(z) = D_{H_0} D_t(z) / (1 + z)$ is the angular diameter distance and $D_t(z)$ is the transverse comoving distance [Eq. $\eqref{eq:def:Dt}$].

Parameters

cosmo

Type: NcHICosmo

A NcHICosmo.

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

Type: const gdouble

Redshift $z$.

Return value

Type: gdouble

$R(z)$.