Skip to content

Commit b9f2cc8

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 1427816 commit b9f2cc8

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/spikeinterface/sortingcomponents/peak_detection.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -736,6 +736,7 @@ def compute(self, traces, start_frame, end_frame, segment_index, max_margin):
736736

737737
def get_convolved_traces(self, traces):
738738
from scipy.signal import oaconvolve
739+
739740
tmp = oaconvolve(self.prototype[None, :], traces.T, axes=1, mode="valid")
740741
scalar_products = self.weights.dot(tmp)
741742
return scalar_products

0 commit comments

Comments
 (0)