casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Member Functions | Private Attributes | List of all members
casa::FitterPoisson Class Reference

Fits casacore::Poisson curves to the histogram. More...

#include <FitterPoisson.h>

Inheritance diagram for casa::FitterPoisson:
casa::Fitter

Public Member Functions

 FitterPoisson ()
 
void setLambda (double value)
 
double getLambda () const
 
virtual QString getSolutionStatistics () const
 
virtual bool doFit ()
 
virtual void toAscii (QTextStream &stream) const
 
virtual void restrictDomain (double xMin, double xMax)
 
virtual ~FitterPoisson ()
 
virtual void clearFit ()
 
- Public Member Functions inherited from casa::Fitter
 Fitter ()
 
void setData (casacore::Vector< casacore::Float > xValues, casacore::Vector< casacore::Float > yValues)
 
virtual void clearDomainLimits ()
 
void setUnits (QString units)
 
casacore::Vector< casacore::FloatgetFitValues () const
 
casacore::Vector< casacore::FloatgetFitValuesX () const
 
bool isFit () const
 
QString getErrorMessage () const
 
QString getStatusMessage () const
 
virtual ~Fitter ()
 

Private Member Functions

float getFitCount () const
 
std::pair< double, double > _getMinMax () const
 

Private Attributes

float solutionLambda
 
float actualLambda
 
float solutionHeight
 
bool lambdaSpecified
 
double lambda
 

Additional Inherited Members

- Protected Member Functions inherited from casa::Fitter
QString formatResultLine (QString label, float value, bool endLine=true) const
 
float getMean () const
 
void resetDataWithLimits ()
 
- Protected Attributes inherited from casa::Fitter
float solutionChiSquared
 
bool solutionConverged
 
casacore::Vector< casacore::FloatactualXValues
 
casacore::Vector< casacore::FloatactualYValues
 
casacore::Vector< casacore::FloatfitValues
 
double domainMin
 
double domainMax
 
QString errorMsg
 
QString statusMsg
 
QString units
 
bool dataFitted
 

Detailed Description

Fits casacore::Poisson curves to the histogram.

Definition at line 36 of file FitterPoisson.h.

Constructor & Destructor Documentation

casa::FitterPoisson::FitterPoisson ( )
virtual casa::FitterPoisson::~FitterPoisson ( )
virtual

Member Function Documentation

std::pair<double,double> casa::FitterPoisson::_getMinMax ( ) const
private
virtual void casa::FitterPoisson::clearFit ( )
virtual

Reimplemented from casa::Fitter.

virtual bool casa::FitterPoisson::doFit ( )
virtual

Implements casa::Fitter.

float casa::FitterPoisson::getFitCount ( ) const
private
double casa::FitterPoisson::getLambda ( ) const
virtual QString casa::FitterPoisson::getSolutionStatistics ( ) const
virtual

Implements casa::Fitter.

virtual void casa::FitterPoisson::restrictDomain ( double  xMin,
double  xMax 
)
virtual

Reimplemented from casa::Fitter.

void casa::FitterPoisson::setLambda ( double  value)
virtual void casa::FitterPoisson::toAscii ( QTextStream &  stream) const
virtual

Reimplemented from casa::Fitter.

Member Data Documentation

float casa::FitterPoisson::actualLambda
private

Definition at line 52 of file FitterPoisson.h.

double casa::FitterPoisson::lambda
private

Definition at line 55 of file FitterPoisson.h.

bool casa::FitterPoisson::lambdaSpecified
private

Definition at line 54 of file FitterPoisson.h.

float casa::FitterPoisson::solutionHeight
private

Definition at line 53 of file FitterPoisson.h.

float casa::FitterPoisson::solutionLambda
private

Definition at line 51 of file FitterPoisson.h.


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