ophyd_async.epics.adsimdetector#
Support for the SimDetector areaDetector driver.
https://github.com/areaDetector/ADSimDetector.
Module Contents#
Classes#
Create an ADSimDetector AreaDetector instance. |
|
Trigger logic for ADSimDetector. |
API#
- class ophyd_async.epics.adsimdetector.SimDetector(prefix: str, path_provider: PathProvider | None = None, driver_suffix='cam1:', writer_type: ADWriterType | None = ADWriterType.HDF, writer_suffix: str | None = None, plugins: dict[str, NDPluginBaseIO] | None = None, config_sigs: Sequence[SignalR] = (), name: str = '')[source]#
Bases:
ophyd_async.epics.adcore.AreaDetector[ophyd_async.epics.adcore.ADBaseIO]Create an ADSimDetector AreaDetector instance.
- Parameters:
prefix – EPICS PV prefix for the detector
path_provider – Provider for file paths during acquisition
driver_suffix – Suffix for the driver PV, defaults to “cam1:”
writer_type – Type of file writer (HDF or TIFF)
writer_suffix – Suffix for the writer PV
plugins – Additional areaDetector plugins to include
config_sigs – Additional signals to include in configuration
name – Name for the detector device
- class ophyd_async.epics.adsimdetector.SimDetectorTriggerLogic(driver: ADBaseIO)[source]#
Bases:
ophyd_async.core.DetectorTriggerLogicTrigger logic for ADSimDetector.
- async prepare_internal(num: int, livetime: float, deadtime: float)[source]#
Prepare the detector to take internally triggered exposures.
- Parameters:
num – the number of exposures to take
livetime – how long the exposure should be, 0 means what is currently set
deadtime – how long between exposures, 0 means the shortest possible