Public Member Functions |
| LorentzFit (ApplicationWindow *parent, Graph *g) |
| LorentzFit (ApplicationWindow *parent, Graph *g, const QString &curveTitle) |
| LorentzFit (ApplicationWindow *parent, Graph *g, const QString &curveTitle, double start, double end) |
void | enablePeakCurves (bool on) |
| MultiPeakFit (ApplicationWindow *parent, Graph *g=0, PeakProfile profile=Gauss, int peaks=1) |
int | peaks () |
void | setNumPeaks (int n) |
void | setPeakCurvesColor (int colorIndex) |
double | chiSquare () |
| Returns the sum of squares of the residuals from the best-fit line.
|
Matrix * | covarianceMatrix (const QString &matrixName) |
double * | errors () |
| Returns a vector with the standard deviations of the results.
|
double | evaluate_d (const gsl_vector *x) |
int | evaluate_df (const gsl_vector *x, gsl_matrix *J) |
int | evaluate_f (const gsl_vector *x, gsl_vector *f) |
| Fit (ApplicationWindow *parent, Graph *g=0, const char *name=0) |
virtual void | fit () |
| Actually does the fit. Should be reimplemented in derived classes.
|
QString | formula () |
void | generateFunction (bool yes, int points=100) |
| Specifies weather the result of the fit is a function curve.
|
virtual QString | legendInfo () |
| Output string added to the plot as a new legend.
|
int | numParameters () |
Table * | parametersTable (const QString &tableName) |
double * | results () |
| Returns a vector with the fit results.
|
double | rSquare () |
| Returns the coefficient of determination, R^2.
|
void | scaleErrors (bool yes=true) |
| Specifies wheather the errors must be scaled with sqrt(chi_2/dof)
|
void | setAlgorithm (Algorithm s) |
void | setDataCurve (int curve, double start, double end) |
void | setInitialGuess (int parIndex, double val) |
void | setInitialGuesses (double *x_init) |
bool | setYErrorSource (ErrorSource err, const QString &colName=QString::null, bool fail_silently=false) |
| Sets the data set to be used as source of Y errors.
|
| ~Fit () |
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 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!
|
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 () |
| scripted (ScriptingEnv *env) |
void | scriptingChangeEvent (ScriptingChangeEvent *) |
| ~scripted () |