Material for the spike sorting/SpikeInterface training day, part of the Cajal movement and motor control 2024.
To do before the training:
- Install SpikeInterface, using the installation guide below
- Download the dataset for the tutorials
Tuesday 19th November
11:00-11:45 Introduction to spike sorting
11:45-12:300 Overview of SpikeInterface + demo
14:00 18:00 : SpikeInterface detailed handons and tutorials
- Object interaction cookbook 15min
- Probe handling 15min
- Preprocessing 20min
- Drift with generated data 20min
- Postprocessing 20min
- Visualization (Sortingview, Sigui) 20min
- Metrics & Curation (Automerge, etc.) 20min
- Sorting on your own dataset 30min
18:00 19:00 EMUsort Samuel Sober
Given the limited time, the hands-on session is more a follow-along guided tutorials. You can download all notebooks on this repo.
This procedure use the new uv fast installer for python.
Procedure for Windows/Apple/Linux:
- On macOS and Linux. Open a terminal and do $ curl -LsSf https://astral.sh/uv/install.sh | sh
- On windows. Open a powershell and do powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
- exit session and log again.
- Go to this page https://github.com/samuelgarcia/school_spike_sorting_neuralnet_saclay_2024
- Click on "code" (green button) and download the zip. Etxract the zip.
- open terminal or powershell
- Go to the correct folder
cd C:/users/myusername/where_the_zip_is
- Create an empty env
uv venv si_env --python 3.11
- Activate the env
source si_env/bin/activate
(you should have (si_env) in your terminal) uv pip install -r requirements_tutorial.txt
Do not wait to do this during the tutorial, it can be time consuming
For installtion, you can have more information here
Please download datasets from this link and unzip them:
https://drive.google.com/drive/folders/17RlgsMLheW82IMLMgmTFifVACebDZ8X5?usp=sharing