Skip to content

Conversation

@samuelgarcia
Copy link
Member

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

yger and others added 30 commits September 29, 2025 13:31
@samuelgarcia samuelgarcia added this to the 0.104.0 milestone Oct 31, 2025
@samuelgarcia samuelgarcia added the sorters Related to sorters module label Oct 31, 2025
@samuelgarcia samuelgarcia marked this pull request as ready for review November 14, 2025 17:17
@samuelgarcia
Copy link
Member Author

@alejoe91 @chrishalcrow
This is ready on my side.
Pierre and I have a teaching session in 2 weeks, it would be cool to have this merge in main for the course.

mode="memory",
memory_limit=0.5,
total_memory=None,
delete_cache=True,
Copy link
Member

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)
Copy link
Member

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,
# )
Copy link
Member

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(
Copy link
Member

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.

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.

3 participants