NOTE: this documentation is for the development version of phy 2.0, available on GitHub, cortex-lab/phy repository, dev branch. A release should be available soon. This is still a work-in-progress.

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.0a0 screenshot

Spike sorting programs

phy can open datasets spike-sorted with the following programs:

KiloSort and SpykingCircus are spike sorting programs based on template matching. They use a file format based on .npy (NumPy binary arrays) and .tsv files (tab-separated files).

klusta is a legacy spike sorting program based on an automatic clustering algorithm. It uses the kwik format based on HDF5. While klusta and the kwik format are still supported by phy, they are no longer actively maintained.