atompy.physics.compton_scattering.stretch_Compton_electron_onto_sphere#

atompy.physics.compton_scattering.stretch_Compton_electron_onto_sphere(pe_shifted, kout, kin_mag_au)[source]#

The final electron momentum is not on a perfect sphere since the photon loses energy in the scattering process. Stretch the electron momenta to offset this energy loss

Parameters:
peVector

shape (N, 3), the electron momenta after the scattering process

koutVector

shape (N, 3), the corresponding distribution of photon momenta

kin_mag_aufloat

momentum of the incoming photon. The incoming photon is assumed to be along x

Returns:
vectorsVector

The new electron momentum distribution

Notes

Calculates the energy loss of the photon depending on the scattering angle. Then stretches the electron momenta corresponding to that energy loss