SciPy

darkhistory.electrons.ics.nonrel_diff_terms.H_and_G

darkhistory.electrons.ics.nonrel_diff_terms.H_and_G(beta, photeng, T, as_pairs=False)

Computes the H and G term.

This term is used in the beta expansion method for computing the nonrelativistic ICS spectrum.

Parameters:
beta : ndarray

Velocity of the electron.

photeng : ndarray

Secondary photon energy.

T : float

CMB temperature

as_pairs : bool, optional

If true, treats eleceng and photeng as a paired list: produces eleceng.size == photeng.size values. Otherwise, gets the spectrum at each photeng for each eleceng, returning an array of length eleceng.size*photeng.size.

Returns:
ndarray

The H and G term.

Previous topic

darkhistory.electrons.ics.nonrel_diff_terms

Next topic

darkhistory.electrons.ics.nonrel_diff_terms.Q

This Page