wcosmo.wcosmo.inv_efunc#

wcosmo.wcosmo.inv_efunc(z, Om0, w0=-1)[source]#

Compute the inverse of the E(z) function for a flat wCDM cosmology.

Parameters:
z: array_like

Redshift

Om0: array_like

The matter density fraction

w0: array_like

The (constant) equation of state parameter for dark energy

Returns:
inv_efunc: array_like

The inverse of the E(z) function