SciDAVis  1.D4
Public Member Functions | Private Member Functions
Deconvolution Class Reference

#include <Convolution.h>

Inheritance diagram for Deconvolution:
Convolution Filter

List of all members.

Public Member Functions

 Deconvolution (ApplicationWindow *parent, Table *t, const QString &realColName, const QString &imagColName=QString())
- Public Member Functions inherited from Convolution
 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.
- Public Member Functions inherited from Filter
int dataSize ()
 Returns the size of the fitted data set.
bool error ()
 Filter (ApplicationWindow *parent, Table *t=0, const char *name=0)
 Filter (ApplicationWindow *parent, Graph *g=0, const char *name=0)
virtual QString legendInfo ()
 Output string added to the plot as a new legend.
virtual bool run ()
 Actually does the job. Should be reimplemented in derived classes.
void setColor (int colorId)
 Sets the color of the output fit curve.
void setColor (const QString &colorName)
 Sets the color of the output fit curve. Provided for convenience. To be used in scripts only!
virtual void setDataCurve (int curve, double start, double end)
bool setDataFromCurve (const QString &curveTitle, Graph *g=0)
bool setDataFromCurve (const QString &curveTitle, double from, double to, Graph *g=0)
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()
 ~Filter ()

Private Member Functions

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

Additional Inherited Members

- Protected Member Functions inherited from Convolution
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.
- Protected Member Functions inherited from Filter
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.
int curveIndex (const QString &curveTitle, Graph *g)
 Performs checks and returns the index of the source data curve if OK, -1 otherwise.
virtual bool isDataAcceptable ()
virtual QString logInfo ()
 Output string added to the log pannel of the application.

Constructor & Destructor Documentation

Deconvolution::Deconvolution ( ApplicationWindow parent,
Table t,
const QString &  realColName,
const QString &  imagColName = QString() 
)

Member Function Documentation

void Deconvolution::output ( )
privatevirtual

Performs the data analysis and takes care of the output.

Reimplemented from Convolution.

References Convolution::addResultCurve(), Convolution::convlv(), Filter::d_x, Filter::d_y, Convolution::responseDataSize(), and Convolution::signalDataSize().


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