csn-le / wave_clus

A fast and unsupervised algorithm for spike detection and sorting using wavelets and super-paramagnetic clustering
123 stars 65 forks source link

ISI histogram #62

Closed hanyanhanyan closed 6 years ago

hanyanhanyan commented 6 years ago

Hi,

I am wondering if there is a way just plot the ISI histogram rather than in a screenshot after I sorted the spikes, using the spike time stamp/event.

Thanks a lot!

ferchaure commented 6 years ago

You can make it yourself, from the times load the variable cluster_class and then the ISIs in ms of the class number N will be: diff(cluster_class(cluster_class(:,1)==N,2))

ferchaure commented 6 years ago

have you been able to make the histogram?

hanyanhanyan commented 6 years ago

Yes! I'm sorry for the late reply, but it really helped! Thanks a lot!!!