Public Member Functions |
| Deconvolution (ApplicationWindow *parent, Table *t, const QString &realColName, const QString &imagColName=QString()) |
| 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.
|
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, Matrix *m, 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 (int colorId) |
| Obsolete: sets the color of the output fit curve.
|
void | setColor (const QColor &color) |
| 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 (QwtPlotCurve *curve, double start, double end) |
bool | setDataFromCurve (QwtPlotCurve *c) |
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) |
virtual bool | setDataFromTable (Table *, const QString &, const QString &, int=1, int=-1, bool=false) |
void | setError (bool on=true) |
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 | setSortData (bool on=true) |
void | setTolerance (double eps) |
| Sets the tolerance used by the GSL routines.
|
void | setUpdateOutputGraph (bool update=true) |
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 () |
Additional Inherited Members |
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.
|
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 int | sortedCurveData (QwtPlotCurve *c, double start, double end, double **x, double **y) |
| Same as curveData, but sorts the points by their x value.
|