Semi-supervised Spike Sorting Using Pattern Matching and a Scaled Mahalanobis Distance Metric

J Neurosci Methods. 2012;206(2):120-31. doi: 10.1016/j.jneumeth.2012.02.013. Epub 2012 Feb 23.

Abstract

Sorting action potentials (spikes) from tetrode recordings can be time consuming, labor intensive, and inconsistent, depending on the methods used and the experience of the operator. The techniques presented here were designed to address these issues. A feature related to the slope of the spike during repolarization is computed. A small subsample of the features obtained from the tetrode (ca. 10,000-20,000 events) is clustered using a modified version of k-means that uses Mahalanobis distance and a scaling factor related to the cluster size. The cluster-size-based scaling improves the clustering by increasing the separability of close clusters, especially when they are of disparate size. The full data set is then classified from the statistics of the clusters. The technique yields consistent results for a chosen number of clusters. A MATLAB implementation is able to classify more than 5000 spikes per second on a modern workstation.

Publication types

  • Research Support, N.I.H., Extramural

MeSH terms

  • Action Potentials / physiology*
  • Algorithms
  • Animals
  • Cluster Analysis
  • Neurons / physiology*
  • Rabbits
  • Signal Processing, Computer-Assisted*