pygnuastro.cosmology.distance_modulus

pygnuastro.cosmology.distance_modulus()

Return the distance modulus at redshift z (with no units).

Parameters:
  • z (float) – Redshift

  • H0 (float/None) – Hubble constant in units of km/sec/Mpc

  • olambda (float/None) – Cosmological Constant

  • omatter (float/None) – Matter Density

  • oradiation (float/None) – Radiation Density

Returns:

The critical density at redshift z in units of g/cm3.

Return type:

float