diff --git a/noptica.py b/noptica.py index aab8ca2..df8c43f 100644 --- a/noptica.py +++ b/noptica.py @@ -116,11 +116,11 @@ class Stabilizer: self.wiggle_direction = 1 self.amp_threshold = 80.0 - self.k = 50.0e-6 + self.k = 30.0e-6 self.tolerance = 10e3 self.lock_counter_threshold = 60 - self.unlock_counter_threshold = 1000 - self.wiggle = 0.2 + self.unlock_counter_threshold = 500 + self.wiggle = 0.15 def input(self, samples): spectrum = np.abs(np.fft.fft(samples*blackmanharris(len(samples))))