constants#

Define universal constants and physical relation functions.

tike.constants.complex_amplitude(probe_grid)[source]#

Amplitude of the complex probe wave.

tike.constants.complex_intensity(probe_grid)[source]#

Intensity of the complex wave.

tike.constants.complex_phase(probe_grid)[source]#

Phase of the complex probe wave.

tike.constants.sum_square_norm(x, N=1)[source]#

Return x normalized such that the sum of squares of x equals N.

tike.constants.wavelength(energy)[source]#

Return the wavelength [cm] for a given energy [keV].

tike.constants.wavenumber(energy)[source]#

Return the wavenumber [1/cm] given energy [keV].