SciPy

darkhistory.history.tla.compton_cooling_rate

darkhistory.history.tla.compton_cooling_rate(xHII, xHeII, xHeIII, T_m, rs)

Returns the Compton cooling rate.

Parameters:
xHIIfloat

n_HII/n_H.

xHeIIfloat

n_HeII/n_H.

xHeIIIfloat

n_HeIII/n_H.

T_mfloat

The matter temperature.

rsfloat

The redshift in 1+z.

Returns:
float

The Compton cooling rate in eV/s.

Notes

This is the energy loss rate, not the temperature loss rate.