Skip to main content

Interactive visualization and manual spike sorting of large-scale ephys data

Project description

phy: interactive visualization and manual spike sorting of large-scale ephys data

Build Status Documentation Status GitHub release PyPI release

phy is an open-source Python library providing a graphical user interface for visualization and manual curation of large-scale electrophysiological data. It is optimized for high-density multielectrode arrays containing hundreds to thousands of recording sites (mostly Neuropixels probes).

phy 2.0b1 screenshot

What's new

  • [7 Feb 2020] Release of phy 2.0 beta 1, with many new views, new features, various improvements and bug fixes...


Installation instructions

Phy requires a recent GPU and an SSD for storing your data (the GUI may be slow if the data is on an HDD).

  1. Install the latest version of Anaconda 64-bit with Python 3.

  2. Open a terminal and type:

    conda create -n phy2 python pip numpy matplotlib scipy h5py pyqt cython pillow -y
    conda activate phy2
    pip install phy --upgrade
  3. Phy should now be installed. Open the GUI on a dataset as follows (the phy2 environment should still be activated):

    cd path/to/my/spikesorting/output
    phy template-gui

Upgrading from phy 1 to phy 2

  • Do not install phy 1 and phy 2 in the same conda environment.
  • It is recommended to delete ~/.phy/*GUI/state.json when upgrading.

Developer instructions

To install the development version of phy in a fresh environment, do:

git clone
cd phy
pip install -r requirements.txt
pip install -r requirements-dev.txt
pip install -e .



phy is developed and maintained by Cyrille Rossant.

Contributors to the repository are:

Project details

Download files

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

Files for phy, version 2.0b1
Filename, size File type Python version Upload date Hashes
Filename, size phy-2.0b1-py2.py3-none-any.whl (593.8 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size phy-2.0b1.tar.gz (524.1 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