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:
1 parent
f0fc348949
commit
7dc103e238
1 file changed
+6
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user