Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Oct 14, 2024
1 parent 1427816 commit b9f2cc8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/spikeinterface/sortingcomponents/peak_detection.py
Original file line number Diff line number Diff line change
Expand Up @@ -736,6 +736,7 @@ def compute(self, traces, start_frame, end_frame, segment_index, max_margin):

def get_convolved_traces(self, traces):
from scipy.signal import oaconvolve

tmp = oaconvolve(self.prototype[None, :], traces.T, axes=1, mode="valid")
scalar_products = self.weights.dot(tmp)
return scalar_products
Expand Down

0 comments on commit b9f2cc8

Please sign in to comment.