Skip to content

Commit 93790d0

Browse files
mariomario
authored andcommitted
corrected convolution
1 parent ac41696 commit 93790d0

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

code/python/cni_toolbox/HGR.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,6 @@ def __convolution__(self, x):
412412
kernel = np.append(self.hrf, np.zeros(n_samples))
413413
x = np.vstack((x, np.zeros((np.ceil(self.l_hrf / self.p_sampling).astype(int),
414414
self.n_features))))
415-
x_conv = ifft(fft(x) * fft(kernel))
416415
x_conv = np.abs(
417416
ifft(fft(x, axis=0) *
418417
np.expand_dims(fft(kernel),

0 commit comments

Comments
 (0)