support concurrent multiple frequencies demodulation.

This commit is contained in:
Roman Zeyde
2014-07-05 09:48:03 +03:00
parent 8a1d8f33bd
commit 933e0f7cfc
2 changed files with 11 additions and 5 deletions

View File

@@ -13,9 +13,9 @@ def main():
S = []
Y = []
symbols = loop.FreqLoop(x, f0)
prefix = 100
for s in symbols:
symbols = loop.FreqLoop(x, [f0])
for s, in symbols:
S.append(s)
if len(S) > prefix:
symbols.correct(s, np.mean(S[:prefix]))