fix loop parameters scaling

This commit is contained in:
Sebastien Bourdeauducq 2020-08-10 20:53:36 +08:00
parent 8b90d7395b
commit 5ae36be4c6
1 changed files with 1 additions and 1 deletions

2
dmi.py
View File

@ -23,7 +23,7 @@ def main():
gui.update_beat_spectrum(spectrum, peak_freq) gui.update_beat_spectrum(spectrum, peak_freq)
induction.set(tuning) induction.set(tuning)
stabilizer = Stabilizer(block_size, 80.0, 1088.1e6 - freq_base, 10e-6, stabilizer_cb) stabilizer = Stabilizer(block_size, 80.0, (1088.1e6 - freq_base)/freq_sample, 50.0, stabilizer_cb)
position_tracker = PositionTracker(int(0.1*freq_sample/block_size)) position_tracker = PositionTracker(int(0.1*freq_sample/block_size))
sdr = SoapySDR.Device() sdr = SoapySDR.Device()