SciPy

darkhistory.physics.elec_heating_engloss_rate

darkhistory.physics.elec_heating_engloss_rate(eng, xe, rs, nBscale=1.0)

Electron energy loss rate of electrons due to Coulomb heating in eV s-1.

Parameters:
engndarray

Abscissa of electron kinetic energy.

xefloat

The free electron fraction.

rsfloat

The redshift.

nBscalefloat

The baryon number density scaling factor.

Returns:
ndarray

The energy loss rate due to heating (positive).

Notes

See 0910.4410 for the expression. The units have e^2/r being in units of energy, so to convert to SI, we insert 1/(4*pi*eps_0)^2.