Electrophysiology mipmaps

Browse hours of raw Neuropixels data at any zoom from a small read

A single Neuropixels probe produces tens of gigabytes per hour. When spike sorting fails, often with a “too many bad channels” error, someone needs to look at the raw traces. In practice, that has meant downloading the whole recording first.

ecephys-mipmap-zarr builds multi-resolution Zarr v3 pyramids of per-channel (min, max) envelopes, with strides from 32× to 131,072× in steps of 8×, so any zoom level can be drawn faithfully from a small read. The pyramids sit alongside existing SpikeInterface recordings on S3, kept compact by a per-channel encoding that drops bits below each channel’s noise floor.

A Panel/Bokeh viewer and a TypeScript web component draw them, and Code Ocean capsules build them automatically for new recordings.