Add an example recluster plugin for the Template GUI (ISO-SPLIT / Gaussian mixture) - #1401
Open
Sachuriga wants to merge 2 commits into
Open
Add an example recluster plugin for the Template GUI (ISO-SPLIT / Gaussian mixture)#1401Sachuriga wants to merge 2 commits into
Sachuriga wants to merge 2 commits into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The Template GUI has no "recluster" action — the Kwik GUI's
shift+ctrl+K, whichre-runs KlustaKwik2 on a selected cluster, has no counterpart. This adds one as an
example plugin: it re-clusters a selected cluster from the PC features that
already exist in the sorting output.
No spike detection is re-run, no raw data is read, and the result goes through the
normal
supervisor.actions.split, so it is undoable like any manual split.Split out of #1398 at the maintainer's request; #1398 now carries only the
packaging changes.
What it does
isosplitis installed. It is non-parametric — it decides the number of subclusters by
testing each candidate split for unimodality — so it does not assume clusters
are Gaussian. Bursting and drifting units are not, which is where a plain
Gaussian mixture tends to over-split.
where you want to impose the number of subclusters yourself.
Keyboard shortcuts
alt+kreclustershift+alt+krecluster_nctrl+alt+krecluster_dipDependencies
Optional, in a new
reclusterextra: