phy icon indicating copy to clipboard operation
phy copied to clipboard

phy2 plugin access individual spike wavefrom from cluster

Open GrimmSnark opened this issue 3 years ago • 1 comments

Hello,

I am trying to write a plugin for some automatic spike removal to clean up a cluster. To do this I would like to compare an individual spike to the mean cluster waveform on the best channel. I have a list of spike_ids and spike_times. But I can not see the best way to get the individual waveform from the cluster_id and spike_id.

Does anyone have any suggestions how to get this data with the python plugin?

Michael

GrimmSnark avatar Apr 07 '22 12:04 GrimmSnark

Try this plugin: https://github.com/jiumao2/PhyWaveformPlugin These function may help:
controller._get_waveforms_with_n_spikes controller.model.get_waveforms

jiumao2 avatar Feb 13 '23 07:02 jiumao2