-
Notifications
You must be signed in to change notification settings - Fork 228
A new sorter : Lupin sorter #4192
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
base: main
Are you sure you want to change the base?
Conversation
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
…erface into memory_template_similarity
for more information, see https://pre-commit.ci
…erface into memory_template_similarity
for more information, see https://pre-commit.ci
…e into lupin_sorter
…ikeinterface into lupin_sorter
|
@alejoe91 @chrishalcrow |
for more information, see https://pre-commit.ci
| mode="memory", | ||
| memory_limit=0.5, | ||
| total_memory=None, | ||
| delete_cache=True, |
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.
You don't use delete_cache anywhere
| # sparsity_snr = compute_sparsity(templates_dense, method="snr", amplitude_mode="peak_to_peak", | ||
| # noise_levels=noise_levels, threshold=sparsity_threshold) | ||
| # sparsity.mask = sparsity.mask & sparsity_snr.mask | ||
| # templates = templates_dense.to_sparse(sparsity) |
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.
Go through and delete not-needed comments, please
| # sparsity_mask=None, | ||
| # probe=recording_for_peeler.get_probe(), | ||
| # is_in_uV=False, | ||
| # ) |
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.
loads of commented out stuff in this file
| # detection | ||
| ms_before = params["ms_before"] | ||
| ms_after = params["ms_after"] | ||
| prototype, few_waveforms, few_peaks = get_prototype_and_waveforms_from_recording( |
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.
There's quite a lot of unused variables in Lupin. Stuff like few_waveforms, few_peaks here, more_outs on line 242, unit_locations on 266. Guessing it's fine - just checking that you're not accidentally not using them.
Gentleman thief spike sorter.
This sorter is composed by pieces of code and ideas stolen everywhere : yass, tridesclous, spkyking-circus, kilosort.
It should be the best sorter we can build using spikeinterface.sortingcomponents
This depend on #4182