QXRD
0.11.16
|
#include <qxrdfitterpeakpoint.h>
Public Member Functions | |
QxrdFitterPeakPoint (QxrdCenterFinder *cf, int index, double x0, double y0, double pkht, double bkgd) | |
QxrdFitterPeakPoint () | |
int | fit () |
Public Member Functions inherited from QxrdFitterPeakOrRing | |
QxrdFitterPeakOrRing (QxrdCenterFinder *cf, int index, double x0, double y0, double pkht, double bkgd) | |
QxrdFitterPeakOrRing () | |
int | index () const |
double | x0 () const |
double | y0 () const |
double | pkht () const |
double | bkgd () const |
double | fittedX () const |
double | fittedY () const |
double | fittedWidth () const |
double | fittedHeight () const |
double | fittedBkgd () const |
double | fittedBkgdX () const |
double | fittedBkgdY () const |
double | fittedR () const |
double | fittedAz () const |
Public Member Functions inherited from QxrdFitter | |
QxrdFitter (QxrdCenterFinder *cf) | |
QxrdFitter () | |
QxrdCenterFinder * | cf () const |
FitResult | reason () const |
QString | reasonString () const |
Private Member Functions | |
void | evaluate (double *parm, double *xv, int np, int nx) |
Static Private Member Functions | |
static void | staticEvaluate (double *parm, double *xv, int np, int nx, void *adata) |
Additional Inherited Members | |
Public Types inherited from QxrdFitter | |
enum | FitResult { Successful, NoResult, OutsideData, BadWidth, BadPosition, BadHeight, LastReason } |
Static Public Member Functions inherited from QxrdFitter | |
static QString | reasonString (FitResult i) |
Protected Attributes inherited from QxrdFitterPeakOrRing | |
int | m_Index |
double | m_X0 |
double | m_Y0 |
double | m_Pkht |
double | m_Bkgd |
double | m_FittedX |
double | m_FittedY |
double | m_FittedWidth |
double | m_FittedHeight |
double | m_FittedBkgd |
double | m_FittedBkgdX |
double | m_FittedBkgdY |
double | m_FittedR |
double | m_FittedAz |
Protected Attributes inherited from QxrdFitter | |
QxrdCenterFinder * | m_CenterFinder |
FitResult | m_Reason |
Definition at line 6 of file qxrdfitterpeakpoint.h.
QxrdFitterPeakPoint::QxrdFitterPeakPoint | ( | QxrdCenterFinder * | cf, |
int | index, | ||
double | x0, | ||
double | y0, | ||
double | pkht, | ||
double | bkgd | ||
) |
Definition at line 14 of file qxrdfitterpeakpoint.cpp.
QxrdFitterPeakPoint::QxrdFitterPeakPoint | ( | ) |
Definition at line 19 of file qxrdfitterpeakpoint.cpp.
|
private |
Definition at line 33 of file qxrdfitterpeakpoint.cpp.
References QxrdCenterFinder::imageValue(), QxrdFitter::m_CenterFinder, QxrdFitterPeakOrRing::m_X0, QxrdFitterPeakOrRing::m_Y0, QxrdCenterFinder::printMessage(), QxrdFitterPeakOrRing::x0(), and QxrdFitterPeakOrRing::y0().
Referenced by staticEvaluate().
|
virtual |
Implements QxrdFitter.
Definition at line 74 of file qxrdfitterpeakpoint.cpp.
References QxrdFitter::BadHeight, QxrdFitter::BadPosition, QxrdFitter::BadWidth, QxrdFitterPeakOrRing::bkgd(), QxrdCenterFinder::data(), QxrdCenterFinder::imageValue(), QxrdFitter::m_CenterFinder, QxrdFitterPeakOrRing::m_FittedBkgd, QxrdFitterPeakOrRing::m_FittedBkgdX, QxrdFitterPeakOrRing::m_FittedBkgdY, QxrdFitterPeakOrRing::m_FittedHeight, QxrdFitterPeakOrRing::m_FittedWidth, QxrdFitterPeakOrRing::m_FittedX, QxrdFitterPeakOrRing::m_FittedY, QxrdFitterPeakOrRing::m_Pkht, QxrdFitter::m_Reason, QxrdFitterPeakOrRing::m_X0, QxrdFitterPeakOrRing::m_Y0, QxrdFitter::OutsideData, QxrdFitterPeakOrRing::pkht(), staticEvaluate(), and QxrdFitter::Successful.
Referenced by QxrdCenterFinder::fitPeakNear().
|
staticprivate |
Definition at line 24 of file qxrdfitterpeakpoint.cpp.
References evaluate().
Referenced by fit().