devices: timing auto exposure
This commit is contained in:
@@ -11,6 +11,7 @@ from epics import PV
|
||||
from aare.common.beamline import MXBeamline
|
||||
from aare.common.coordinate import SmargonCoordinate, AerotechCoordinate
|
||||
from aare.common.logger_config import setup_logger
|
||||
from aare.common.logger_events import log_timing
|
||||
from aare.common.models import SampleCameraSettings, StagePositionEnum
|
||||
from aare.devices import smargon, aerotech
|
||||
from aare.devices.area_detector import epicsAD, AutoEnum
|
||||
@@ -292,6 +293,7 @@ class BeamlineDevices:
|
||||
# Fallback to EPICS area_detector
|
||||
return self.__sample_cam.get_image(gray=gray)
|
||||
|
||||
@log_timing(logger, "auto exposure of camera")
|
||||
def samcam_auto(self, state: AutoEnum):
|
||||
self.__sample_cam.set_auto(state)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user