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

YASS is a state-of-the-art method for spike sorting.

Note: We are currently working on improving YASS to be usable in different types of neural data. The neural network detector currently only works in reduced use cases. We will add more models soon.


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


Installing the last stable version:

pip install git+


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]

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.1.1
Filename, size File type Python version Upload date Hashes
Filename, size yass-algorithm-0.1.1.tar.gz (279.9 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