Skip to content

Working with physical units¤

Here, convenience methods for working with physical units are described.

cryojax.constants.convert_keV_to_angstroms(energy_in_keV: Float[Array, ''] | float) -> Float[Array, ''] ¤

Get the relativistic electron wavelength at a given accelerating voltage. For reference, see Equation 2.5 in Section 2.1 from Spence, John CH. High-resolution electron microscopy. OUP Oxford, 2013..

Arguments:

  • energy_in_keV: The energy in kiloelectron volts.

Returns:

The relativistically corrected electron wavelength in Angstroms corresponding to the energy energy_in_keV.