phy icon indicating copy to clipboard operation
phy copied to clipboard

Cluster view gui data

Open ghattasb opened this issue 1 year ago • 1 comments

Hey, I'm using kilosort4 with Phy, and I was wondering how to re-generate that Cluster View table used in the GUI using python? mainly I would like to know how you managed to map the clusters to a specific channel since I could not find a file that contains this type of data sorting.

Thank in advance

ghattasb avatar Jun 04 '24 13:06 ghattasb

@ghattasb,

It's occurring based on loading the amplitudes and channel mapping information. So you could read the source code to figure out how to do it. There will be some functions inside of phy and phylib which you could call by using a phylib model rather than the gui and then get all the values you need. If you want to do that I would recommend heading over to phylib and reading the source code there (unfortunately not a lot of documentation). We also work with the spikeinterface team and they also have ways to do that (you can auto load kilosort data, then find the specific channels). There's more documentation over there currently for how the api works.

zm711 avatar Jun 04 '24 13:06 zm711