コード例 #1
0
 def test_fft():
     return multichannel_fftconvolve(x, h, mode='valid')
コード例 #2
0
 def test_fft():
     return multichannel_fftconvolve(x, h, mode='valid')
コード例 #3
0
 def test(x, h):
     my = multichannel_fftconvolve(x, h)
     theirs = fftconvolve(x, h, mode='valid')[:, 0]
     assert np.abs(my - theirs).sum() < 1e-6
コード例 #4
0
 def test(x, h):
     my = multichannel_fftconvolve(x, h)
     theirs = fftconvolve(x, h, mode='valid')[:,0]
     assert np.abs(my - theirs).sum() < 1e-6