dodal.devices.electron_analyser.base.ElectronAnalyserController#
- class dodal.devices.electron_analyser.base.ElectronAnalyserController[source]#
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.
- Parameters:
driver (
TypeVar(TAbstractAnalyserDriverIO, bound=AbstractAnalyserDriverIO))energy_source (
AbstractEnergySource)deadtime (
float)image_mode (
ADImageMode, default:<ADImageMode.SINGLE: 'Single'>)driver – The electron analyser driver to wrap around that holds the PV’s.
energy_source – Device that holds the excitation energy and ability to switch between sources.
deadtime – For a given exposure, what is the safest minimum time between exposures that can be determined without reading signals.
image_mode – The image mode to configure the driver with before measuring.
Methods
prepare(trigger_info)Do all necessary steps to prepare the detector for triggers.
setup_with_region(region)Logic to set the driver with a region.
- async setup_with_region(region: TAbstractBaseRegion)[source]#
Logic to set the driver with a region.
- Parameters:
region (
TypeVar(TAbstractBaseRegion, bound=AbstractBaseRegion))