Method

NumCosmoDistancedmodulus_hef

Declaration [src]

gdouble
nc_distance_dmodulus_hef (
  NcDistance* dist,
  NcHICosmo* cosmo,
  const gdouble z_he,
  const gdouble z_cmb
)

Description [src]

Calculate the distance modulus [Eq. $\eqref{eq:def:dmu}$] using the frame corrected luminosity distance [nc_distance_luminosity_hef()].

Parameters

cosmo

Type: NcHICosmo

A NcHICosmo.

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

Type: const gdouble

Redshift $z_{he}$ in our local frame.

z_cmb

Type: const gdouble

Redshift $z_{CMB}$ in the CMB frame.

Return value

Type: gdouble

$\delta\mu(z_{hef},z_{CMB})$.