cortex-lab / phy

phy: interactive visualization and manual spike sorting of large-scale ephys data
BSD 3-Clause "New" or "Revised" License
304 stars 155 forks source link

How to edit spike_clusters outside of phy #1195

Open McKenzieNeuro opened 1 year ago

McKenzieNeuro commented 1 year ago

If I want to tweak the kilosort output outside of phy, it seems like I only need to reassign the integers in spike_clusters.npy, however when I do this phy crashes. If I want to reassign cluster IDs, which npy files must also be updated?

thank you sam

image

McKenzieNeuro commented 1 year ago

it looks like there is some cached cluster IDs in the .phy directory. If I pick a larger ID than anything in the cache and reassign, should I be OK, or is there more going on in the organization of the cached files?