Skip to main content
Help the Python Software Foundation raise $60,000 USD by December 31st!  Building the PSF Q4 Fundraiser

YASS: Yet Another Spike Sorter

Project description

State-of-the-art spike sorting.

Note: YASS is in an early stage of development. Although it is stable, it has only been tested with the data in our lab, but we are working to make it more flexible. Feel free to send feedback through Gitter. Expect a lot of API changes in the near future.


Lee, J. et al. (2017). YASS: Yet another spike sorter. Neural Information Processing Systems. Available in biorxiv:


Installing the last stable version:

pip install yass-algorithm


Quick example of YASS using a sample of the neuropixel data from Nick Steinmetz:

# clone the repo and move to the main folder
git clone
cd yass

# install package (this is the same as running
# pip install git+
pip install .

# move to the examples folder and run yass in the sample data
cd examples
yass config_sample.yaml

# see the spike train
cat data/spike_train.csv

You can also use YASS in Python scripts. See the documentation for details.


Documentation hosted at

Running tests


Building documentation

You need to install graphviz to build the graphs included in the documentation. On macOS:

brew install graphviz
cd doc
make [format]


Peter Lee, Eduardo Blancas

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for yass-algorithm, version 0.2
Filename, size File type Python version Upload date Hashes
Filename, size yass-algorithm-0.2.tar.gz (290.7 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page