#include <Convolution.h>

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. | |
| Convolution::Convolution | ( | ApplicationWindow * | parent, | |
| Table * | t, | |||
| const QString & | signalColName, | |||
| const QString & | responseColName | |||
| ) |
References setDataFromTable().
| void Convolution::addResultCurve | ( | ) | [protected] |
Handles the graphical output.
References MultiLayer::activeLayer(), Table::addCol(), Table::colName(), Table::colNames(), ColorBox::color(), Filter::createOutputGraph(), Filter::d_curveColorIndex, ApplicationWindow::d_decimal_digits, Filter::d_graphics_display, Filter::d_n, Filter::d_output_graph, Filter::d_table, Filter::d_x, Graph::insertPlotItem(), Graph::Line, ApplicationWindow::locale(), Table::numCols(), Table::setColName(), Table::setColPlotDesignation(), Table::setHeaderColType(), Table::setText(), Graph::updatePlot(), Table::X, and Filter::x().
Referenced by Deconvolution::output(), and output().
| 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 Deconvolution::output(), and 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.
| int Convolution::responseDataSize | ( | ) | [inline] |
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 | |||
| ) |
References Table::cell(), Table::colIndex(), Filter::d_init_err, Filter::d_n, d_n_response, d_n_signal, Filter::d_table, Filter::d_x, Filter::d_y, Table::numRows(), and Table::text().
Referenced by Convolution(), and Deconvolution::Deconvolution().
| int Convolution::signalDataSize | ( | ) | [inline] |
Returns the size of the signal data set.
References d_n_signal.
Referenced by Deconvolution::output().
int Convolution::d_n_response [private] |
int Convolution::d_n_signal [private] |
1.5.6