Pynapple, a toolbox for data analysis in neuroscience

Guillaume Viejo, Daniel Levenstein, Sofia Skromne Carrasco, Dhruv Mehrotra, Sara Mahallati, Gilberto R. Vite, Henry Denny, Lucas Sjulson, Francesco P. Battaglia, Adrien Peyrache

Research output: Contribution to journalArticlepeer-review

2 Scopus citations

Abstract

Datasets collected in neuroscientific studies are of ever-growing complexity, often combining high-dimensional time series data from multiple data acquisition modalities. Handling and manipulating these various data streams in an adequate programming environment is crucial to ensure reliable analysis, and to facilitate sharing of reproducible analysis pipelines. Here, we present Pynapple, the PYthon Neural Analysis Package, a lightweight python package designed to process a broad range of time-resolved data in systems neuroscience. The core feature of this package is a small number of versatile objects that support the manipulation of any data streams and task parameters. The package includes a set of methods to read common data formats and allows users to easily write their own. The resulting code is easy to read and write, avoids low-level data processing and other error-prone steps, and is open source. Libraries for higher-level analyses are developed within the Pynapple framework but are contained within a collaborative repository of specialized and continuously updated analysis routines. This provides flexibility while ensuring long-term stability of the core package. In conclusion, Pynapple provides a common framework for data analysis in neuroscience.

Original languageEnglish (US)
JournaleLife
Volume12
DOIs
StatePublished - 2023

ASJC Scopus subject areas

  • General Immunology and Microbiology
  • General Biochemistry, Genetics and Molecular Biology
  • General Neuroscience

Fingerprint

Dive into the research topics of 'Pynapple, a toolbox for data analysis in neuroscience'. Together they form a unique fingerprint.

Cite this