BGlib.be.viz.qt_visualizers.io_funcs

Created on Apr 20, 2016

@author: Chris Smith – csmith55@utk.edu

Functions

getSpectralData

This function accepts a tuple (x,y) and extracts the spectra from matrix (data) at that point, and returns an Nx2 vector

loadDataFunc

Function to load the N-D data from a .mat file Output: N-D numpy data array, Nx2 x-vector array array indices are (Step, #rows, #cols, cycle#)

readACData

Reads the data for AC modulation experiments

readDCData

Reads the data for DC modulation experiments

readData

Reads the hdf5 data file and calls appropriate reader based on data type Input: h5_path -- the absolute file path to the hdf5 file to be read in. dset_name -- the name of the main dataset.