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 (for example, with UnitMatch). The above example shows two chronic Neuropixel recording sessions with a gap of two hours between them. It is clear the recordings are well aligned, as the driftmaps and templates look similar across the recording depth.

Matplotlib plots can also be generated to get an overview of the data quality across many sessions, for example by collating driftmaps 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