RosAna
A rosette analyzer and synthesizer tool
 All Classes Namespaces Functions Variables Properties
Static Public Member Functions | Static Private Member Functions | List of all members
FourierAnalysis Class Reference

The FourierAnalysis class handles data adjustment and Fourier analysis of trace data. More...

Static Public Member Functions

static QStandardItemModelanalyze (QVector< QPointF > *trace)
 Initiates analysis of a sampled and normalized trace. More...
 

Static Private Member Functions

static cv::Mat adjustSamplePoints (QVector< QPointF > *normalizedSamples)
 Adjusts the sample points. More...
 
static void meanAdjust (QVector< QPointF > *samples)
 Adjusts samples by subtracting their mean from all points. More...
 
static QStandardItemModelfourier (cv::Mat samples)
 Performs Fourier analysis on the sample points. More...
 
static QStandardItemModelbuildModel (cv::Mat values, QVector< int > indexes)
 Builds a model of the detected parameters. More...
 
static QVector< int > adjustValues (QVector< int > indexes, cv::Mat angles)
 FourierAnalysis::adjustValues.
 

Detailed Description

The FourierAnalysis class handles data adjustment and Fourier analysis of trace data.

Member Function Documentation

cv::Mat FourierAnalysis::adjustSamplePoints ( QVector< QPointF > *  normalizedSamples)
staticprivate

Adjusts the sample points.

Parameters
normalizedSamplesThe sample points.
Returns
adjusted sample points in a cv::Mat.
QStandardItemModel * FourierAnalysis::analyze ( QVector< QPointF > *  trace)
static

Initiates analysis of a sampled and normalized trace.

Parameters
traceNew sample points.
Returns
a new model with the results of the Fourier analysis.
QStandardItemModel * FourierAnalysis::buildModel ( cv::Mat  values,
QVector< int >  indexes 
)
staticprivate

Builds a model of the detected parameters.

Parameters
valuesAmplitude values.
indexesThe significant indexes.
Returns
a new model.
QStandardItemModel * FourierAnalysis::fourier ( cv::Mat  samples)
staticprivate

Performs Fourier analysis on the sample points.

Parameters
samplesAdjusted sample points.
Returns
a model of the detected paramters.
void FourierAnalysis::meanAdjust ( QVector< QPointF > *  samples)
staticprivate

Adjusts samples by subtracting their mean from all points.

Parameters
samplesSample points to be adjusted.

The documentation for this class was generated from the following files: