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:
  • phase (orix.crystal_map.Phase) – A phase container with a crystal structure and a space and point group describing the allowed symmetry operations.

  • voltage (float) – Beam energy in V.

Returns:

wavelength – Refraction corrected relativistic electron wavelength in Ångströms.

Return type:

float