diff --git a/src/aare/daq/devices.py b/src/aare/daq/devices.py index 79f9e439..4aee1ebd 100644 --- a/src/aare/daq/devices.py +++ b/src/aare/daq/devices.py @@ -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: