Skip to content
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

Addition of a peak centerer to align peaks correctly #1879

Closed
wants to merge 2 commits into from

Conversation

yger
Copy link
Collaborator

@yger yger commented Jul 26, 2023

Creation of a PeakCenterer object to be used in localize() and compute_spike_locations(). In fact, after a sorting, using the channel of the extrememum of the template as a reference channel hides the noise due to peak detection, and the fact that peaks might be sometimes off-centered. The PeakCenterer compensates for that. Using a given radius, for each peak, it will look for the channel where the extremum is obtained to accuretly reflect what happened during the peak detection

@alejoe91 alejoe91 added sortingcomponents Related to sortingcomponents module postprocessing Related to postprocessing module labels Jul 27, 2023
@samuelgarcia
Copy link
Member

#1944 and #1950 should replace this, we can close

@alejoe91 alejoe91 closed this Sep 13, 2023
@yger yger deleted the peak_centerer branch September 13, 2023 09:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
postprocessing Related to postprocessing module sortingcomponents Related to sortingcomponents module
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants