Fit Class Reference

Inheritance diagram for Fit:

Filter ExponentialFit GaussAmpFit LinearFit LinearSlopeFit LogisticFit MultiPeakFit NonLinearFit PluginFit PolynomialFit SigmoidalFit ThreeExpFit TwoExpFit

List of all members.

Public Types

enum  Algorithm { ScaledLevenbergMarquardt, UnscaledLevenbergMarquardt, NelderMeadSimplex }

Public Member Functions

double adjustedRSquare ()
End double chiSquare ()
MatrixcovarianceMatrix (const QString &)
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)
virtual QString legendInfo ()
int numParameters ()
QStringList parameterNames ()
TableparametersTable (const QString &)
End SIP_PYTUPLE residuals ()
QString resultFormula ()
SIP_PYTUPLE results ()
double rmse ()
double rSquare ()
double rss ()
virtual bool run ()
void scaleErrors (bool yes=true)
void setAlgorithm (Algorithm)
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 setParameterRange (int, double, double)
bool setWeightingData (WeightingMethod, const QString &=QString::null)
void showConfidenceLimits (double)
void showLegend ()
void showPredictionLimits (double)
double ucl (int, double)
 ~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]


Member Enumeration Documentation

Enumerator:
ScaledLevenbergMarquardt 
UnscaledLevenbergMarquardt 
NelderMeadSimplex 

Enumerator:
NoWeighting 
Instrumental 
Statistical 
Dataset 
Direct 


Constructor & Destructor Documentation

Fit::Fit ( ApplicationWindow */TransferThis/  ,
Graph = 0,
const char *  = 0 
)

Fit::~Fit (  ) 


Member Function Documentation

double Fit::adjustedRSquare (  ) 

End double Fit::chiSquare (  ) 

Matrix* Fit::covarianceMatrix ( const QString &   ) 

End SIP_PYTUPLE Fit::errors (  ) 

Referenced by if().

virtual void Fit::fit (  )  [virtual]

Reimplemented in PolynomialFit.

Fit::for (  )  [inline]

Reimplemented in NonLinearFit.

References sipIsErr, and values.

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.

Fit::if ( sipRes   )  [inline]

References errors(), and sipRes.

Fit::if ( sipRes   )  [inline]

References results(), and sipRes.

double Fit::lcl ( int  ,
double   
)

virtual QString Fit::legendInfo (  )  [virtual]

int Fit::numParameters (  ) 

QStringList Fit::parameterNames (  ) 

Table* Fit::parametersTable ( const QString &   ) 

End SIP_PYTUPLE Fit::residuals (  ) 

Referenced by if().

QString Fit::resultFormula (  ) 

SIP_PYTUPLE Fit::results (  ) 

Referenced by if().

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   ) 

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::setParameterRange ( int  ,
double  ,
double   
)

bool Fit::setWeightingData ( WeightingMethod  ,
const QString &  = QString::null 
)

void Fit::showConfidenceLimits ( double   ) 

void Fit::showLegend (  ) 

void Fit::showPredictionLimits ( double   ) 

double Fit::ucl ( int  ,
double   
)


Member Data Documentation

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 NonLinearFit.

Referenced by for().

Fit::sipRes = PyTuple_New(size)

Referenced by if().

int Fit::size = sipCpp->numParameters()

delete Fit::values

double* Fit::values = new double[n]

Referenced by for().


The documentation for this class was generated from the following file:

Generated on Tue Sep 26 13:39:47 2017 for QtiPlot/Python-API by  doxygen 1.5.8