Skip to content

Commit 3353b70

Browse files
mariomario
authored andcommitted
renamed kernel_fft->hrf_fft
1 parent 8d1bded commit 3353b70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

code/python/cni_toolbox/gadgets.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ def convolve(self, x):
202202
x_fft = fft(np.vstack((x.reshape(1,-1), np.zeros((self.l_subsampled, self.n_channels)))), axis=0)
203203
self.x_conv = np.vstack((self.x_conv, np.zeros((1, self.n_channels))))
204204
self.x_conv[self.step:self.step + self.l_subsampled, :] += np.abs(ifft(
205-
x_fft * np.expand_dims(self.kernel_fft , axis=1), axis=0))
205+
x_fft * np.expand_dims(self.hrf_fft , axis=1), axis=0))
206206

207207
return self.x_conv[self.step, :]
208208

0 commit comments

Comments
 (0)