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

This commit is contained in:
2026-06-12 13:55:27 +02:00
parent 8a682a6b97
commit ac1ad2cf2d
+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: