dsp: add new-line

This commit is contained in:
Roman Zeyde
2014-08-23 15:23:11 +03:00
parent d43bd7c64b
commit 1af22dcd72

View File

@@ -47,6 +47,7 @@ def estimate(x, y, order, lookahead=0):
h = linalg.lstsq(np.array(A).T, b)[0]
return h[::-1]
def train(S, training):
A = np.array([S[1:], S[:-1], training[:-1]]).T
b = training[1:]
@@ -109,6 +110,7 @@ class QAM(object):
error_handler(received=S, decoded=decoded_symbol)
yield bits
class Demux(object):
def __init__(self, src, freqs):
interp = sampling.Interpolator()