diff --git a/ophyd_devices/epics/devices/psi_detector_base.py b/ophyd_devices/epics/devices/psi_detector_base.py index 25779d6..b7a1279 100644 --- a/ophyd_devices/epics/devices/psi_detector_base.py +++ b/ophyd_devices/epics/devices/psi_detector_base.py @@ -8,8 +8,8 @@ from typing import List from ophyd import Device from ophyd.device import Staged -from bec_lib.core.file_utils import FileWriterMixin -from bec_lib.core.bec_service import SERVICE_CONFIG +from bec_lib.file_utils import FileWriterMixin +from bec_lib.bec_service import SERVICE_CONFIG from ophyd_devices.epics.devices.bec_scaninfo_mixin import BecScaninfoMixin from ophyd_devices.utils import bec_utils @@ -22,6 +22,9 @@ class DetectorInitError(Exception): pass +MIN_READOUT = 3e-3 + + class CustomDetectorMixin: def __init__(self, parent: Device = None, *args, **kwargs) -> None: self.parent = parent @@ -165,7 +168,7 @@ class PSIDetectorBase(Device): custom_prepare_cls = CustomDetectorMixin - MIN_READOUT = 1e-3 + MIN_READOUT = 3e-3 # Specify which functions are revealed to the user in BEC client USER_ACCESS = [