pygnuastro.cosmology.velocity_from_z

pygnuastro.cosmology.velocity_from_z()

Return the velocity (in km/s) corresponding to the given redshift (z).

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 velocity (in km/s) corresponding to the given redshift (z).

Return type:

float