BGlib.be.translators.df_utils.be_utilsΒΆ
Created on Tue Jan 05 07:55:56 2016
@author: Suhas Somnath, Chris Smith, Rama K. Vasudevan
Functions
This function will determine the proper Spectroscopic Value array for the dataset |
|
Creates a nested dictionary of parameters for Band EXcitation from the standard flat dictionary |
|
Generates the spatially averaged datasets for the given raw dataset. |
|
Generates a (preferably small) test data set using the given parameters. |
|
Generates a bi-polar triangular waveform based on basic parameters |
|
Returns all the active UDVS steps in the data |
|
Returns the spectroscopic indices that correspond to the given udvs_step_index that can be used to slice the main data matrix. |
|
Slices the provided H5 dataset by the provided wave type. |
|
For a provided plot group name in the udvs table, this function returns the corresponding spectroscopic indices that can be used to index / slice the main data set and the data within the udvs table for the requested plot group * Developer note - Replace the first parameter with the Raw_Data dataset |
|
Returns the indices that correspond to the given excitation waveform that can be used to slice the bin datasets * Developer note - Replace the first parameter with the Raw_Data dataset |
|
Returns the spectroscopic indices that correspond to the given udvs_step_index that can be used to slice the main data matrix * Developer note - Replace the first parameter with the Raw_Data dataset |
|
Returns the label for the spectroscopic parameter in the plot group. |
|
Infers the VS cycle fraction and phase when parameters were stored in old mat files |
|
This function figures out if a single number defines the bins for all UDVS steps In such cases (udvs_steps x bins, pos) can be reshaped to (bins, positions x steps) for (theoretically) faster computation, especially for large datasets |
|
Calculates the maximum number of pixels that can be loaded into the specified memory size. |
|
This function normalizes the BE waveform to correct the phase by diving by the excitation |
|
Translates the parameters in the text file into a dictionary. |
|
Removes non-existent spectroscopic dimension name and units from attributes of spectroscopic datasets. |
|
Determines whether or not the conjugate of the data needs to be taken based on the quality factor |
|
Takes in the mean data vector and rearranges that data according to plot group as [step number,bins] |
|
Removes unused (typically default) plot groups |
|
Visualizes the plot groups present in the provided BE data file |
Classes
Class just functions as a container so we can have shared objects Chris Smith -- csmith55@utk.edu |