anneal functionality added, including wait time, SHould be tested/optimised later.

This commit is contained in:
2026-06-24 15:29:55 +02:00
committed by appleb_m
parent 87fefa534b
commit d1f6df5223
+7 -2
View File
@@ -1,4 +1,5 @@
# Abstractions of devices for beamline
import time
# Each "standard" device needs three elements:
# - property to read device value
@@ -208,8 +209,12 @@ class BeamlineDevices:
def cryojet_temp(self) -> float:
return self.__cryojet_temperature_get.get()
def anneal(self, time: float):
pass
def anneal(self, wait_time: float):
logger.warning("Untested annealing procedure, use with caution")
logger.info(f"Annealing for {wait_time} seconds")
self.tell.anneal_in()
time.sleep(wait_time)
self.tell.anneal_out()
@property
def cryojet_pos(self) -> StagePositionEnum: