Course data

This page includes information on the provenance of all data used in the course and instructions on how to download it from open access datasets on DANDI archive and from the International Brain Laboratory (IBL).

Beyond this course, it is useful to be aware of these excellent resources. They are very valuable for testing pipelines, comparing your datasets to other data collected from the same region or using the same probe. Further, they allow you to perform your own interesting analysis without collecting data. For example, this recent Paninski/Fusi-lab paper was based on their analysis of the International Brain Lab (IBL)’s open Brainwide Map.

Download all course data at once

For convenience, all datasets used in the course are hosted on Zenodo and Dropbox for easy download. These are typically cut-down versions of recordings (e.g. 90 seconds of an hour-long recording) that can be run in a short amount of time. If you prefer, the sections below explain how to download the data directly from the open repositories instead — useful if you only want a specific dataset, or want the full recordings for your own exploration.

To download everything required for the course at once:

  • All files from the course Zenodo data repository
  • The AL032 dataset from this Dropbox, used in the UnitMatch chapter.
  • (optional) The larger EB055 dataset from the same Dropbox, used in the UnitMatch chapter extended exercises.

Course data information

Head direction experiment from the DANDI archive

Used in preprocessing, sorting, postprocessing and Pynapple analysis.

The DANDI archive is an open, NIH-backed repository for sharing neurophysiology datasets in the standardized Neurodata without borders (NWB) file format (which SpikeInterface can load).

You can explore the many datasets on their website, and download them using either the Python API (used in this course) or DANDI’s command line interface, specifying the Dandiset ID and the path to the asset you want.

The dataset we will use through the majority of this course is hosted on DANDI here. The data was used in Duszkiewicz et al., 2024. The experiments recorded from the postsubiculum, a parahippocampal cortical region of the parahippocampal formation and a key hub of the spatial navigation system, using a 64-channel single-shank Cambridge Neurotech probe. They recorded from mice using open-field exploration (as well as during sleep) in which they measured the head-direction of the mice. They were interested in investigating neural tuning for head direction (i.e. head-direction tuned neurons fire when the head of an animal is facing a particular direction or angle).

The function found here can be used to download and save datasets (either the entire recording or parts of it) using SpikeInterface. We will use it to download the dataset above, but the same approach works for any of the thousands of recordings hosted on DANDI.

Spike times and behavior used in the Pynapple section

The NWB file for this dataset includes not only the raw electrophysiological data, but the results of spike sorting (spike times, units) and behavioral data from the experiment.

For the Pynapple head-direction decoding task, we only need the sorting outputs and behavioral data. Therefore we use this function to remove the electrophysiological data and accelerometer from the full NWB file. The cut-down data is available in the course repository at book/data/pynapple/dandiset-000939-no-traces-full.nwb.

IBL Benchmark dataset

Used in Explore the IBL dataset with viewephys.

The IBL Benchmark dataset is a curated set of 11 Neuropixels recordings in varied brain regions available publicly via the Open Neurophysiology Environment (ONE) API. Data can be streamed directly — no bulk download required.

The IBL walkthrough demonstrates how to:

  1. Connect to the public IBL server and select a probe insertion by its pid
  2. Stream a short snippet of raw AP-band voltage
  3. Apply a Butterworth high-pass filter (300 Hz) to remove LFP/DC drift
  4. Run the full IBL destriping pipeline (ADC shift correction + spatial k-filter)
  5. Open all three stages side-by-side in the viewephys interactive viewer