spikeinterface icon indicating copy to clipboard operation
spikeinterface copied to clipboard

Exported Phy data sets all clusters to "unsorted" group, ignoring sorter's group assignments

Open cheydrick opened this issue 10 months ago • 1 comments

Hi this is Chris with Plexon. I used SpikeInterface to sort using Kilosort 4, and then exported to Phy.

I found that when exporting to Phy that each cluster is set to the “unsorted” group in cluster_group.tsv. The Kilosort 4 output also contains a cluster_group.tsv, but the clusters are set to either “mua” or “good”.

The sorting object returned by run_sorter() contains this group assignment in the 'KSLabel' property.

Is there a way for the Phy export process to carry over the cluster groups that Kilosort 4 assigned?

Thanks, Chris [email protected]

cheydrick avatar Apr 24 '24 18:04 cheydrick