def convolve(self, win):
" Convolves each channel with window win."
from scipy.signal import fftconvolve
def conv_func(x):
return np.column_stack([fftconvolve(x[:, i], win)
for i in range(x.shape[1])])
return self.new_stream(self.vector_map(conv_func))
评论列表
文章目录