QtiPlot  0.9.8.2
Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes
Convolution Class Reference

#include <Convolution.h>

Inheritance diagram for Convolution:
Filter Deconvolution

List of all members.

Public Member Functions

 Convolution (ApplicationWindow *parent, Table *t, const QString &signalColName, const QString &responseColName)
int responseDataSize ()
 Returns the size of the response data set.
void setDataFromTable (Table *t, const QString &signalColName, const QString &responseColName)
int signalDataSize ()
 Returns the size of the signal data set.

Protected Member Functions

void addResultCurve ()
 Handles the graphical output.
void convlv (double *sig, int n, double *dres, int m, int sign)
 Performes the convolution of the two data sets and stores the result in the signal data set.

Private Member Functions

virtual void output ()
 Performs the data analysis and takes care of the output.

Private Attributes

int d_n_response
 Size of the response data set.
int d_n_signal
 Size of the signal data set.

Constructor & Destructor Documentation

Convolution::Convolution ( ApplicationWindow parent,
Table t,
const QString &  signalColName,
const QString &  responseColName 
)

References setDataFromTable().


Member Function Documentation

void Convolution::addResultCurve ( ) [protected]
void Convolution::convlv ( double *  sig,
int  n,
double *  dres,
int  m,
int  sign 
) [protected]

Performes the convolution of the two data sets and stores the result in the signal data set.

Referenced by output(), and Deconvolution::output().

void Convolution::output ( ) [private, virtual]

Performs the data analysis and takes care of the output.

Reimplemented from Filter.

Reimplemented in Deconvolution.

References addResultCurve(), convlv(), d_n_response, d_n_signal, Filter::d_result_table, Filter::d_table, Filter::d_x, and Filter::d_y.

Returns the size of the response data set.

References d_n_response.

Referenced by Deconvolution::output().

void Convolution::setDataFromTable ( Table t,
const QString &  signalColName,
const QString &  responseColName 
)
int Convolution::signalDataSize ( ) [inline]

Returns the size of the signal data set.

References d_n_signal.

Referenced by Deconvolution::output().


Member Data Documentation

Size of the response data set.

Referenced by output(), responseDataSize(), and setDataFromTable().

int Convolution::d_n_signal [private]

Size of the signal data set.

Referenced by output(), setDataFromTable(), and signalDataSize().


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