diff --git a/src/aare/devices/area_detector.py b/src/aare/devices/area_detector.py index 082f8cb1..873980dc 100644 --- a/src/aare/devices/area_detector.py +++ b/src/aare/devices/area_detector.py @@ -134,6 +134,12 @@ class epicsAD(object): self.expo_mode.put(2) # automatic exposure control self.acquire.put(1) + def set_manual(self): + self.acquire.put(0, wait=True) + self.gain_mode.put(0) # automatic gain control + self.expo_mode.put(0) # automatic exposure control + self.acquire.put(1) + def restore(self, gain: float = 5, expo: float = 0.025): # Put this values, so the camera faster resores proper values in Auto mode self.acquire.put(0, wait=True)