Skip to content

A comprehensive pipeline for processing electrophysiological recordings and behaviour in rodents

Notifications You must be signed in to change notification settings

HDClark94/Elrond

Repository files navigation

Elrond:

The ELectrophysiology Repository for Open-source Neural Data

Overview

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.

  1. Data preparation and daily analysis to provide vital feedback to inform experimental decisions during an experiment
  2. Post experimental anaylsis for projects and publication
  3. Data collation for open-source publication of raw data using the DANDI Archieve in Neuro Data without Borders (NWB) formatting.

Installation

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(...)

Example output figures

image

How to contribute

Please submit an issue to discuss.

FAQ

Spike sorting crashed with a "too many files open" error: Look in additional_files/fix_file_open_limit_linux for instructions for a workaround

About

A comprehensive pipeline for processing electrophysiological recordings and behaviour in rodents

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •