dodal.devices.electron_analyser.base#
Classes
Specialised controller for the electron analysers to provide additional setup logic such as selecting the energy source to use from requested region and giving the driver the correct region parameters. |
|
Detector for data acquisition of electron analyser. |
|
Electron analyser detector with the additional functionality to load a sequence file and create a list of temporary ElectronAnalyserRegionDetector objects. |
|
Extends electron analyser detector to configure specific region settings before data acquisition. |
|
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 |
|
Abstract device that wraps an energy source signal and provides common interface via a energy signal. |
|
Holds two EnergySource devices and provides a signal to read energy depending on which source is selected. |
|
Wraps a signal that relates to energy and provides common interface via energy signal. |
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: