driftplots#

driftplots is a tool for visualising and saving drift maps from Kilosort or SpikeInterface. It can be used to assess data quality through static matplotlib figures or an interactive viewer:

_images/driftmap-viewer.gif

Interactive mode can be used to check alignment between recording sessions before inter-session matching e.g. with UnitMatch. In the above example, it is clear the recordings (chronically recorded Neuropixel sessions with a gap between them of 2 hours) are well aligned, as the driftmap and templates look similar across the recording depth.

Matplotlib mode can also be used to get an overview of the data quality across many sessions, for example by collating these into a PDF.

Using driftplots

Get started with driftplots

Using driftplots
Implementation Details

Details on how the parameters are calculated.

How features are calculated
Examples

Using driftplots in practice

Examples
API

Full Python API reference.

API Reference