wcosmo.taylor.flat_wcdm_taylor_expansion#

wcosmo.taylor.flat_wcdm_taylor_expansion(w0, zpower=0, *, xp=<module 'numpy' from '/usr/share/miniconda/envs/test/lib/python3.13/site-packages/numpy/__init__.py'>)[source]#

Taylor coefficients expansion of \(E(z)\) as as a function of \(w_0\) and an arbitrary power \(k\) of \(1 + z\).

\[F(x; w_0; k) = 2\sum_{n=0}^{\infty} \binom{-\frac{1}{2}}{n} \frac{x^n}{\left(1 - 2k - 6nw_0\right)}\]

We include terms up to \(n=16\).

Parameters:
w0: array_like

The (constant) equation of state parameter for dark energy

zpower: array_like

The power of the redshift dependence of the distance integrand (\(k\))

Returns:
array_like

The Taylor expansion coefficients.