-
Notifications
You must be signed in to change notification settings - Fork 241
Make peak detection (locally_exclussive, matched_filtering) faster and more accurate. #4341
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make peak detection (locally_exclussive, matched_filtering) faster and more accurate. #4341
Conversation
|
Great, this is cool, looking forward to try it out ! But what about the matched filtering ? |
yger
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me!
src/spikeinterface/sortingcomponents/peak_detection/locally_exclusive.py
Show resolved
Hide resolved
src/spikeinterface/sortingcomponents/peak_detection/locally_exclusive.py
Show resolved
Hide resolved
chrishalcrow
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Gives me very similar results, faster, and code looks good.
|
merci |
After playing a bit with the rust language, and trying to reimplement the peak detection algo using "locally_exclussive"
I discover that the actual impelmentation could be fasten a lot (at least 3X faster on my machine).
"matched_filtering" has also beeb changed in this PR.
Also the new implementation is is more accurate for corener cases :
Also I change the
exclude_sweep_ms=0.1at many place in the code this was a bad value by default it has to be half on the peak waveforms or a bit more.