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 (TAbstractAnalyserDriverIO) – The electron analyser driver to wrap around that holds the PV’s.
energy_source (AbstractEnergySource) – Device that holds the excitation energy and ability to switch between sources.
deadtime (float, optional) – For a given exposure, what is the safest minimum time between exposures that can be determined without reading signals.
image_mode (ADImageMode, optional) – The image mode to configure the driver with before measuring.
shutter (
FastShutter|None, default:None)source_selector (
SourceSelector|None, default:None)
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) None[source]#
Logic to set the driver with a region.
- Parameters:
region (
TypeVar(TAbstractBaseRegion, bound=AbstractBaseRegion))- Return type: