Devices: added samcam_auto function to switch between EPICs SAMCAM inbuilt auto exposure and manual exposure. Auto exposure is not good at low zooms

This commit is contained in:
appleb_m committed 2026-01-22 10:12:29 +01:00
1 parent f0fc348949
commit 7dc103e238
1 file changed
+6
+6
View File
@@ -193,6 +193,12 @@ class BeamlineDevices:
def samcam_get_image(self, /, gray: bool = False) -> np.ndarray:
return self.__sample_cam.get_image(gray=gray)
def samcam_auto(self, val: bool = False):
if val:
self.__sample_cam.set_auto()
else:
self.__sample_cam.set_manual()
# Detector Z
@property
def dtz(self) -> float: