
Public Types | |
| enum | Algorithm { ScaledLevenbergMarquardt, UnscaledLevenbergMarquardt, NelderMeadSimplex } |
Public Member Functions | |
| double | adjustedRSquare () |
| End double | chiSquare () |
| Table * | confidenceBandsTable () |
| Table window used for the output of the confidence bands. | |
| Matrix * | covarianceMatrix (const QString &) |
| QString | derivedParameterFunction (int index) |
| QString | derivedParameterName (int index) |
| QString | derivedParametersInfo () |
| double | derivedParameterValue (int index) |
| End SIP_PYTUPLE | errors () |
| virtual void | fit () |
| Fit (ApplicationWindow */TransferThis/, Graph *=0, const char *=0) | |
| for (int i=0;i< n;i++) | |
| QString | formula () |
| void | generateFunction (bool, int=100) |
| virtual End void | guessInitialValues () |
| if (sipRes) | |
| if (sipRes) | |
| if (sipRes) | |
| double | lcl (int, double) |
| DataCurve * | lclCurve () |
| Lower confidence limit curve. | |
| virtual QString | legendInfo () |
| DataCurve * | lplCurve () |
| Lower prediction limit curve. | |
| int | numDerivedParameters () |
| int | numParameters () |
| QStringList | parameterNames () |
| Table * | parametersTable (const QString &) |
| End SIP_PYTUPLE | residuals () |
| DataCurve * | residualsCurve () |
| Residuals curve. | |
| Table * | residualsTable () |
| Table window used for the output of the residuals. | |
| SIP_PYTUPLE | results () |
| PlotTable * | resultsPlotTable () |
| double | rmse () |
| double | rSquare () |
| double | rss () |
| virtual bool | run () |
| void | scaleErrors (bool yes=true) |
| void | setAlgorithm (Algorithm) |
| void | setConfBandsTable (Table *) |
| bool | setDataFromTable (Table *, const QString &, const QString &, int=1, int=-1, bool=false) |
| void | setInitialGuess (int, double)/PyName |
| sipCpp | setInitialGuesses (values) |
| void | setInitialGuesses (...)/PyName |
| void | setInterval (double from, double to) |
| void | setLclCurve (DataCurve *) |
| void | setLplCurve (DataCurve *) |
| void | setParameterRange (int, double, double) |
| void | setResidualsCurve (DataCurve *) |
| void | setResidualsTable (Table *) |
| void | setResultsPlotTable (PlotTable *) |
| void | setUclCurve (DataCurve *) |
| void | setUplCurve (DataCurve *) |
| bool | setWeightingData (WeightingMethod, const QString &=QString::null) |
| void | showConfidenceLimits (double, bool=false) |
| void | showLegend () |
| void | showPredictionLimits (double) |
| DataCurve * | showResiduals () |
| Plot residuals and display data values in a new table. | |
| DataCurve * | showResidualsHistogram () |
| Plot histogram of the residuals. | |
| double | sxx () |
| The total sum of squares (TSS) of X data about the mean. Used when calculating confidence/prediction bands. | |
| double | tss () |
| Returns the Total Sum of Squares. | |
| double | ucl (int, double) |
| DataCurve * | uclCurve () |
| Upper confidence limit curve. | |
| DataCurve * | uplCurve () |
| Upper prediction limit curve. | |
| double | weigthSum () |
| The sum of the weights. | |
| double | xMean () |
| The mean value of the x data. | |
| ~Fit () | |
Public Attributes | |
| MethodCode double * | errors = sipCpp->errors() |
| MethodCode int | n = PyTuple_GET_SIZE(a0) |
| MethodCode double * | residuals = sipCpp->residuals() |
| MethodCode double * | results = sipCpp->results() |
| else | sipIsErr = 1 |
| sipRes = PyTuple_New(size) | |
| int | size = sipCpp->numParameters() |
| delete | values |
| double * | values = new double[n] |
| enum Fit::Algorithm |
| enum Fit::WeightingMethod |
| Fit::Fit | ( | ApplicationWindow */TransferThis/ | , | |
| Graph * | = 0, |
|||
| const char * | = 0 | |||
| ) |
| Fit::~Fit | ( | ) |
| double Fit::adjustedRSquare | ( | ) |
| End double Fit::chiSquare | ( | ) |
| Matrix* Fit::covarianceMatrix | ( | const QString & | ) |
| QString Fit::derivedParameterFunction | ( | int | index | ) |
| QString Fit::derivedParameterName | ( | int | index | ) |
| QString Fit::derivedParametersInfo | ( | ) |
| double Fit::derivedParameterValue | ( | int | index | ) |
Reimplemented in GaussAmpFit, LorentzFit, and GaussFit.
| End SIP_PYTUPLE Fit::errors | ( | ) |
Referenced by if().
| virtual void Fit::fit | ( | ) | [virtual] |
Reimplemented in PolynomialFit, and MultiLinearRegression.
| Fit::for | ( | ) | [inline] |
| QString Fit::formula | ( | ) |
| void Fit::generateFunction | ( | bool | , | |
| int | = 100 | |||
| ) |
| virtual End void Fit::guessInitialValues | ( | ) | [virtual] |
Reimplemented in MultiPeakFit, LinearFit, and LinearSlopeFit.
| Fit::if | ( | sipRes | ) | [inline] |
References residuals(), and sipRes.
| double Fit::lcl | ( | int | , | |
| double | ||||
| ) |
| DataCurve* Fit::lclCurve | ( | ) |
Lower confidence limit curve.
| virtual QString Fit::legendInfo | ( | ) | [virtual] |
| DataCurve* Fit::lplCurve | ( | ) |
Lower prediction limit curve.
| int Fit::numDerivedParameters | ( | ) |
| int Fit::numParameters | ( | ) |
| QStringList Fit::parameterNames | ( | ) |
| Table* Fit::parametersTable | ( | const QString & | ) |
| End SIP_PYTUPLE Fit::residuals | ( | ) |
Referenced by if().
| DataCurve* Fit::residualsCurve | ( | ) |
Residuals curve.
| SIP_PYTUPLE Fit::results | ( | ) |
Referenced by if().
| PlotTable* Fit::resultsPlotTable | ( | ) |
| double Fit::rmse | ( | ) |
| double Fit::rSquare | ( | ) |
| double Fit::rss | ( | ) |
| virtual bool Fit::run | ( | ) | [virtual] |
Reimplemented from Filter.
| void Fit::scaleErrors | ( | bool | yes = true |
) |
| void Fit::setAlgorithm | ( | Algorithm | ) |
| void Fit::setConfBandsTable | ( | Table * | ) |
| bool Fit::setDataFromTable | ( | Table * | , | |
| const QString & | , | |||
| const QString & | , | |||
| int | = 1, |
|||
| int | = -1, |
|||
| bool | = false | |||
| ) | [virtual] |
Reimplemented from Filter.
| void Fit::setInitialGuess | ( | int | , | |
| double | ||||
| ) |
| sipCpp Fit::setInitialGuesses | ( | values | ) |
| void Fit::setInitialGuesses | ( | ... | ) |
| void Fit::setInterval | ( | double | from, | |
| double | to | |||
| ) |
| void Fit::setLclCurve | ( | DataCurve * | ) |
| void Fit::setLplCurve | ( | DataCurve * | ) |
| void Fit::setParameterRange | ( | int | , | |
| double | , | |||
| double | ||||
| ) |
| void Fit::setResidualsCurve | ( | DataCurve * | ) |
| void Fit::setResidualsTable | ( | Table * | ) |
| void Fit::setResultsPlotTable | ( | PlotTable * | ) |
| void Fit::setUclCurve | ( | DataCurve * | ) |
| void Fit::setUplCurve | ( | DataCurve * | ) |
| bool Fit::setWeightingData | ( | WeightingMethod | , | |
| const QString & | = QString::null | |||
| ) |
| void Fit::showConfidenceLimits | ( | double | , | |
| bool | = false | |||
| ) |
| void Fit::showLegend | ( | ) |
| void Fit::showPredictionLimits | ( | double | ) |
| DataCurve* Fit::showResiduals | ( | ) |
Plot residuals and display data values in a new table.
| DataCurve* Fit::showResidualsHistogram | ( | ) |
Plot histogram of the residuals.
| double Fit::sxx | ( | ) |
The total sum of squares (TSS) of X data about the mean. Used when calculating confidence/prediction bands.
| double Fit::tss | ( | ) |
Returns the Total Sum of Squares.
| double Fit::ucl | ( | int | , | |
| double | ||||
| ) |
| DataCurve* Fit::uclCurve | ( | ) |
Upper confidence limit curve.
| DataCurve* Fit::uplCurve | ( | ) |
Upper prediction limit curve.
| double Fit::weigthSum | ( | ) |
The sum of the weights.
| double Fit::xMean | ( | ) |
The mean value of the x data.
| MethodCode double* Fit::errors = sipCpp->errors() |
| MethodCode int Fit::n = PyTuple_GET_SIZE(a0) |
| MethodCode double* Fit::residuals = sipCpp->residuals() |
| MethodCode double* Fit::results = sipCpp->results() |
| else Fit::sipIsErr = 1 |
| Fit::sipRes = PyTuple_New(size) |
Referenced by if().
| int Fit::size = sipCpp->numParameters() |
| delete Fit::values |
| double* Fit::values = new double[n] |
1.5.8