diff --git a/py_neuromodulation/nm_sharpwaves.py b/py_neuromodulation/nm_sharpwaves.py index 36c86df2..1a6fdb58 100644 --- a/py_neuromodulation/nm_sharpwaves.py +++ b/py_neuromodulation/nm_sharpwaves.py @@ -143,7 +143,7 @@ def calc_feature( if filter_name == "no_filter": self.data_process_sw = data[ch_idx, :] else: - self.data_process_sw = signal.convolve( + self.data_process_sw = signal.fftconvolve( data[ch_idx, :], filter, mode="same" )