inv_E

zdm.cosmology.inv_E(z)[source]

Inverse of dimensionless Hubble parameter, 1/E(z).

Used as integrand for computing comoving distance.

Parameters:

z (float) – Redshift.

Returns:

1/E(z), where E(z) is the dimensionless Hubble parameter.

Return type:

float