Learning material#

Pynapple has been featured in many workshops, summer schools, and more. Underneath you can find links to all the teaching material we generated for these events. If you are not satisfied by the examples on the website, go and take a look at these!

If you made your own teaching material and think it could help others learn to use Pynapple, feel free to make a pull request to the Pynapple GitHub page so we can include it here.

Basic tutorials#

The following tutorials are meant to get you started with Pynapple. They are designed to be accessible to beginners, and they cover the basics of data loading, manipulation, and analysis.

Topic

Type

Authors

Learning the fundamentals of Pynapple

web page

Guillaume Viejo

Pynapple & NeMoS Cheat Sheet

cheat sheet

Aramis Tanelus

Signal processing

notebook

Sarah Jo Venditto

An introduction to Pynapple

web page

Wolf De Wulf

Curated examples#

The following examples are curated from the Pynapple documentation and other teaching material. They are meant to be a starting point for your own analysis.

Analysing head-direction cells

Compute head-direction tuning curves from a freely-moving recording, streaming the NWB file from OSF.

Analysing head-direction cells
Analysing head-direction cells
Streaming data from DANDI

Stream an NWB file directly from the DANDI Archive into pynapple, without downloading the whole dataset.

Streaming data from DANDI
Streaming data from DANDI
Null distributions to test spatial firing

Use the randomization module to build null distributions and test whether firing is modulated by position.

Null distributions to test spatial firing
Null distributions to test spatial firing
Calcium Imaging

Extract head-direction tuning from a one-photon Miniscope recording of a freely-moving mouse.

Calcium Imaging
Calcium Imaging
Wavelet Transform

Apply the wavelet transform to hippocampal LFP recorded during active traversal of a linear track.

Wavelet Transform
Wavelet Transform
Spikes-phase coupling

Band-pass filter LFP from REM sleep to extract phase, and find the phase preference of spiking units.

Spikes-phase coupling
Spikes-phase coupling
Trial-aligned decoding with International Brain Lab data

Trial-align spiking activity from the IBL decision task and decode the animal’s choice with logistic regression.

Trial-aligned decoding with International Brain Lab data
Trial-aligned decoding with International Brain Lab data
Detecting sharp-wave ripples

Detect hippocampal sharp-wave ripples in the Grosmark & Buzsáki dataset using pynapple’s filtering tools.

Detecting sharp-wave ripples
Detecting sharp-wave ripples

Topic

Type

Authors

Analyzing head-direction cells with Pynapple

web page

Guillaume Viejo

Calcium imaging analysis of head-direction cells

web page

Guillaume Viejo

Analyzing hippocampal place cells with Pynapple and NeMoS

web page

Sarah Jo Venditto

Exploring the Allen Institute’s Visual Coding dataset

web page

Guillaume Viejo

Data wrangling, 1D neural tuning, and model fitting

notebook

Sarah Jo Venditto

2D neural tuning and model fitting

notebook

Sarah Jo Venditto

Neural decoding

notebook

Sarah Jo Venditto

Fitting injected currents using GLMs

web page

Edoardo Balzani

Fitting a head direction population using GLMs

web page

Edoardo Balzani

Fitting grid cells using GLMs

web page

Edoardo Balzani

Fitting place cells using GLMs

web page

Edoardo Balzani

Fitting V1 cells using GLMs

web page

Edoardo Balzani

Fitting calcium imaging using GLMs

web page

Edoardo Balzani

Workshop materials#

The following materials were generated for workshops and summer schools.