Skip to content

Personal electrophysiology preprocessing & analysis code

Notifications You must be signed in to change notification settings

ewesteinde/ephysCode

Repository files navigation

ephysCode

Personal electrophysiology acquisition, preprocessing & analysis code

Usage

Code base with 3 major functions:

  1. To perform system integration necessary to acquire electrophysiology neural and behaviour signals across a wide range of experiment types and equipment.
  2. To preprocess raw digital signals representing neural activity and behavioural variables of interest.
  3. To analyze these signals to understand the link between neural activity and behaviour.
    • Contained in Analysis_code
    • Unique to each cell type and experiment, a lot of test code & WIP, see WesteindeWilson2024 for examples.

Example signal preprocessing pipeline:

Raw signal acquisition

Communication between devices mediated by the Data Acquisition Toolbox with National Instruments support.

Behaviour preprocessing

behaviour preprocessing steps Behaviour data is collected at 60Hz. Perform light filtering, unwrapping, unit conversion, and resampling as necessary to reduce noise but minimize signal distortion.

Electrophysiology preprocessing

Detect action potentials (spikes) ephys preprocessing step 1 Convert binary spikes to instantaneous firing rate, example shown uses a gaussian kernal. ephys preprocessing step 2 Electrophysiology data is collected at 5kHz, resampled to 1kHz for usability and lightly filtered to remove noise without distorting biological signals. Finally action potentials (spikes) are detected and converted to instantaneous firing rate.

About

Personal electrophysiology preprocessing & analysis code

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages