get_refraction_corrected_wavelength#

diffsims.structure_factor.get_refraction_corrected_wavelength(phase, voltage)[source]#

Return the refraction corrected relativistic electron wavelength in Ångströms for a given crystal structure and beam energy in V.

This function is adapted from EMsoft.

Parameters:
phaseorix.crystal_map.Phase

A phase container with a crystal structure and a space and point group describing the allowed symmetry operations.

voltagefloat

Beam energy in V.

Returns:
wavelengthfloat

Refraction corrected relativistic electron wavelength in Ångströms.