Skip to main content

Neuro Digital Signal Processing Toolbox

build status version build status coverage license python versions publication

Tools to analyze and simulate neural time series, using digital signal processing.

Overview

neurodsp is a collection of approaches for applying digital signal processing, and related algorithms, to neural time series. It also includes simulation tools for generating plausible simulations of neural time series.

Available modules in NeuroDSP include:

  • filt : Filter data with bandpass, highpass, lowpass, or notch filters

  • timefrequency : Estimate instantaneous measures of oscillatory activity

  • spectral : Compute freqeuncy domain features such as power spectra

  • burst : Detect bursting oscillations in neural signals

  • rhythm : Find and analyze rhythmic and recurrent patterns in time series

  • aperiodic : Analyze aperiodic features of neural time series

  • sim : Simulate time series, including periodic and aperiodic signal components

  • plts : Plot neural time series and derived measures

  • utils : Additional utilities for managing time series data

Documentation

Documentation for the NeuroDSP module is available here.

The documentation includes:

  • Tutorials: which describe and work through each module in NeuroDSP

  • Examples: demonstrating example applications and workflows

  • API List: which lists and describes all the code and functionality available in the module

  • Glossary: which defines all the key terms used in the module

If you have a question about using NeuroDSP that doesn’t seem to be covered by the documentation, feel free to open an issue and ask!

Dependencies

NeuroDSP is written in Python, and requires Python >= 3.6 to run.

It has the following dependencies:

Optional dependencies:

  • pytest is needed if you want to run the test suite locally

We recommend using the Anaconda distribution to manage these requirements.

Install

The current major release of NeuroDSP is the 2.X.X series.

See the changelog for notes on major version releases.

Stable Release Version

To install the latest stable release, you can use pip:

$ pip install neurodsp

NeuroDSP can also be installed with conda, from the conda-forge channel:

$ conda install -c conda-forge neurodsp

Development Version

To get the current development version, first clone this repository:

$ git clone https://github.com/neurodsp-tools/neurodsp

To install this cloned copy, move into the directory you just cloned, and run:

$ pip install .

Editable Version

To install an editable version, download the development version as above, and run:

$ pip install -e .

Contribute

This project welcomes and encourages contributions from the community!

To file bug reports and/or ask questions about this project, please use the Github issue tracker.

To see and get involved in discussions about the module, check out:

  • the issues board for topics relating to code updates, bugs, and fixes

  • the development page for discussion of potential major updates to the module

When interacting with this project, please use the contribution guidelines and follow the code of conduct.

Reference

If you use this code in your project, please cite:

Cole, S., Donoghue, T., Gao, R., & Voytek, B. (2019). NeuroDSP: A package for
neural digital signal processing. Journal of Open Source Software, 4(36), 1272.
DOI: 10.21105/joss.01272

Direct Link: https://doi.org/10.21105/joss.01272

Bibtex:

@article{cole_neurodsp:_2019,
    title = {NeuroDSP: A package for neural digital signal processing},
    author = {Cole, Scott and Donoghue, Thomas and Gao, Richard and Voytek, Bradley},
    journal = {Journal of Open Source Software},
    year = {2019},
    volume = {4},
    number = {36},
    issn = {2475-9066},
    url = {https://joss.theoj.org/papers/10.21105/joss.01272},
    doi = {10.21105/joss.01272},
}

Funding

Supported by NIH award R01 GM134363 from the NIGMS.

https://www.nih.gov/sites/all/themes/nih/images/nih-logo-color.png

Metadata

Release files for neurodsp 2.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for neurodsp 2.3.0
File Size Uploaded
neurodsp-2.3.0.tar.gz 108.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for neurodsp 2.3.0
File Interpreter ABI Platform
neurodsp-2.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 257.9 kB

Release files / neurodsp-2.3.0.tar.gz

Download URL neurodsp-2.3.0.tar.gz
Size 108.1 kB
Tags Source
SHA-256 checksum
How to use checksums
0aab3d2bf5729b06f9925f8251f5111f0e6119f07aaa5522a0a1f750765b5639
BLAKE2b-256 checksum
How to use checksums
362e26885513735d56ff5950cbc687206ea1d60c7fc6fcab29a021183aaf6be4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.3

Release files / neurodsp-2.3.0-py3-none-any.whl

Download URL neurodsp-2.3.0-py3-none-any.whl
Size 149.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a88698fb05298a9b682488140c2ce93a095699ba895e91817191fde79806c48f
BLAKE2b-256 checksum
How to use checksums
e7c30b36aabe9dae7757a1a9ea32634fbf6680bd2771925cb461e6b45656ce6c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.3

Release history Release notifications | RSS feed

This release

2.3.0 This release

2 release files

2.2.1

2 release files

2.2.0

1 release file

2.1.0

2 release files

2.0.0

2 release files

1.1.2

2 release files

1.0.0

2 release files

0.3.1

1 release file

0.3

1 release file

0.2

1 release file

0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page