Extended Data Fig. 3: Data processing steps.
From: Survey of spiking in the mouse visual system reveals functional hierarchy

a, Data from the Neuropixels probe is split at the hardware level into two separate streams for each electrode: spike band and LFP band. b, The spike band passes through offset subtraction, median subtraction and whitening steps before sorting. The resulting data can be viewed as an image, with dimensions of time and channels, and colours corresponding to voltage levels. c, The LFP data are down sampled to 1.25 kHz and 40 μm channel spacing before packaging. d, We use the Kilosort2 to match spike templates to the raw data. The output of this algorithm can be used to reconstruct the original data using information about template shape, times and amplitudes. e, The spike and LFP data are packaged into Neurodata Without Borders (NWB) 2.0 files. f, The outputs of Kilosort2 are passed through a semi-automated quality control procedure to remove units with artefactual waveforms. Only units with obvious spike-like characteristics are used for further analysis.