casa
5.7.0-16
|
Base class for classes performing histogram fits. More...
#include <Fitter.h>
Public Member Functions | |
Fitter () | |
void | setData (casacore::Vector< casacore::Float > xValues, casacore::Vector< casacore::Float > yValues) |
virtual void | restrictDomain (double xMin, double xMax) |
virtual void | clearDomainLimits () |
void | setUnits (QString units) |
casacore::Vector< casacore::Float > | getFitValues () const |
casacore::Vector< casacore::Float > | getFitValuesX () const |
virtual bool | doFit ()=0 |
virtual void | clearFit () |
virtual void | toAscii (QTextStream &out) const |
bool | isFit () const |
virtual QString | getSolutionStatistics () const =0 |
QString | getErrorMessage () const |
QString | getStatusMessage () const |
virtual | ~Fitter () |
Protected Member Functions | |
QString | formatResultLine (QString label, float value, bool endLine=true) const |
float | getMean () const |
void | resetDataWithLimits () |
Protected Attributes | |
float | solutionChiSquared |
bool | solutionConverged |
casacore::Vector< casacore::Float > | actualXValues |
casacore::Vector< casacore::Float > | actualYValues |
casacore::Vector< casacore::Float > | fitValues |
double | domainMin |
double | domainMax |
QString | errorMsg |
QString | statusMsg |
QString | units |
bool | dataFitted |
Private Attributes | |
casacore::Vector< casacore::Float > | xValues |
casacore::Vector< casacore::Float > | yValues |
casa::Fitter::Fitter | ( | ) |
|
virtual |
|
virtual |
|
virtual |
Reimplemented in casa::FitterGaussian, and casa::FitterPoisson.
|
pure virtual |
Implemented in casa::FitterGaussian, and casa::FitterPoisson.
|
protected |
QString casa::Fitter::getErrorMessage | ( | ) | const |
casacore::Vector<casacore::Float> casa::Fitter::getFitValues | ( | ) | const |
casacore::Vector<casacore::Float> casa::Fitter::getFitValuesX | ( | ) | const |
|
protected |
|
pure virtual |
Implemented in casa::FitterPoisson, and casa::FitterGaussian.
QString casa::Fitter::getStatusMessage | ( | ) | const |
bool casa::Fitter::isFit | ( | ) | const |
|
protected |
|
virtual |
Reimplemented in casa::FitterPoisson.
void casa::Fitter::setData | ( | casacore::Vector< casacore::Float > | xValues, |
casacore::Vector< casacore::Float > | yValues | ||
) |
void casa::Fitter::setUnits | ( | QString | units | ) |
|
virtual |
Reimplemented in casa::FitterGaussian, and casa::FitterPoisson.
|
protected |
|
protected |
|
protected |
|
private |
|
private |