dodal.devices.electron_analyser#

Classes

EnergyMode

SelectedSource

ElectronAnalyserDetector

Electron analyser detector with the additional functionality to load a sequence file and create a list of temporary ElectronAnalyserRegionDetector objects.

ElectronAnalyserRegionDetector

Extends electron analyser detector to configure specific region settings before data acqusition.

Functions

to_binding_energy(value, value_mode, ...)

Convert a value that is kinetic energy to binding energy. :type value: float :param value: The value to convert. :type value_mode: EnergyMode :param value_mode: Energy mode of the value. If it is already binding, return the same value. If it is kinetic, convert to binding. :type excitation_energy: float :param excitation_energy: Value to calculate the conversion.

to_kinetic_energy(value, value_mode, ...)

Convert a value that is binding energy to kinetic energy. :type value: float :param value: The value to convert. :type value_mode: EnergyMode :param value_mode: Energy mode of the value. If it is already kinetic, return the same value. If it is binding, convert to kinetic. :type excitation_energy: float :param excitation_energy: Value to calculate the conversion.

dodal.devices.electron_analyser.to_binding_energy(value: float, value_mode: EnergyMode, excitation_energy: float) float[source]#

Convert a value that is kinetic energy to binding energy. :type value: float :param value: The value to convert. :type value_mode: EnergyMode :param value_mode: Energy mode of the value. If it is already binding, return the

same value. If it is kinetic, convert to binding.

Parameters:

excitation_energy (float) – Value to calculate the conversion.

Return type:

float

Returns:

Caluclated binding energy value

dodal.devices.electron_analyser.to_kinetic_energy(value: float, value_mode: EnergyMode, excitation_energy: float) float[source]#

Convert a value that is binding energy to kinetic energy. :type value: float :param value: The value to convert. :type value_mode: EnergyMode :param value_mode: Energy mode of the value. If it is already kinetic, return the

same value. If it is binding, convert to kinetic.

Parameters:

excitation_energy (float) – Value to calculate the conversion.

Return type:

float

Returns:

Caluclated kinetic energy value