Dataloader wrapper for Neuropyxels (npyx) [1]. Load, save, and plot raw neuropixels data and Kilosort outputs with Neuropyxels. Some files from the official npyx library have been modified to suit our data. Check the original library for additional details on post-processing like high-pass filtering, etc.
Load_Neuropixels_data_with_Neuropyxels.ipynb
- Kilosort output files from "imec_pec" (extracted, not .zip)
- *.imec0.bin file (already present in imec_pec, which is a concatenated version of *imec0.bin files from all 4 sessions). To load one session, replace this with the recordings from individual sessions, e.g.:"Kavorka_190620/26525_kavorka_190620_1835_intermediate_s1_light/recording/*.bin"
- *.imec0.meta file (needs to be copied from one of the sessions), for e.g.: "Kavorka_190620/26525_kavorka_190620_1835_intermediate_s1_light/recording/*.meta"
Tested on Ubuntu 22.04
Install npyx (refer to npyx [1] for additional installation instructions/support).
pip install npyx
- python 3.10
- joblib 1.3.1
- numpy 1.24.4
- opencv 4.8.0
[1] NeuroPyxels: loading, processing and plotting Neuropixels data in python" doi: 10.5281/zenodo.5509733 Link