SciPy

main.get_tf

main.get_tf(rs, xHII, xHeII, dlnz, dep_tf_data, coarsen_factor=1)

Returns the interpolated transfer functions.

Parameters:
rsfloat

The current redshift (1+z) to obtain the functions.

xHIIfloat

The ionization fraction nHII/nH.

xHeIIfloat

The ionization fraction nHeII/nH.

dlnzfloat

The dlnz of the output transfer functions.

coarsen_factorint

The coarsening factor for the output transfer functions.

Returns:
tuple

Contains the high-energy photon, low-energy photon, low-energy electron, high-energy deposition, and if coarsening is not 1, coarsened propagating photon transfer functions.

This Page