2.1. embeam.wavelength

wavelength(beam_energy=80, skip_validation_and_conversion=False)[source]

Determine the relativistic electron beam wavelength from the energy of a coherent beam.

The relativistic electron beam wavelength of a coherent beam is calculated by:

(2.1.1)\[\lambda=\frac{h}{\sqrt{2m_{e}E\left(1+\frac{E}{2m_{e}c^{2}}\right)}},\]

where \(h\) is Planck’s constant, \(m_e\) is the rest mass of an electron, \(e\) is the elementary charge, \(c\) is the speed of light, and \(E\) is the beam energy.

Parameters:
beam_energyfloat, optional

The beam energy, \(E\), in units of keV. Must be positive.

skip_validation_and_conversionbool, optional

If skip_validation_and_conversion is set to False, then validations and conversions are performed on the above parameters.

Otherwise, if skip_validation_and_conversion is set to True, no validations and conversions are performed on the above parameters. This option is desired primarily when the user wants to avoid potentially expensive validation and/or conversion operations.

Returns:
wavelengthfloat

The relativistic electron beam wavelength in units of Å.