Edit this page

NWB Workshops and Hackathons

Back to Projects List

Patchmaster (HEKA) to NWB converter

Key Investigators

Project Description

This project aims to write a script which can convert Patchmaster .dat files to NWB format.

HEKA’s Patchmaster software generates a binary file which contains every data of the experiment: acquired traces, properties of the acquisition and the stimulus. They described the format of the binary files, but there isn’t any available software to read the whole file (only the acquisition data).


  1. Get to know with the NWB format and PyNWB.
  2. Write a script which reads HEKA data into Python.
  3. Write a script which generates NWB files from the HEKA file’s Python representation.

Progress and Next Steps


  1. I could understand the concept behind the NWB schema, and I learned how to create and write NWB files from Python using PyNWB.
  2. I found a HEKA to Python reader which reads acquisition data into a Python object. Using this script I could write sweeps into NWB.

Next Steps

  1. I have to extend the reader script to handle stimulus data too.
  2. Modify the NWB file writer script to include all data (not only the acquired data).


Background and References