Multiple unit action potential sorting: investigation of features, algorithms, and parameters for a fully automated system