From da5676b2c781c7657323f743aacbe979531f8c91 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Tue, 11 Aug 2020 17:47:49 +0800 Subject: [PATCH] tune stabilizer again --- noptica.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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))))