DAQ: temporarily disabled reflector and closed detector cover during sample alignment for better ML.
This commit is contained in:
1 parent
c612eb0966
commit
0b9f21b9a1
1 file changed
+2
-3
@@ -141,6 +141,7 @@ def dc2rse(devs: BeamlineDevices, cfg: BeamlineConfig):
|
||||
|
||||
def se2sa(devs: BeamlineDevices, cfg: BeamlineConfig):
|
||||
hub = cfg.settings
|
||||
devs.detector_cover.put(1) # Close detector cover
|
||||
cfg.zoom_mode = ZoomModeEnum.User
|
||||
devs.samcam_settings = cfg.zoom_settings.get_camera_settings(devs.zoom)
|
||||
hub_cryo = cfg.cryojet_settings
|
||||
@@ -151,7 +152,7 @@ def se2sa(devs: BeamlineDevices, cfg: BeamlineConfig):
|
||||
devs.aerotech.unlock()
|
||||
devs.aerotech.set_direct_mode()
|
||||
print(time.ctime(), " moving reflector to up position")
|
||||
devs.reflector_up = True
|
||||
#devs.reflector_up = True
|
||||
print(time.ctime(), " moving beamstop to up position")
|
||||
devs.beamstop_stage_up = True
|
||||
print(time.ctime(), " setting lamp to 2.5")
|
||||
@@ -166,8 +167,6 @@ def se2sa(devs: BeamlineDevices, cfg: BeamlineConfig):
|
||||
devs.dtz.move(cfg.dtz, wait=False)
|
||||
|
||||
def rse2sa(devs: BeamlineDevices, cfg: BeamlineConfig):
|
||||
devs.detector_cover.put(2) # Open detector cover
|
||||
print(time.ctime(), " moving DETECTOR COVER to OPEN position")
|
||||
if devs.tell.is_in_park():
|
||||
print(time.ctime(), " moving TELL to COLD")
|
||||
devs.tell.move_cold(wait=True)
|
||||
|
||||
Reference in new issue
Block a user