
Public Types | |
| enum | Algorithm { ScaledLevenbergMarquardt, UnscaledLevenbergMarquardt, NelderMeadSimplex, MPFIT, SVD } |
Public Member Functions | |
| double | adjustedRSquare () |
| bool | canGuessInitialValues () |
| double | chiSquare () |
| Table * | confidenceBandsTable () |
| Table window used for the output of the confidence bands. | |
| Matrix * | covarianceMatrix (const QString &) |
| End int | degreesOfFreedom () |
| 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) |
| End void | guessInitialValues () |
| if (sipRes) | |
| if (sipRes) | |
| if (sipRes) | |
| double | initialGuess (int index)/PyName |
| int | iterations () |
| Returns the number of iterations performed by the fit procedure. | |
| double | lcl (int, double) |
| DataCurve * | lclCurve () |
| Lower confidence limit curve. | |
| virtual QString | legendInfo () |
| bool | load (const QString &) |
| double | lowerBound (const QString &name) |
| double | lowerBound (int index) |
| DataCurve * | lplCurve () |
| Lower prediction limit curve. | |
| int | numDerivedParameters () |
| int | numParameters () |
| QStringList | parameterNames () |
| Table * | parametersTable (const QString &) |
| double | reducedChiSquare () |
| 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 () |
| bool | save (const QString &) |
| void | scaleErrors (bool yes=true) |
| void | setAlgorithm (Algorithm) |
| void | setConfBandsTable (Table *) |
| void | setConstantParameter (const QString &name, double val) |
| void | setConstantParameter (int index, bool on) |
| bool | setDataFromTable (Table *, const QString &, const QString &, int=1, int=-1, bool=false) |
| void | setInitialGuess (int index, double value)/PyName |
| sipCpp | setInitialGuesses (values) |
| void | setInitialGuesses (...)/PyName |
| void | setInterval (double from, double to) |
| void | setLclCurve (DataCurve *) |
| void | setLowerBound (const QString &name, double v) |
| void | setLowerBound (int index, double v) |
| void | setLplCurve (DataCurve *) |
| void | setParameterRange (const QString &name, double low, double up) |
| void | setParameterRange (int index, double low, double up) |
| void | setResidualsCurve (DataCurve *) |
| void | setResidualsTable (Table *) |
| void | setResultsPlotTable (PlotTable *) |
| void | setUclCurve (DataCurve *) |
| void | setUplCurve (DataCurve *) |
| void | setUpperBound (const QString &name, double v) |
| void | setUpperBound (int index, double v) |
| 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. | |
| int | status () |
| Returns the status of the fit procedure or -1000 if not performed yet. | |
| QString | statusInfo (int) |
| String explaining the status of the fit procedure. | |
| 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 | upperBound (const QString &name) |
| double | upperBound (int index) |
| 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 | ( | ) |
| bool Fit::canGuessInitialValues | ( | ) |
| double Fit::chiSquare | ( | ) |
| Matrix* Fit::covarianceMatrix | ( | const QString & | ) |
| End int Fit::degreesOfFreedom | ( | ) |
| QString Fit::derivedParameterFunction | ( | int | index | ) |
| QString Fit::derivedParameterName | ( | int | index | ) |
| QString Fit::derivedParametersInfo | ( | ) |
Reimplemented in MultiPeakFit.
| double Fit::derivedParameterValue | ( | int | index | ) |
Reimplemented in MultiPeakFit.
| 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 | |||
| ) |
| End void Fit::guessInitialValues | ( | ) |
| Fit::if | ( | sipRes | ) | [inline] |
References residuals(), and sipRes.
| double Fit::initialGuess | ( | int | index | ) |
| int Fit::iterations | ( | ) |
Returns the number of iterations performed by the fit procedure.
| double Fit::lcl | ( | int | , | |
| double | ||||
| ) |
| DataCurve* Fit::lclCurve | ( | ) |
Lower confidence limit curve.
| virtual QString Fit::legendInfo | ( | ) | [virtual] |
| bool Fit::load | ( | const QString & | ) |
| double Fit::lowerBound | ( | const QString & | name | ) |
| double Fit::lowerBound | ( | int | index | ) |
| DataCurve* Fit::lplCurve | ( | ) |
Lower prediction limit curve.
| int Fit::numDerivedParameters | ( | ) |
| int Fit::numParameters | ( | ) |
| QStringList Fit::parameterNames | ( | ) |
| Table* Fit::parametersTable | ( | const QString & | ) |
| double Fit::reducedChiSquare | ( | ) |
| 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.
| bool Fit::save | ( | const QString & | ) |
| void Fit::scaleErrors | ( | bool | yes = true |
) |
| void Fit::setAlgorithm | ( | Algorithm | ) |
| void Fit::setConfBandsTable | ( | Table * | ) |
| void Fit::setConstantParameter | ( | const QString & | name, | |
| double | val | |||
| ) |
| void Fit::setConstantParameter | ( | int | index, | |
| bool | on | |||
| ) |
| bool Fit::setDataFromTable | ( | Table * | , | |
| const QString & | , | |||
| const QString & | , | |||
| int | = 1, |
|||
| int | = -1, |
|||
| bool | = false | |||
| ) | [virtual] |
Reimplemented from Filter.
| void Fit::setInitialGuess | ( | int | index, | |
| double | value | |||
| ) |
| sipCpp Fit::setInitialGuesses | ( | values | ) |
| void Fit::setInitialGuesses | ( | ... | ) |
| void Fit::setInterval | ( | double | from, | |
| double | to | |||
| ) |
| void Fit::setLclCurve | ( | DataCurve * | ) |
| void Fit::setLowerBound | ( | const QString & | name, | |
| double | v | |||
| ) |
| void Fit::setLowerBound | ( | int | index, | |
| double | v | |||
| ) |
| void Fit::setLplCurve | ( | DataCurve * | ) |
| void Fit::setParameterRange | ( | const QString & | name, | |
| double | low, | |||
| double | up | |||
| ) |
| void Fit::setParameterRange | ( | int | index, | |
| double | low, | |||
| double | up | |||
| ) |
| void Fit::setResidualsCurve | ( | DataCurve * | ) |
| void Fit::setResidualsTable | ( | Table * | ) |
| void Fit::setResultsPlotTable | ( | PlotTable * | ) |
| void Fit::setUclCurve | ( | DataCurve * | ) |
| void Fit::setUplCurve | ( | DataCurve * | ) |
| void Fit::setUpperBound | ( | const QString & | name, | |
| double | v | |||
| ) |
| void Fit::setUpperBound | ( | int | index, | |
| double | v | |||
| ) |
| 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.
| int Fit::status | ( | ) |
Returns the status of the fit procedure or -1000 if not performed yet.
| QString Fit::statusInfo | ( | int | ) |
String explaining the status of the fit procedure.
| 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::upperBound | ( | const QString & | name | ) |
| double Fit::upperBound | ( | int | index | ) |
| 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 |
Reimplemented in NonLinear2DFit, and NonLinearFit.
Referenced by for(), and MultiLinearRegression::if().
| 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