Skip to main content

Tools and functions for neural data processing and analysis in python

Project description

GH Actions Tests codecov PyPI version Open in Code Ocean License

naplib-python

Tools and functions for neural acoustic data processing and analysis in python. The documentation can be acccessed at the link below. It contains the API reference as well as example notebooks.

Installation

naplib-python is available on PyPi. To install or update this package with pip, run the following command:

pip install naplib

To upgrade the version, run:

pip install --upgrade naplib

API

The basic data structure for storing neural recording data is the Data object, which contains neural recordings and other variables associated with different trials such as stimuli and other metadata. Examples of loading and using this data structure can be found in the documentation and the docs/examples/ folder.

Data Structure Schematic

Contributions

naplib-python is built by the Neural Acoustic Processing Lab at Columbia University. We primarily use it for processing neural data coming from electrocorticography (ECoG) and electroencephalography (EEG) along with paired audio stimuli in order to study the auditory cortex. You are free to use the software according to its license, and we welcome contributions if you would like to propose changes, additions, or fixes. See our contribution guide for more details.

Citing naplib-python

If you find naplib-python useful for your research, please cite the following paper (link):

Gavin Mischler, Vinay Raghavan, Menoua Keshishian, & Nima Mesgarani (2023). naplib-python: Neural acoustic data processing and analysis tools in python. Software Impacts, 17, 100541.

Backlog

The following items are ToDo items on the backlog:

  • Look into data parallelization methods for the Data object and associated methods
  • Consider making the Data object a dataclass
  • Implement functionality to write Data objects to MATLAB formats (possibly EEGLab formats)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

naplib-2.0.0-py3-none-any.whl (83.3 MB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page