This repository should facilitate the data processing pipeline for e-phys, IMU and 3D tracking experiments.
It is useful, in single- or dual-probe settings, for:
- concatenating multiple Neuropixel recording sessions
- running Kilosort2 through Python
- computing cluster quality measures, and separating single units and MUA
- locating the surface recording channel
- reading random sync events from the Neuropixel recording, tracking and IMU files
- assessing whether the recording, tracking and IMU systems are synced
- splitting clusters back to original sessions / getting spike times
- converting raw tracking files to a format loadable by the lab GUI
- re-heading different analyses (.mat) files based on one template session
Please refer to the executor notebook for further instructions.
Anaconda (Python 3.7 version)
To install KISN-PyLab on Windows, you can follow the steps below.
- Open the command prompt. To do so click on the Windows icon and type "cmd" and press enter.
- Type in the following into your new command prompt window:
conda create -n lab python=3.7
where "lab" can be any name you like. This will be the name of your environment inside which you'll install all relevant Python packages. Confirm with 'Y' that you want to create this environment.
- Activate the newly created environment to start working with it by running:
activate lab
- Install KISN-PyLab by running the following command in the virtual environment:
conda install -c bartulem kisn_pylab
Confirm with 'Y' that you want to install this package. This should work on 64-bit platforms. Let me know if it doesn't.
If you have git
, you can simply clone the KISN-PyLab repository with git clone https://github.com/bartulem/KISN-PyLab.git
. Otherwise, you can download the compressed file to your computer, depending on the OS.
After downloading KISN-PyLab, to install, run:
python setup.py install
If you are not root, run:
python setup.py install --user