#include <MultiPeakFit.h>
Public Member Functions | |
double | eval (double *par, double x) |
Calculates the data for the output fit curve. | |
GaussAmpFit (ApplicationWindow *parent, Table *t, const QString &xCol, const QString &yCol, int startRow=0, int endRow=-1) | |
GaussAmpFit (ApplicationWindow *parent, Graph *g, const QString &curveTitle, double start, double end) | |
GaussAmpFit (ApplicationWindow *parent, Graph *g, const QString &curveTitle) | |
GaussAmpFit (ApplicationWindow *parent, Graph *g) | |
GaussAmpFit (ApplicationWindow *parent, QwtPlotCurve *, double, double) | |
GaussAmpFit (ApplicationWindow *parent, QwtPlotCurve *) | |
void | guessInitialValues () |
Private Member Functions | |
void | calculateFitCurveData (double *X, double *Y) |
Calculates the data for the output fit curve and store itin the X an Y vectors. | |
void | init () |
GaussAmpFit::GaussAmpFit | ( | ApplicationWindow * | parent, | |
QwtPlotCurve * | c | |||
) |
References init(), and Filter::setDataFromCurve().
GaussAmpFit::GaussAmpFit | ( | ApplicationWindow * | parent, | |
QwtPlotCurve * | c, | |||
double | start, | |||
double | end | |||
) |
References init(), and Filter::setDataFromCurve().
GaussAmpFit::GaussAmpFit | ( | ApplicationWindow * | parent, | |
Graph * | g | |||
) |
References init().
GaussAmpFit::GaussAmpFit | ( | ApplicationWindow * | parent, | |
Graph * | g, | |||
const QString & | curveTitle | |||
) |
References init(), and Filter::setDataFromCurve().
GaussAmpFit::GaussAmpFit | ( | ApplicationWindow * | parent, | |
Graph * | g, | |||
const QString & | curveTitle, | |||
double | start, | |||
double | end | |||
) |
References init(), and Filter::setDataFromCurve().
GaussAmpFit::GaussAmpFit | ( | ApplicationWindow * | parent, | |
Table * | t, | |||
const QString & | xCol, | |||
const QString & | yCol, | |||
int | startRow = 0 , |
|||
int | endRow = -1 | |||
) |
References init(), and Fit::setDataFromTable().
void GaussAmpFit::calculateFitCurveData | ( | double * | X, | |
double * | Y | |||
) | [private, virtual] |
Calculates the data for the output fit curve and store itin the X an Y vectors.
Reimplemented from Fit.
References Fit::d_gen_function, Filter::d_n, Filter::d_points, Fit::d_results, Filter::d_x, and Filter::x().
double GaussAmpFit::eval | ( | double * | , | |
double | ||||
) | [virtual] |
Calculates the data for the output fit curve.
Reimplemented from Fit.
void GaussAmpFit::guessInitialValues | ( | ) | [virtual] |
Reimplemented from Fit.
References Filter::d_n, Fit::d_param_init, Filter::d_x, and Filter::d_y.
void GaussAmpFit::init | ( | ) | [private] |
Reimplemented from Fit.
References Fit::d_df, Filter::d_explanation, Fit::d_f, Fit::d_fdf, Fit::d_formula, Fit::d_fsimplex, Fit::d_p, Fit::d_param_explain, Fit::d_param_names, gauss_d(), gauss_df(), gauss_f(), gauss_fdf(), and Fit::initWorkspace().
Referenced by GaussAmpFit().