The ELectrophysiology Repository for Open-source Neural Data
A comprehensive pipeline for electrophysiological recordings in rodents.
This repository contains scripts to call spike sorting and post processing of electrophysiological data recorded from rodents across a range of behavioural tasks including free-moving open field, head-fixed virtual environments, sleep and video playback experiments. Spike sorting is controlled primarily through SpikeInterface objects and functions, Curation is possible through Phy while post-processing is controlled through custom scripts.
The codebase can be used at every stage of research.
- Data preparation and daily analysis to provide vital feedback to inform experimental decisions during an experiment
- Post experimental anaylsis for projects and publication
- Data collation for open-source publication of raw data using the DANDI Archieve in Neuro Data without Borders (NWB) formatting.
Activate your desired virtual enviroment, and navigate to where you keep your git repositories (cd path/to/my/git/repos
in terminal). Then clone this repo, and install it:
git clone https://github.com/HDClark94/Elrond.git
pip install Elrond/
You can now either: import individual functions from modules
>>> from Elrond.Helpers.upload_download import chronologize_paths
>>> chronologize_paths(['1-4','1-2'])
['1-2', '1-4']
Or import submodules and use functions from each
>>> import Elrond.Helpers as ElHelp
>>> ElHelp.chronologize_paths(['1-4','1-2'])
['1-2', '1-4']
or
>>> import Elrond.P2_PostProcess.VirtualReality as ElVR
>>> ElVR.process_video(...)
Please submit an issue to discuss.
Spike sorting crashed with a "too many files open" error: Look in additional_files/fix_file_open_limit_linux for instructions for a workaround