Abstract base class for data analysis operations. More...
#include <Filter.h>
Public Member Functions | |
int | dataSize () |
Returns the size of the input data set. | |
virtual void | enableGraphicsDisplay (bool on=true, Graph *g=0) |
bool | error () |
Filter (ApplicationWindow *parent, Table *t=0, const QString &name=QString()) | |
Filter (ApplicationWindow *parent, Graph *g=0, const QString &name=QString()) | |
Filter (ApplicationWindow *parent, QwtPlotCurve *c) | |
virtual QString | legendInfo () |
Output string added to the plot as a new legend. | |
Graph * | outputGraph () |
Returns a pointer to the graph where the result curve should be displayed. | |
Table * | resultTable () |
Returns a pointer to the table created to display the results. | |
virtual bool | run () |
Actually does the job. Should be reimplemented in derived classes. | |
void | setColor (const QString &colorName) |
Sets the color of the output fit curve. Provided for convenience. To be used in scripts only! | |
void | setColor (int colorId) |
Obsolete: sets the color of the output fit curve. | |
void | setColor (const QColor &color) |
Sets the color of the output fit curve. | |
virtual void | setDataCurve (QwtPlotCurve *curve, double start, double end) |
bool | setDataFromCurve (QwtPlotCurve *c, double from, double to) |
bool | setDataFromCurve (const QString &curveTitle, Graph *g=0) |
bool | setDataFromCurve (const QString &curveTitle, double from, double to, Graph *g=0) |
bool | setDataFromCurve (QwtPlotCurve *c) |
virtual bool | setDataFromTable (Table *, const QString &, const QString &, int=1, int=-1) |
void | setInterval (double from, double to) |
Changes the data range if the source curve was already assigned. Provided for convenience. | |
void | setMaximumIterations (int iter) |
Sets the maximum number of iterations to be performed during an iterative session. | |
void | setOutputPoints (int points) |
Sets the number of points in the output curve. | |
void | setOutputPrecision (int digits) |
Sets the precision used for the output. | |
void | setTolerance (double eps) |
Sets the tolerance used by the GSL routines. | |
virtual void | showLegend () |
Adds a new legend to the plot. Calls virtual legendInfo(). | |
double * | x () |
Returns the x values of the input data set. | |
double * | y () |
Returns the y values of the input data set. | |
~Filter () | |
Protected Member Functions | |
QwtPlotCurve * | addResultCurve (double *x, double *y) |
Adds the result curve to the target output plot window. Creates a hidden table and frees the input data from memory. | |
virtual void | calculateOutputData (double *X, double *Y) |
Calculates the data for the output curve and store it in the X an Y vectors. | |
MultiLayer * | createOutputGraph () |
virtual int | curveData (QwtPlotCurve *c, double start, double end, double **x, double **y) |
int | curveIndex (const QString &curveTitle, Graph *g) |
Performs checks and returns the index of the source data curve if OK, -1 otherwise. | |
int | curveRange (QwtPlotCurve *c, double start, double end, int *iStart, int *iEnd) |
virtual void | freeMemory () |
Frees the memory allocated for the X and Y data sets. | |
void | init () |
virtual QString | logInfo () |
Output string added to the log pannel of the application. | |
void | memoryErrorMessage () |
virtual void | output () |
Performs the data analysis and takes care of the output. | |
virtual int | sortedCurveData (QwtPlotCurve *c, double start, double end, double **x, double **y) |
Same as curveData, but sorts the points by their x value. | |
Protected Attributes | |
QwtPlotCurve * | d_curve |
The curve to be analysed. | |
QColor | d_curveColor |
Color index of the result curve. | |
QString | d_explanation |
String explaining the operation in the comment of the result table and in the project explorer. | |
double | d_from |
Data interval. | |
Graph * | d_graph |
The source graph with the curve to be analyzed. | |
bool | d_graphics_display |
Specifies if the filter should display a result curve. | |
bool | d_init_err |
Error flag telling if something went wrong during the initialization phase. | |
int | d_max_iterations |
Maximum number of iterations per fit. | |
int | d_min_points |
Minimum number of data points necessary to perform the operation. | |
int | d_n |
Size of the data arrays. | |
Graph * | d_output_graph |
The graph where the result curve should be displayed. | |
int | d_points |
Number of result points to de calculated and displayed in the output curve. | |
int | d_prec |
Precision (number of significant digits) used for the results output. | |
Table * | d_result_table |
The table displaying the results of the filtering operation (not alvays valid!). | |
bool | d_sort_data |
Specifies if the filter needs sorted data as input. | |
Table * | d_table |
A table source of data. | |
double | d_to |
double | d_tolerance |
GSL Tolerance, if ever needed... | |
double * | d_x |
x data set to be analysed | |
double * | d_y |
y data set to be analysed | |
QString | d_y_col_name |
Abstract base class for data analysis operations.
Filter::Filter | ( | ApplicationWindow * | parent, | |
Table * | t = 0 , |
|||
const QString & | name = QString() | |||
) |
Filter::Filter | ( | ApplicationWindow * | parent, | |
Graph * | g = 0 , |
|||
const QString & | name = QString() | |||
) |
References d_graph, d_output_graph, and init().
Filter::Filter | ( | ApplicationWindow * | parent, | |
QwtPlotCurve * | c | |||
) |
References init().
Filter::~Filter | ( | ) |
References d_n, and freeMemory().
QwtPlotCurve * Filter::addResultCurve | ( | double * | x, | |
double * | y | |||
) | [protected] |
Adds the result curve to the target output plot window. Creates a hidden table and frees the input data from memory.
References createOutputGraph(), d_curve, d_curveColor, ApplicationWindow::d_decimal_digits, d_explanation, d_graphics_display, d_output_graph, d_points, d_result_table, d_y_col_name, ApplicationWindow::generateUniqueName(), Graph::insertPlotItem(), Graph::Line, ApplicationWindow::newHiddenTable(), Table::setText(), and Graph::updatePlot().
Referenced by Fit::generateFitCurve(), output(), and Integration::trapez().
virtual void Filter::calculateOutputData | ( | double * | X, | |
double * | Y | |||
) | [inline, protected, virtual] |
Calculates the data for the output curve and store it in the X an Y vectors.
Reimplemented in FFTFilter, Interpolation, and SmoothFilter.
Referenced by output().
MultiLayer * Filter::createOutputGraph | ( | ) | [protected] |
References MultiLayer::activeLayer(), and d_output_graph.
Referenced by addResultCurve(), Correlation::addResultCurve(), Convolution::addResultCurve(), enableGraphicsDisplay(), MultiPeakFit::generateFitCurve(), Fit::generateFitCurve(), FFT::output(), Differentiation::output(), Fit::showConfidenceLimits(), Fit::showPredictionLimits(), and Fit::showResiduals().
int Filter::curveData | ( | QwtPlotCurve * | c, | |
double | start, | |||
double | end, | |||
double ** | x, | |||
double ** | y | |||
) | [protected, virtual] |
Sets x and y to the curve points between start and end. Memory will be allocated with new double[]. Returns the number of points within range == size of x and y arrays.
References curveRange(), and memoryErrorMessage().
Referenced by setDataCurve().
int Filter::curveIndex | ( | const QString & | curveTitle, | |
Graph * | g | |||
) | [protected] |
Performs checks and returns the index of the source data curve if OK, -1 otherwise.
References Graph::curveIndex(), d_graph, d_init_err, and d_output_graph.
Referenced by setDataFromCurve().
int Filter::curveRange | ( | QwtPlotCurve * | c, | |
double | start, | |||
double | end, | |||
int * | iStart, | |||
int * | iEnd | |||
) | [protected] |
Referenced by curveData(), and sortedCurveData().
int Filter::dataSize | ( | ) | [inline] |
Returns the size of the input data set.
References d_n.
Referenced by FitDialog::closeEvent(), MultiPeakFitTool::finalize(), FitDialog::showConfidenceLimits(), FitDialog::showCovarianceMatrix(), FitDialog::showParametersTable(), FitDialog::showPredictionLimits(), and FitDialog::showResiduals().
void Filter::enableGraphicsDisplay | ( | bool | on = true , |
|
Graph * | g = 0 | |||
) | [virtual] |
References createOutputGraph(), d_graphics_display, and d_output_graph.
Referenced by IntDialog::accept(), and ApplicationWindow::analyzeCurve().
bool Filter::error | ( | ) | [inline] |
References d_init_err.
Referenced by Fit::residuals(), Fit::setWeightingData(), and FitDialog::showFitPage().
void Filter::freeMemory | ( | ) | [protected, virtual] |
Frees the memory allocated for the X and Y data sets.
Reimplemented in Fit.
Referenced by setDataCurve(), setDataFromTable(), FFT::setDataFromTable(), Correlation::setDataFromTable(), Convolution::setDataFromTable(), and ~Filter().
void Filter::init | ( | ) | [protected] |
Reimplemented in Differentiation, ExponentialFit, TwoExpFit, ThreeExpFit, FFT, Fit, Integration, LogisticFit, LorentzFit, GaussFit, GaussAmpFit, NonLinearFit, PluginFit, PolynomialFit, LinearFit, LinearSlopeFit, and SigmoidalFit.
References d_curve, d_curveColor, d_explanation, d_graph, d_graphics_display, d_init_err, d_max_iterations, d_min_points, d_n, d_output_graph, d_points, d_prec, d_result_table, d_sort_data, d_table, d_tolerance, and d_y_col_name.
Referenced by FFTFilter::FFTFilter(), Filter(), Interpolation::Interpolation(), and SmoothFilter::SmoothFilter().
virtual QString Filter::legendInfo | ( | ) | [inline, virtual] |
Output string added to the plot as a new legend.
Reimplemented in Fit, NonLinearFit, and PolynomialFit.
Referenced by showLegend().
virtual QString Filter::logInfo | ( | ) | [inline, protected, virtual] |
Output string added to the log pannel of the application.
Reimplemented in Integration.
Referenced by run().
void Filter::memoryErrorMessage | ( | ) | [protected] |
References d_init_err.
Referenced by curveData(), FFT::fftCurve(), FFT::fftTable(), MultiPeakFit::generateFitCurve(), output(), Fit::setDataCurve(), Fit::setDataFromTable(), setDataFromTable(), FFT::setDataFromTable(), Correlation::setDataFromTable(), Fit::setWeightingData(), Interpolation::sortedCurveData(), and sortedCurveData().
void Filter::output | ( | ) | [protected, virtual] |
Performs the data analysis and takes care of the output.
Reimplemented in Convolution, Deconvolution, Correlation, Differentiation, FFT, and Integration.
References addResultCurve(), calculateOutputData(), d_points, memoryErrorMessage(), x(), and y().
Referenced by run().
Graph* Filter::outputGraph | ( | ) | [inline] |
Returns a pointer to the graph where the result curve should be displayed.
References d_output_graph.
Referenced by ApplicationWindow::differentiate().
Table* Filter::resultTable | ( | ) | [inline] |
Returns a pointer to the table created to display the results.
References d_result_table.
bool Filter::run | ( | ) | [virtual] |
Actually does the job. Should be reimplemented in derived classes.
Reimplemented in Fit.
References d_init_err, d_n, logInfo(), and output().
Referenced by IntDialog::accept(), FFTDialog::accept(), ApplicationWindow::analyzeCurve(), ApplicationWindow::autoCorrelate(), ApplicationWindow::convolute(), ApplicationWindow::correlate(), BaselineDialog::createBaseline(), ApplicationWindow::deconvolute(), ApplicationWindow::differentiate(), FilterDialog::filter(), ApplicationWindow::integrate(), InterpolationDialog::interpolate(), and SmoothCurveDialog::smooth().
void Filter::setColor | ( | int | colorId | ) |
Obsolete: sets the color of the output fit curve.
References d_curveColor, and ColorBox::defaultColor().
Referenced by FitDialog::accept(), FilterDialog::filter(), PolynomFitDialog::fit(), ExpDecayDialog::fit(), ApplicationWindow::fitLinear(), ApplicationWindow::fitSlope(), InterpolationDialog::interpolate(), and SmoothCurveDialog::smooth().
void Filter::setColor | ( | const QColor & | color | ) | [inline] |
Sets the color of the output fit curve.
References d_curveColor.
void Filter::setColor | ( | const QString & | colorName | ) |
Sets the color of the output fit curve. Provided for convenience. To be used in scripts only!
References d_curveColor, and ColorBox::isValidColor().
void Filter::setDataCurve | ( | QwtPlotCurve * | curve, | |
double | start, | |||
double | end | |||
) | [virtual] |
Reimplemented in Fit.
References curveData(), d_curve, d_from, d_init_err, d_min_points, d_n, d_sort_data, d_to, d_x, d_y, freeMemory(), and sortedCurveData().
Referenced by setDataFromCurve().
bool Filter::setDataFromCurve | ( | QwtPlotCurve * | c | ) |
References d_from, d_graph, d_init_err, d_output_graph, d_to, Graph::range(), and setDataCurve().
Referenced by FitDialog::accept(), ApplicationWindow::analyzeCurve(), Differentiation::Differentiation(), ExponentialFit::ExponentialFit(), FFT::FFT(), FFTFilter::FFTFilter(), MultiPeakFitTool::finalize(), PolynomFitDialog::fit(), ExpDecayDialog::fit(), ApplicationWindow::fitLinear(), ApplicationWindow::fitSlope(), GaussAmpFit::GaussAmpFit(), GaussFit::GaussFit(), FitDialog::guessInitialValues(), Integration::Integration(), Interpolation::Interpolation(), LinearFit::LinearFit(), LinearSlopeFit::LinearSlopeFit(), LogisticFit::LogisticFit(), LorentzFit::LorentzFit(), NonLinearFit::NonLinearFit(), PluginFit::PluginFit(), PolynomialFit::PolynomialFit(), setInterval(), SigmoidalFit::SigmoidalFit(), SmoothFilter::SmoothFilter(), ThreeExpFit::ThreeExpFit(), and TwoExpFit::TwoExpFit().
bool Filter::setDataFromCurve | ( | QwtPlotCurve * | c, | |
double | from, | |||
double | to | |||
) |
References d_graph, d_init_err, d_output_graph, and setDataCurve().
bool Filter::setDataFromCurve | ( | const QString & | curveTitle, | |
Graph * | g = 0 | |||
) |
References Graph::curve(), curveIndex(), d_from, d_graph, d_init_err, d_to, Graph::range(), and setDataCurve().
bool Filter::setDataFromCurve | ( | const QString & | curveTitle, | |
double | from, | |||
double | to, | |||
Graph * | g = 0 | |||
) |
References Graph::curve(), curveIndex(), d_graph, d_init_err, and setDataCurve().
bool Filter::setDataFromTable | ( | Table * | t, | |
const QString & | xColName, | |||
const QString & | yColName, | |||
int | startRow = 1 , |
|||
int | endRow = -1 | |||
) | [virtual] |
Reimplemented in Correlation, FFT, and Fit.
References Table::colIndex(), Table::colName(), Table::columnType(), d_curve, d_from, d_graph, d_init_err, d_min_points, d_n, d_sort_data, d_table, d_to, d_x, d_y, d_y_col_name, freeMemory(), memoryErrorMessage(), Table::Numeric, Table::numRows(), and Table::text().
Referenced by ApplicationWindow::differentiate(), Differentiation::Differentiation(), FFTFilter::FFTFilter(), Integration::Integration(), Interpolation::Interpolation(), Fit::setDataFromTable(), and SmoothFilter::SmoothFilter().
void Filter::setInterval | ( | double | from, | |
double | to | |||
) |
Changes the data range if the source curve was already assigned. Provided for convenience.
References d_curve, and setDataFromCurve().
void Filter::setMaximumIterations | ( | int | iter | ) | [inline] |
Sets the maximum number of iterations to be performed during an iterative session.
References d_max_iterations.
Referenced by IntDialog::accept(), and FitDialog::accept().
void Filter::setOutputPoints | ( | int | points | ) | [inline] |
Sets the number of points in the output curve.
References d_points.
Referenced by BaselineDialog::createBaseline(), and InterpolationDialog::interpolate().
void Filter::setOutputPrecision | ( | int | digits | ) | [inline] |
Sets the precision used for the output.
References d_prec.
Referenced by FitDialog::accept(), ApplicationWindow::analyzeCurve(), FitDialog::applyChanges(), PolynomFitDialog::fit(), ExpDecayDialog::fit(), ApplicationWindow::fitLinear(), and ApplicationWindow::fitSlope().
void Filter::setTolerance | ( | double | eps | ) | [inline] |
Sets the tolerance used by the GSL routines.
References d_tolerance.
Referenced by IntDialog::accept(), and FitDialog::accept().
void Filter::showLegend | ( | ) | [virtual] |
Adds a new legend to the plot. Calls virtual legendInfo().
References d_output_graph, Graph::enrichmentsList(), LegendWidget::isAutoUpdateEnabled(), legendInfo(), Graph::newLegend(), LegendWidget::setText(), and LegendWidget::text().
Referenced by ApplicationWindow::analyzeCurve(), FitDialog::closeEvent(), ExpDecayDialog::closeEvent(), and PolynomialFit::fit().
int Filter::sortedCurveData | ( | QwtPlotCurve * | c, | |
double | start, | |||
double | end, | |||
double ** | x, | |||
double ** | y | |||
) | [protected, virtual] |
Same as curveData, but sorts the points by their x value.
Reimplemented in Interpolation.
References curveRange(), and memoryErrorMessage().
Referenced by setDataCurve().
double* Filter::x | ( | ) | [inline] |
Returns the x values of the input data set.
References d_x.
Referenced by Correlation::addResultCurve(), Convolution::addResultCurve(), SigmoidalFit::calculateFitCurveData(), LinearSlopeFit::calculateFitCurveData(), LinearFit::calculateFitCurveData(), PolynomialFit::calculateFitCurveData(), PluginFit::calculateFitCurveData(), GaussAmpFit::calculateFitCurveData(), LogisticFit::calculateFitCurveData(), ThreeExpFit::calculateFitCurveData(), TwoExpFit::calculateFitCurveData(), ExponentialFit::calculateFitCurveData(), MultiPeakFitTool::finalize(), SigmoidalFit::guessInitialValues(), LogisticFit::guessInitialValues(), Integration::Integration(), output(), Fit::showConfidenceLimits(), Fit::showPredictionLimits(), and Integration::trapezf().
double* Filter::y | ( | ) | [inline] |
Returns the y values of the input data set.
References d_y.
Referenced by PolynomialFit::eval(), MultiPeakFit::eval(), MultiPeakFitTool::finalize(), PolynomialFit::fit(), SigmoidalFit::guessInitialValues(), LogisticFit::guessInitialValues(), output(), Fit::rSquare(), Fit::showConfidenceLimits(), and Fit::showPredictionLimits().
QwtPlotCurve* Filter::d_curve [protected] |
The curve to be analysed.
Referenced by addResultCurve(), FFT::fftCurve(), MultiPeakFit::generateFitCurve(), Fit::init(), init(), Fit::insertFitFunctionCurve(), MultiPeakFit::insertPeakFunctionCurve(), Fit::legendInfo(), Fit::logFitInfo(), Integration::logInfo(), FFT::output(), Differentiation::output(), Fit::setDataCurve(), setDataCurve(), setDataFromTable(), FFT::setDataFromTable(), setInterval(), and Fit::setWeightingData().
QColor Filter::d_curveColor [protected] |
Color index of the result curve.
Referenced by addResultCurve(), Correlation::addResultCurve(), Convolution::addResultCurve(), MultiPeakFit::generateFitCurve(), Fit::init(), init(), Fit::insertFitFunctionCurve(), FFT::output(), setColor(), Fit::showConfidenceLimits(), Fit::showPredictionLimits(), and Fit::showResiduals().
QString Filter::d_explanation [protected] |
String explaining the operation in the comment of the result table and in the project explorer.
Referenced by addResultCurve(), SmoothFilter::calculateOutputData(), FFTFilter::calculateOutputData(), FFT::fftCurve(), FFT::fftTable(), MultiPeakFit::generateFitCurve(), SigmoidalFit::init(), LinearSlopeFit::init(), LinearFit::init(), PolynomialFit::init(), PluginFit::init(), NonLinearFit::init(), GaussAmpFit::init(), GaussFit::init(), LorentzFit::init(), LogisticFit::init(), Interpolation::init(), Fit::init(), init(), ThreeExpFit::init(), TwoExpFit::init(), ExponentialFit::init(), Fit::logFitInfo(), FFT::output(), Interpolation::setMethod(), MultiPeakFit::setNumPeaks(), Fit::showConfidenceLimits(), Fit::showPredictionLimits(), and Fit::showResiduals().
double Filter::d_from [protected] |
Data interval.
Referenced by Interpolation::calculateOutputData(), Fit::insertFitFunctionCurve(), MultiPeakFit::insertPeakFunctionCurve(), Integration::Integration(), Integration::logInfo(), Integration::output(), setDataCurve(), setDataFromCurve(), setDataFromTable(), Fit::showConfidenceLimits(), Fit::showPredictionLimits(), and Integration::trapezf().
Graph* Filter::d_graph [protected] |
The source graph with the curve to be analyzed.
Referenced by curveIndex(), Filter(), Fit::fit(), init(), Integration::logInfo(), FFT::output(), Fit::setDataCurve(), setDataFromCurve(), setDataFromTable(), FFT::setDataFromTable(), and Fit::setWeightingData().
bool Filter::d_graphics_display [protected] |
Specifies if the filter should display a result curve.
Referenced by addResultCurve(), Correlation::addResultCurve(), Convolution::addResultCurve(), enableGraphicsDisplay(), MultiPeakFit::generateFitCurve(), Fit::generateFitCurve(), init(), Fit::logFitInfo(), FFT::output(), Differentiation::output(), Fit::showConfidenceLimits(), Fit::showPredictionLimits(), and Fit::showResiduals().
bool Filter::d_init_err [protected] |
Error flag telling if something went wrong during the initialization phase.
Referenced by curveIndex(), error(), LinearSlopeFit::fit(), LinearFit::fit(), PolynomialFit::fit(), Fit::fit(), Interpolation::init(), Fit::init(), init(), Integration::Integration(), memoryErrorMessage(), Integration::output(), run(), FFTFilter::setBand(), setDataCurve(), setDataFromCurve(), setDataFromTable(), FFT::setDataFromTable(), Correlation::setDataFromTable(), Convolution::setDataFromTable(), FFTFilter::setFilterType(), NonLinearFit::setFormula(), SmoothFilter::setLowessParameter(), SmoothFilter::setMethod(), Interpolation::setMethod(), NonLinearFit::setParametersList(), SmoothFilter::setPolynomOrder(), and SmoothFilter::setSmoothPoints().
int Filter::d_max_iterations [protected] |
Maximum number of iterations per fit.
Referenced by Fit::fit(), Fit::fitGSL(), Fit::fitSimplex(), Integration::init(), Fit::init(), init(), Integration::Integration(), Integration::romberg(), and setMaximumIterations().
int Filter::d_min_points [protected] |
Minimum number of data points necessary to perform the operation.
Referenced by LinearSlopeFit::init(), LinearFit::init(), Interpolation::init(), init(), Differentiation::init(), Fit::initWorkspace(), setDataCurve(), setDataFromTable(), and Interpolation::setMethod().
int Filter::d_n [protected] |
Size of the data arrays.
Referenced by Correlation::addResultCurve(), Convolution::addResultCurve(), SigmoidalFit::calculateFitCurveData(), LinearSlopeFit::calculateFitCurveData(), LinearFit::calculateFitCurveData(), PolynomialFit::calculateFitCurveData(), PluginFit::calculateFitCurveData(), NonLinearFit::calculateFitCurveData(), GaussAmpFit::calculateFitCurveData(), LogisticFit::calculateFitCurveData(), ThreeExpFit::calculateFitCurveData(), TwoExpFit::calculateFitCurveData(), ExponentialFit::calculateFitCurveData(), Interpolation::calculateOutputData(), FFTFilter::calculateOutputData(), dataSize(), Fit::errors(), FFT::fftCurve(), FFT::fftTable(), LinearSlopeFit::fit(), LinearFit::fit(), PolynomialFit::fit(), Fit::fit(), Fit::fitGSL(), MultiPeakFit::generateFitCurve(), Fit::generateFitCurve(), SigmoidalFit::guessInitialValues(), GaussAmpFit::guessInitialValues(), MultiPeakFit::guessInitialValues(), LogisticFit::guessInitialValues(), SmoothFilter::init(), Fit::init(), init(), FFTFilter::init(), Integration::Integration(), Fit::lcl(), Fit::legendInfo(), Fit::logFitInfo(), Integration::logInfo(), FFT::output(), Differentiation::output(), Correlation::output(), NonLinearFit::removeDataSingularities(), NonLinearFit::removePole(), Fit::residuals(), Fit::rmse(), Fit::rSquare(), run(), Fit::setDataCurve(), setDataCurve(), Fit::setDataFromTable(), setDataFromTable(), FFT::setDataFromTable(), Correlation::setDataFromTable(), Convolution::setDataFromTable(), Interpolation::setMethod(), Fit::setWeightingData(), Fit::showConfidenceLimits(), Fit::showPredictionLimits(), Fit::showResiduals(), SmoothFilter::smoothAverage(), SmoothFilter::smoothFFT(), SmoothFilter::smoothLowess(), SmoothFilter::smoothSavGol(), Integration::trapez(), Fit::ucl(), Fit::writeParametersToTable(), and ~Filter().
Graph* Filter::d_output_graph [protected] |
The graph where the result curve should be displayed.
Referenced by addResultCurve(), Correlation::addResultCurve(), Convolution::addResultCurve(), createOutputGraph(), curveIndex(), enableGraphicsDisplay(), Filter(), MultiPeakFit::generateFitCurve(), Fit::generateFitCurve(), init(), FFT::init(), Fit::insertFitFunctionCurve(), MultiPeakFit::insertPeakFunctionCurve(), Fit::logFitInfo(), Integration::output(), FFT::output(), Differentiation::output(), outputGraph(), setDataFromCurve(), Fit::showConfidenceLimits(), showLegend(), Fit::showPredictionLimits(), Fit::showResiduals(), and Integration::trapez().
int Filter::d_points [protected] |
Number of result points to de calculated and displayed in the output curve.
Referenced by addResultCurve(), SigmoidalFit::calculateFitCurveData(), LinearSlopeFit::calculateFitCurveData(), LinearFit::calculateFitCurveData(), PolynomialFit::calculateFitCurveData(), PluginFit::calculateFitCurveData(), NonLinearFit::calculateFitCurveData(), GaussAmpFit::calculateFitCurveData(), LogisticFit::calculateFitCurveData(), ThreeExpFit::calculateFitCurveData(), TwoExpFit::calculateFitCurveData(), ExponentialFit::calculateFitCurveData(), SmoothFilter::calculateOutputData(), Interpolation::calculateOutputData(), FFTFilter::calculateOutputData(), MultiPeakFit::generateFitCurve(), Fit::generateFitCurve(), Fit::generateFunction(), SmoothFilter::init(), Fit::init(), init(), FFTFilter::init(), NonLinearFit::insertFitFunctionCurve(), Fit::insertFitFunctionCurve(), MultiPeakFit::insertPeakFunctionCurve(), Integration::output(), output(), setOutputPoints(), Fit::showConfidenceLimits(), Fit::showPredictionLimits(), and Integration::trapez().
int Filter::d_prec [protected] |
Precision (number of significant digits) used for the results output.
Referenced by Fit::covarianceMatrix(), MultiPeakFit::generateFitCurve(), Fit::init(), init(), PolynomialFit::legendInfo(), NonLinearFit::legendInfo(), Fit::legendInfo(), NonLinearFit::logFitInfo(), MultiPeakFit::logFitInfo(), Fit::logFitInfo(), setOutputPrecision(), and Fit::writeParametersToTable().
Table* Filter::d_result_table [protected] |
The table displaying the results of the filtering operation (not alvays valid!).
Referenced by addResultCurve(), MultiPeakFit::generateFitCurve(), init(), FFT::output(), Differentiation::output(), Correlation::output(), Deconvolution::output(), Convolution::output(), and resultTable().
bool Filter::d_sort_data [protected] |
Specifies if the filter needs sorted data as input.
Referenced by Interpolation::init(), Integration::init(), Fit::init(), init(), Differentiation::init(), Integration::Integration(), setDataCurve(), and setDataFromTable().
Table* Filter::d_table [protected] |
A table source of data.
Referenced by Correlation::addResultCurve(), Convolution::addResultCurve(), FFT::fftTable(), Filter(), Fit::fit(), init(), FFT::output(), Correlation::output(), Deconvolution::output(), Convolution::output(), setDataFromTable(), FFT::setDataFromTable(), Correlation::setDataFromTable(), Convolution::setDataFromTable(), and Fit::setWeightingData().
double Filter::d_to [protected] |
Referenced by Interpolation::calculateOutputData(), Fit::insertFitFunctionCurve(), MultiPeakFit::insertPeakFunctionCurve(), Integration::Integration(), Integration::logInfo(), Integration::output(), setDataCurve(), setDataFromCurve(), setDataFromTable(), Fit::showConfidenceLimits(), Fit::showPredictionLimits(), and Integration::trapezf().
double Filter::d_tolerance [protected] |
GSL Tolerance, if ever needed...
Referenced by Fit::fitGSL(), Fit::fitSimplex(), Fit::init(), init(), Fit::logFitInfo(), Integration::logInfo(), Integration::romberg(), and setTolerance().
double* Filter::d_x [protected] |
x data set to be analysed
Referenced by Correlation::addResultCurve(), Convolution::addResultCurve(), SigmoidalFit::calculateFitCurveData(), LinearSlopeFit::calculateFitCurveData(), LinearFit::calculateFitCurveData(), PolynomialFit::calculateFitCurveData(), PluginFit::calculateFitCurveData(), NonLinearFit::calculateFitCurveData(), GaussAmpFit::calculateFitCurveData(), LogisticFit::calculateFitCurveData(), ThreeExpFit::calculateFitCurveData(), TwoExpFit::calculateFitCurveData(), ExponentialFit::calculateFitCurveData(), SmoothFilter::calculateOutputData(), Interpolation::calculateOutputData(), FFTFilter::calculateOutputData(), FFT::fftCurve(), FFT::fftTable(), LinearSlopeFit::fit(), LinearFit::fit(), PolynomialFit::fit(), Fit::fit(), freeMemory(), MultiPeakFit::generateFitCurve(), SigmoidalFit::guessInitialValues(), GaussAmpFit::guessInitialValues(), MultiPeakFit::guessInitialValues(), LogisticFit::guessInitialValues(), Fit::init(), Fit::logFitInfo(), Integration::logInfo(), Differentiation::output(), Correlation::output(), Deconvolution::output(), Convolution::output(), NonLinearFit::removeDataSingularities(), NonLinearFit::removePole(), Fit::residuals(), Fit::rSquare(), setDataCurve(), setDataFromTable(), FFT::setDataFromTable(), Correlation::setDataFromTable(), Convolution::setDataFromTable(), Fit::showConfidenceLimits(), Fit::showPredictionLimits(), Fit::showResiduals(), SmoothFilter::smoothFFT(), Integration::trapez(), and x().
double* Filter::d_y [protected] |
y data set to be analysed
Referenced by SmoothFilter::calculateOutputData(), Interpolation::calculateOutputData(), FFTFilter::calculateOutputData(), FFT::fftCurve(), FFT::fftTable(), LinearSlopeFit::fit(), LinearFit::fit(), PolynomialFit::fit(), Fit::fit(), freeMemory(), SigmoidalFit::guessInitialValues(), GaussAmpFit::guessInitialValues(), MultiPeakFit::guessInitialValues(), LogisticFit::guessInitialValues(), Fit::init(), Integration::logInfo(), Differentiation::output(), Correlation::output(), Deconvolution::output(), Convolution::output(), NonLinearFit::removePole(), Fit::residuals(), Fit::rSquare(), setDataCurve(), setDataFromTable(), FFT::setDataFromTable(), Correlation::setDataFromTable(), Convolution::setDataFromTable(), Fit::setWeightingData(), Integration::trapez(), and y().
QString Filter::d_y_col_name [protected] |