-
Notifications
You must be signed in to change notification settings - Fork 15
Data File Format
By default, the Qlab ExpManager
uses an HDF5DataHandler
to write data to HDF5 (.h5) files1. The loadData()
method in analysis/ can be used to read this file into MATLAB. If you want to write your own reader, the HDF5 file has the following structure:
nbrDataSets
The number of DataSet groups contained in the file
version
The version number of the file format. Currently 2.0.
header
A JSON struct containing the settings used to run the experiment.
dimension
The dimensionality of the data set.
name
The name of the data set.
real
The real part of the data array
imag
The imaginary part of the data array
xpoints
A vector of points representing the coordinates along the first axis of the data.
ypoints
(2+ dim only)
A vector of points representing the coordinates along the second axis of the data
zpoints
(3+ dim only)
A vector of points representing the coordinates along the third axis of the data
- You can supply your own data handler if it supports the same open/write/close interface.