dodal.devices.electron_analyser.base#
Classes
Detector for data acquisition of electron analyser. |
|
Driver device that defines signals and readables that should be common to all electron analysers. |
|
Generic region model that holds the data. |
|
Generic sequence model that holds the list of region data. |
|
alias of |
|
alias of |
|
Provides a signal to read energy depending on which source is selected. |
Functions
|
Convert a value that is kinetic energy to binding energy. |
|
Convert a value that is binding energy to kinetic energy. |
- dodal.devices.electron_analyser.base.to_binding_energy(value: float, value_mode: EnergyMode, excitation_energy: float) float[source]#
Convert a value that is kinetic energy to binding energy.
- Parameters:
value (float) – The value to convert.
value_mode (EnergyMode) – Energy mode of the value. If it is already binding, return the same value. If it is kinetic, convert to binding.
excitation_energy (float) – Value to calculate the conversion.
- Returns:
Caluclated binding energy value.
- Return type:
- dodal.devices.electron_analyser.base.to_kinetic_energy(value: float, value_mode: EnergyMode, excitation_energy: float) float[source]#
Convert a value that is binding energy to kinetic energy.
- Parameters:
value (float) – The value to convert.
value_mode (EnergyMode) – Energy mode of the value. If it is already kinetic, return the same value. If it is binding, convert to kinetic.
excitation_energy (float) – Value to calculate the conversion.
- Returns:
Caluclated kinetic energy value.
- Return type: