Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

fit.h

Go to the documentation of this file.
00001 //LabPlot : fit.h
00002 // sync with labplot.qs
00003 
00004 #ifndef FIT_H
00005 #define FIT_H
00006 
00007 #include "weight.h"
00008 
00009 static const char *fit_modelnames[] = {"linear (a*x+b)","exponentiell (a*exp(-b*x)+c)",
00010         "a*x^b","a+b*ln(x)","1/(a*x+b)","a*x*exp(-b*x)",
00011         "gaussian (a/(sqrt(2 PI) c)) exp(-(x-b)²/(2 c²))","maxwell (a v² exp(-b v²))",
00012         "planck (a v³/(exp(b v)-1))","lorentz (a/((w-b)²+c²/4))","a exp(b x)+c exp(d x)",
00013         "a exp(b x)+c exp(d x)+e exp(f x)","user defined",0};
00014 
00015 static const char *fit_modelitems[] = {"a*x+b","a*exp(-b*x)+c",
00016         "a*x^b","a+b*ln(x)","1/(a*x+b)","a*x*exp(-b*x)",
00017         "a/(c*sqrt(2*pi))*exp(-(x-b)^2/(2*c^2))","a*v^2*exp(-b*v^2))",
00018         "a*v^3/(exp(b*v)-1)","a/((w-b)^2+c^2/4))","a*exp(b*x)+c*exp(d*x)",
00019         "a*exp(b*x)+c*exp(d*x)+e*exp(f*x)","a*x+b",0};
00020 
00021 enum FModel {MFLINEAR,MEXP,MPOT,MLN,M1L,MEXP2,MGAUSSIAN,MMAXWELL,MPLANCK,MLORENTZ,MMULTIEXP2,MMULTIEXP3,MUSER};
00022 
00023 #endif // FIT_H

Generated on Sun Apr 2 02:05:09 2006 for LabPlot by  doxygen 1.4.4