fix wiggle amplitude
This commit is contained in:
parent
22bcbecab8
commit
7a4d901e6c
|
@ -152,7 +152,7 @@ class Stabilizer:
|
|||
self.unlock_counter += 1
|
||||
if not success and (self.unlock_counter > self.unlock_counter_threshold):
|
||||
print("wiggle")
|
||||
self.wiggle = self.wiggle_amplitude*(np.random.random() - 0.5)
|
||||
self.wiggle = self.wiggle_amplitude*2.0*(np.random.random() - 0.5)
|
||||
self.unlock_counter = 0
|
||||
|
||||
self.cb(spectrum, freq, self.locked(), tuning + self.wiggle)
|
||||
|
|
Loading…
Reference in New Issue