cortex-lab / KiloSort

GPU code for spike sorting
GNU General Public License v2.0
179 stars 100 forks source link

Single spike counted twice #215

Closed HiroyukiKato7 closed 4 years ago

HiroyukiKato7 commented 4 years ago

Hi,

We noticed that sometimes a single spike is counted twice within a single template. Please see the attached images. The clusters 2958 and 2959 were originally sorted as a single template, but we separated them out for visualization. As you can see in the Trace View, exactly the same event is counted in both 2958 and 2959. This double-counting often causes a peak at the center of the cross-correlogram and increases the violation of refractory period. This might be really two spikes happening simultaneously, but we are afraid about the possibility that a big single spike is mistakenly divided into two.

Thanks, Hiroyuki

cluster_2958 cluster_2959 clusters_2958_2959