pygnuastro.cosmology.age

pygnuastro.cosmology.age()

Returns the age of the universe at redshift z in units of Giga years.

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 age of the universe at redshit z in units of Giga years.

Return type:

float