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

Legacy mode for circus 2 to ease comparison with circus 1 #2205

Merged
merged 42 commits into from
Nov 21, 2023

Conversation

yger
Copy link
Collaborator

@yger yger commented Nov 14, 2023

Add a legacy mode to circus 2, in order to ease the comparison with circus 1. When legacy is True in the clustering, we will use a clustering very similar to the one performed by circus 1, and thus with performances that should be in line

@yger yger changed the title Legacy mode Legacy mode for circus 2 to ease comparison with circus 1 Nov 14, 2023
@alejoe91 alejoe91 added the sorters Related to sorters module label Nov 15, 2023
@alejoe91
Copy link
Member

Sweet! Have you made some benchmarks with SC1?

@yger
Copy link
Collaborator Author

yger commented Nov 15, 2023

Yes, it was the whole point, and the good news is that this is in line with SC1, giving similar results. This is a building brick for our next paper on the components :-)

@yger yger marked this pull request as draft November 15, 2023 15:15
@yger yger marked this pull request as ready for review November 16, 2023 14:44
@yger
Copy link
Collaborator Author

yger commented Nov 16, 2023

This branch is bringing quite a lot a modifications but only to the files owned and used by circus2. The key point is to have a clustering very similar to the one of circus1, such that we can properly compare everything w.r.t the new clustering of SC2. The matching engine has also been consolidated with exhaustive comparison on real recordings

Copy link
Collaborator

@zm711 zm711 left a comment

Choose a reason for hiding this comment

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

I just added a few docstring/assert fixes. Feel free to use if you want them.

src/spikeinterface/sortingcomponents/clustering/circus.py Outdated Show resolved Hide resolved
src/spikeinterface/sortingcomponents/matching/circus.py Outdated Show resolved Hide resolved
src/spikeinterface/sortingcomponents/matching/circus.py Outdated Show resolved Hide resolved
src/spikeinterface/sortingcomponents/clustering/circus.py Outdated Show resolved Hide resolved
@yger
Copy link
Collaborator Author

yger commented Nov 17, 2023

Thanks a lot for the comments!

@samuelgarcia samuelgarcia merged commit 38d82d4 into SpikeInterface:main Nov 21, 2023
9 checks passed
@yger yger deleted the legacy_mode branch November 21, 2023 13:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sorters Related to sorters module
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants