tune stabilizer again
This commit is contained in:
parent
79a61a4073
commit
da5676b2c7
|
@ -116,11 +116,11 @@ class Stabilizer:
|
||||||
self.wiggle_direction = 1
|
self.wiggle_direction = 1
|
||||||
|
|
||||||
self.amp_threshold = 80.0
|
self.amp_threshold = 80.0
|
||||||
self.k = 50.0e-6
|
self.k = 30.0e-6
|
||||||
self.tolerance = 10e3
|
self.tolerance = 10e3
|
||||||
self.lock_counter_threshold = 60
|
self.lock_counter_threshold = 60
|
||||||
self.unlock_counter_threshold = 1000
|
self.unlock_counter_threshold = 500
|
||||||
self.wiggle = 0.2
|
self.wiggle = 0.15
|
||||||
|
|
||||||
def input(self, samples):
|
def input(self, samples):
|
||||||
spectrum = np.abs(np.fft.fft(samples*blackmanharris(len(samples))))
|
spectrum = np.abs(np.fft.fft(samples*blackmanharris(len(samples))))
|
||||||
|
|
Loading…
Reference in New Issue