29 #ifndef EXPONENTIALFIT_H 30 #define EXPONENTIALFIT_H 44 double start,
double end,
bool expGrowth =
false);
47 double eval(
double *par,
double x){
return par[0]*exp(-x/par[1]) + par[2];};
70 double eval(
double *par,
double x){
return par[0]*exp(-x/par[1]) + par[2]*exp(-x/par[3]) + par[4];};
89 double eval(
double *par,
double x){
return par[0]*exp(-x/par[1]) + par[2]*exp(-x/par[3]) + par[4]*exp(-x/par[5]) + par[6];};
Definition: ExponentialFit.h:77
Definition: ExponentialFit.h:34
void customizeFitResults()
Customs and stores the fit results according to the derived class specifications. Used by exponential...
Definition: ExponentialFit.cpp:109
A 2D-plotting widget.
Definition: Graph.h:123
Definition: ExponentialFit.h:58
double eval(double *par, double x)
Calculates the data for the output fit curve.
Definition: ExponentialFit.h:89
Fit base class.
Definition: Fit.h:44
QtiPlot's main window.
Definition: ApplicationWindow.h:133
void calculateFitCurveData(double *X, double *Y)
Calculates the data for the output fit curve and store itin the X an Y vectors.
Definition: ExponentialFit.cpp:115
double eval(double *par, double x)
Calculates the data for the output fit curve.
Definition: ExponentialFit.h:47
ExponentialFit(ApplicationWindow *parent, QwtPlotCurve *c, bool expGrowth=false)
Definition: ExponentialFit.cpp:38
void init()
Definition: ExponentialFit.cpp:85
double eval(double *par, double x)
Calculates the data for the output fit curve.
Definition: ExponentialFit.h:70
bool isExponentialGrowth()
Definition: ExponentialFit.h:48
double * x()
Returns the x values of the input data set.
Definition: Filter.h:98
MDI window providing a spreadsheet table with column logic.
Definition: Table.h:57
bool is_exp_growth
Definition: ExponentialFit.h:55