calib: fix TypeError on config.frequencies

This commit is contained in:
Roman Zeyde
2015-03-08 10:33:51 +02:00
parent eb6ace3cc3
commit 5cf0fa4e27

View File

@@ -36,7 +36,7 @@ def send(config, dst, volume_cmd=None, gain=1.0, limit=None):
def frame_iter(config, src, frame_length):
frame_size = frame_length * config.Nsym * config.sample_size
omegas = 2 * np.pi * config.frequencies / config.Fs
omegas = 2 * np.pi * np.array(config.frequencies) / config.Fs
while True:
data = src.read(frame_size)