def test_convolve():
win = [.1, 0, 3]
for data in (data2, data3, data4):
x = np.column_stack([fftconvolve(data[:, i], win)
for i in range(data.shape[1])])
y = Stream(data, sr=1).convolve(win).call()
assert eq(x, y)
评论列表
文章目录