Edit this page

NWB Workshops and Hackathons

:rewind: Back to the projects list

Conversion of Pesaran lab electrophysiology data to the NWB:N format

Key Investigators

Project Description

The goal of this project is to convert local field potential and spike time data from the Pesaran Lab to the NWB format. This data includes behavioral data from awake, behaving Rhesus Macaques. This data is typically analyzed by aligning spike times or local field potential data to behavioral events of interest, such as the initiation of a saccade. Therefore, it would be useful to have a clean mechanism for associating data from combinations of arbitrary behavioral conditions (e.g. a saccade to the left during an instructed delay task two-alternative forced choice task), user-defined data conditions (e.g. spike time data from cells tuned to saccade direction from electrodes in the lateral intraparietal sulcus) at user-specified events (e.g. the beginnning of an optogenetic stimulation sequence). As our lab continues to extend recording modalities (e.g. to 2-photon calcium imaging), it would also be useful to have the ability to seamlessly integrate new data formats and types.

Our lab has previously developed in house solutions for working with the above data in Matlab. Here we hope to allow seamless import and export to NWB using the available APIs.


  1. Objective A. Convert Pesaran lab single-unit spike time electrophysiology data into the NWB:N file format
  2. Objective B. Convert Pesaran lab local field potential data into NWB:N file format
  3. Objective C. Create tools for filtering and aligning data to user-specified epochs

Approach and Plan

We will focus on a single previously published experiment consisting of data from a working memory task in Rhesus Macaques to develop and test the implementation.

  1. Load spike times from a single aribtrary unit into the NWB:N format, test event-locked responses from the NWB:N format against in-house
  2. Load spike times from multiple single units into NWB:N format
  3. Load LFP data from a single electrode into NWB:N format
  4. Load LFP data from multiple simultaneously recorded electrodes into NWB:N format
  5. Align above time series data to a specific epoch and behavioral condition of interest.

Progress and Next Steps


Background and References

Published description of data: http://www.pnas.org/content/112/35/11084