Home | Trees | Indices | Help |
|
---|
|
Data.py - Functions to load data from Matlab files and to interpolate the frequency and magnitude of the maxima.
|
|||
__Parabola Class for fiting an equation of the form y = ax**2 + bx + c |
|
|||
|
|||
|
|
Load data from a matlab file. All variable name in the names tuple are fetched and returned . Example: >>> import os >>> import numpy >>> import wiat >>> f,z = wiat.Data.load_from_mat(('freqs','z'), ... os.path.join(wiat.MEASUREMENTDIR,'20080412Ztoneholeless.mat')) >>> numpy.size(f) == numpy.size(z) True
|
Find the maxima in the data and interpolate with Parbola to find the frequency and amplitude of the maxima. Results that are noisy are likely to pose problems to the algorithm.
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Wed Jun 18 14:33:28 2008 | http://epydoc.sourceforge.net |