pygnuastro.cosmology.proper_distance

pygnuastro.cosmology.proper_distance()

Returns the proper distance to an object at redshift z in units of Mega parsecs.

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 proper distance to an object at redshift z in units of Mega parsecs.

Return type:

float