From efe64ae362681f7a2cc2daecc1ff736b0328362b Mon Sep 17 00:00:00 2001 From: Roman Mankowsky Date: Tue, 4 Jun 2019 10:26:17 +0200 Subject: [PATCH] changing the lxtt directions --- eco/loptics/bernina_experiment.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/eco/loptics/bernina_experiment.py b/eco/loptics/bernina_experiment.py index 3f8326f..bbafc85 100755 --- a/eco/loptics/bernina_experiment.py +++ b/eco/loptics/bernina_experiment.py @@ -41,6 +41,7 @@ class DelayCompensation(AdjustableVirtual): getting the current value.""" def __init__(self,adjustables,directions,set_current_value=True,name=None): self._directions = directions + self.Id = name AdjustableVirtual.__init__(self,adjustables,self._from_values,self._calc_values,set_current_value=set_current_value,name=name) @@ -108,7 +109,7 @@ class Laser_Exp: print("Problems initializing global delay stage") # Implementation of delay compensation, this assumes for now that delays_glob and delay_tt actually delay in positive directions. - self.delay_lxtt = DelayCompensation([self.delay_glob,self.delay_tt], [-1,1],name='delay_lxtt') + self.delay_lxtt = DelayCompensation([self.delay_glob,self.delay_tt], [1,-1],name='delay_lxtt') self.alias.append(self.delay_lxtt.alias) # compressor