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:
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.
driftplotsGet started with driftplots
Details on how the parameters are calculated.
Using driftplots in practice
Full Python API reference.