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

Improve merging and iterative merging #3487

Merged
merged 186 commits into from
Feb 25, 2025
Merged

Conversation

yger
Copy link
Collaborator

@yger yger commented Oct 18, 2024

This branch depends on #3435 , and adds the possibility to benchmark only meta merging, i.e. the final steps of a sorting procedure. Such step is crucial in the context of drift-corrected recordings. Note that it will replace #2934 that will be closed, since now the code is easier to read, cleaner, and more in line with @samuelgarcia point of view. It can still be discussed however, to know if we should do a proper merging step for the sortingcomponents. I think we should, because several options could be tried and benchmark.

Functions to split by times and/or amplitudes have been rewritten without any dependencies, in a separate file as requested in #2934 (splitting_tools.py in generation)

merging_methods = ["circus", "auto_merges"]


def create_sorting_analyzer_with_templates(sorting, recording, templates, remove_empty=True):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If this is a need we should have this function somewhere else

@alejoe91
Copy link
Member

@yger can you fix the failing tests?

@yger
Copy link
Collaborator Author

yger commented Feb 25, 2025

I've changed sparsity_threshold to sparsity_overlap for consistency, and remove some changes related to clustering in SC2 and that will go in one other PR. Looks good to me and seems to work

@alejoe91 alejoe91 merged commit 508de1e into SpikeInterface:main Feb 25, 2025
15 checks passed
@yger yger deleted the meta_merging branch February 25, 2025 20:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
curation Related to curation module sortingcomponents Related to sortingcomponents module
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants