#include <FitListDialog.h>
Inheritance diagram for FitListDialog:

Public Slots | |
| void | setFunction (QString fun) |
| set fit function | |
| void | setNrParameter (int par) |
| set number of fit parameter | |
| void | setInitialValue (int par, double v) |
| set initial value of fit parameter | |
| double | initialValue (int par) |
| get final fit value | |
| void | showResult (bool b=true) |
| show fit in plot | |
| void | showLabel (bool b=true) |
| show result in plot | |
| void | setSteps (int v) |
| set number of fit steps | |
| void | setTolerance (double t) |
| set fit tolerance | |
| void | setWeight (int w) |
| set weight | |
| void | setWeightFunction (QString w) |
| set weight function | |
| void | setRegion (double a, double b) |
| set and use only region | |
| void | setNegateRegion (bool b=true) |
| set and use negated region | |
| void | setBaseline (double b) |
| set and use baseline | |
| void | setNrPoints (int v) |
| set number of points for fit function | |
| void | setRange (double a, double b) |
| set range for fit function | |
| void | showResiduals (bool b=true) |
| show residuals fo fit result | |
| int | Apply () |
| do the fit | |
Public Member Functions | |
| FitListDialog (MainWin *mw=0, const char *name=0) | |
Private Slots | |
| void | updateModel (int model) |
| called when a model is selected | |
| void | updateParameter () |
| called when the number of parameter is changed in user fit model | |
| void | weightChanged () |
| void | saveSettings () |
| int | apply_clicked () |
Private Member Functions | |
| void | saveFunction () |
| save user defined function | |
Private Attributes | |
| QTextEdit * | infote |
| KComboBox * | modelcb |
| KComboBox * | weightcb |
| QCheckBox * | regioncb |
| QCheckBox * | negate_regioncb |
| QCheckBox * | baselinecb |
| QCheckBox * | resultcb |
| QCheckBox * | labelcb |
| QCheckBox * | rescb |
| KIntNumInput * | parni |
| KIntNumInput * | stepsni |
| KIntNumInput * | numberni |
| KLineEdit * | funle |
| KLineEdit * | tolle |
| KLineEdit * | weightle |
| KLineEdit * | parNle [NR_PARS] |
| KLineEdit * | regionminle |
| KLineEdit * | regionmaxle |
| KLineEdit * | baselinele |
| KLineEdit * | minle |
| KLineEdit * | maxle |
|
||||||||||||
|
|
|
|
do the fit
Reimplemented from ListDialog. |
|
|
Implements ListDialog. |
|
|
get final fit value
|
|
|
save user defined function
|
|
|
|
|
|
set and use baseline
|
|
|
set fit function
|
|
||||||||||||
|
set initial value of fit parameter
|
|
|
set and use negated region
|
|
|
set number of fit parameter
|
|
|
set number of points for fit function
|
|
||||||||||||
|
set range for fit function
|
|
||||||||||||
|
set and use only region
|
|
|
set number of fit steps
|
|
|
set fit tolerance
|
|
|
set weight
|
|
|
set weight function
|
|
|
show result in plot
|
|
|
show residuals fo fit result
|
|
|
show fit in plot
|
|
|
called when a model is selected
|
|
|
called when the number of parameter is changed in user fit model
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.4.4