Extracellular Electrophysiology Data Quick Start

A short introduction to the Visual Coding Neuropixels data and SDK. For more information, see the full reference notebook.

Contents

The EcephysProjectCache is the main entry point to the Visual Coding Neuropixels dataset. It allows you to download data for individual recording sessions and view cross-session summary information.

This dataset contains sessions in which two sets of stimuli were presented. The "brain_observatory_1.1" sessions are (almost exactly) the same as Visual Coding 2P sessions.

peristimulus time histograms

We are going to pick a session arbitrarily and download its spike data.

We can get a high-level summary of this session by acessing its metadata attribute:

We can also take a look at how many units were recorded in each brain structure:

Now that we've gotten spike data, we can create peristimulus time histograms.

image classification

First, we need to extract spikes. We will do using EcephysSession.presentationwise_spike_times, which returns spikes annotated by the unit that emitted them and the stimulus presentation during which they were emitted.

Next, we will convert these into a num_presentations X num_units matrix, which will serve as our input data.

... with targets being the numeric identifiers of the images presented.

imagewise performance