cortex-lab / phy

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

Output data of phy #1128

Open linjianian opened 3 years ago

linjianian commented 3 years ago

Hi,

I would like to further analysis electrophysiological data after manually inspect by phy. Could you please tell me how can I output channel with largest amplitude and their trace of each cluster?

cafalchio commented 2 years ago

I am also trying to use the data after passing througly Phy, would be nice to have it on the Docs.

cafalchio commented 2 years ago

Hi @Acnowlogia , did you find a way? I am trying to input it back in python to plot waveforms.

linjianian commented 2 years ago

Hi @Acnowlogia , did you find a way? I am trying to input it back in python to plot waveforms.

I have choose other methods to process data.

If you want to plot waveforms. You may use readNPY in matlab (or directly use python) to read 'spike_templates.npy' which is generated by kilosort. Then you can find waveform of templates. Combining with 'spike_times.npy', 'spike_clusters.npy' and other .TSV file generated by Phy, you can draw the waveforms.