#include <PluginFit.h>
Public Member Functions | |
double | eval (double *par, double x) |
Calculates the data for the output fit curve. | |
bool | load (const QString &pluginName) |
PluginFit (ApplicationWindow *parent, Table *t, const QString &xCol, const QString &yCol, int startRow=1, int endRow=-1) | |
PluginFit (ApplicationWindow *parent, Graph *g, const QString &curveTitle, double start, double end) | |
PluginFit (ApplicationWindow *parent, Graph *g, const QString &curveTitle) | |
PluginFit (ApplicationWindow *parent, Graph *g) | |
PluginFit (ApplicationWindow *parent, QwtPlotCurve *, double, double) | |
PluginFit (ApplicationWindow *parent, QwtPlotCurve *) | |
Private Types | |
typedef double(* | fitFunctionEval )(double, double *) |
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 () |
Private Attributes | |
fitFunctionEval | f_eval |
typedef double(* PluginFit::fitFunctionEval)(double, double *) [private] |
PluginFit::PluginFit | ( | ApplicationWindow * | parent, | |
QwtPlotCurve * | c | |||
) |
References init(), and Filter::setDataFromCurve().
PluginFit::PluginFit | ( | ApplicationWindow * | parent, | |
QwtPlotCurve * | c, | |||
double | start, | |||
double | end | |||
) |
References init(), and Filter::setDataFromCurve().
PluginFit::PluginFit | ( | ApplicationWindow * | parent, | |
Graph * | g | |||
) |
References init().
PluginFit::PluginFit | ( | ApplicationWindow * | parent, | |
Graph * | g, | |||
const QString & | curveTitle | |||
) |
References init(), and Filter::setDataFromCurve().
PluginFit::PluginFit | ( | ApplicationWindow * | parent, | |
Graph * | g, | |||
const QString & | curveTitle, | |||
double | start, | |||
double | end | |||
) |
References init(), and Filter::setDataFromCurve().
PluginFit::PluginFit | ( | ApplicationWindow * | parent, | |
Table * | t, | |||
const QString & | xCol, | |||
const QString & | yCol, | |||
int | startRow = 1 , |
|||
int | endRow = -1 | |||
) |
References init(), and Fit::setDataFromTable().
void PluginFit::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, f_eval, and Filter::x().
double PluginFit::eval | ( | double * | , | |
double | ||||
) | [inline, virtual] |
void PluginFit::init | ( | ) | [private] |
Reimplemented from Fit.
References Filter::d_explanation, Fit::d_fit_type, and Fit::Plugin.
Referenced by PluginFit().
bool PluginFit::load | ( | const QString & | pluginName | ) |
Reimplemented from Fit.
References Fit::d_df, Fit::d_f, Fit::d_fdf, Fit::d_formula, Fit::d_fsimplex, Fit::d_p, Fit::d_param_explain, Fit::d_param_names, f_eval, and Fit::initWorkspace().
Referenced by FitDialog::loadPlugins().
fitFunctionEval PluginFit::f_eval [private] |
Referenced by calculateFitCurveData(), eval(), and load().