refactor recv.py

This commit is contained in:
Roman Zeyde
2014-07-10 08:36:01 +03:00
committed by Roman Zeyde
parent cbf8cddabb
commit 26cd7c375e
2 changed files with 21 additions and 11 deletions

View File

@@ -21,7 +21,7 @@ class Filter(object):
return y
class FreqLoop(object):
def __init__(self, x, freqs, prefix=None):
def __init__(self, x, freqs, prefix=0.0):
interp = sampling.Interpolator()
if prefix is None:
prefix = []