29 #ifndef SIGMOIDALFIT_H
30 #define SIGMOIDALFIT_H
46 double eval(
double *par,
double x){
return (par[0]-par[1])/(1+exp((x-par[2])/par[3]))+par[1];};
void init()
Definition: SigmoidalFit.cpp:73
A 2D-plotting widget.
Definition: Graph.h:123
void setLogistic(bool on=true)
SigmoidalFit(ApplicationWindow *parent, QwtPlotCurve *)
Definition: SigmoidalFit.cpp:32
double eval(double *par, double x)
Calculates the data for the output fit curve.
Definition: SigmoidalFit.h:46
Fit base class.
Definition: Fit.h:44
QtiPlot's main window.
Definition: ApplicationWindow.h:133
Definition: SigmoidalFit.h:34
bool d_logistic
Definition: SigmoidalFit.h:55
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
void calculateFitCurveData(double *X, double *Y)
Calculates the data for the output fit curve and store itin the X an Y vectors.
Definition: SigmoidalFit.cpp:88
void guessInitialValues()
Definition: SigmoidalFit.cpp:112