casa
5.7.0-16
|
#include <CalStatsFitter.h>
Classes | |
class | FIT |
FIT nested class. More... | |
Public Types | |
enum | ORDER { ORDER_INIT, AVERAGE, LINEAR, QUADRATIC } |
Order enums. More... | |
enum | TYPE { TYPE_INIT, LSQ, ROBUST } |
Type enums. More... | |
enum | WEIGHT { WEIGHT_INIT, NO, YES } |
Weight enums. More... | |
typedef enum casa::CalStatsFitter::ORDER | ORDER |
Order enums. More... | |
typedef enum casa::CalStatsFitter::TYPE | TYPE |
Type enums. More... | |
typedef enum casa::CalStatsFitter::WEIGHT | WEIGHT |
Weight enums. More... | |
Static Public Member Functions | |
static FIT | fit (const casacore::Vector< casacore::Double > &oAbs, const casacore::Vector< casacore::Double > &oValue, const casacore::Vector< casacore::Double > &oValueErr, casacore::Vector< casacore::Bool > &oFlag, const ORDER &eOrder, const TYPE &eType, const WEIGHT &eWeight) |
User interface to all fitting capabilities. More... | |
static casacore::String | orderName (const ORDER &eOrder) |
The enum names. More... | |
static casacore::String | typeName (const TYPE &eOrder) |
static casacore::String | weightName (const WEIGHT &eOrder) |
Static Private Member Functions | |
static FIT | lsqFit (const casacore::Vector< casacore::Double > &oAbs, const casacore::Vector< casacore::Double > &oValue, const casacore::Vector< casacore::Double > &oValueErr, casacore::Vector< casacore::Bool > &oFlag, const ORDER &eOrder, const WEIGHT &eWeight) |
Least-squares fitting function. More... | |
static FIT | robustFit (const casacore::Vector< casacore::Double > &oAbs, const casacore::Vector< casacore::Double > &oValue, const casacore::Vector< casacore::Double > &oValueErr, casacore::Vector< casacore::Bool > &oFlag, const ORDER &eOrder, const WEIGHT &eWeight, const casacore::Double &dTrim) |
Robust fitting function. More... | |
static casacore::Double & | slope (const casacore::Vector< casacore::Double > &oAbs, const casacore::Vector< casacore::Double > &oValue, const casacore::Double &dSlope, const casacore::Double &dSlopeErr, const casacore::Double &dFudge, const casacore::uInt &uiNumSlope, const casacore::uInt &uiNumIter) |
Functions required to calculate a robust linear fit. More... | |
static casacore::Double & | brackFunc (const casacore::Vector< casacore::Double > &oAbs, const casacore::Vector< casacore::Double > &oValue, const casacore::Double &dSlope) |
static casacore::Double & | signum (const casacore::Double &dValue) |
Signum functions (also required to calculate a robust linear fit) More... | |
static casacore::Vector < casacore::Double > & | signum (const casacore::Vector< casacore::Double > &oValue) |
static void | theil (const casacore::Vector< casacore::Double > &oAbs, const casacore::Vector< casacore::Double > &oValue, casacore::Double &dSlope, casacore::Double &dSlopeErr) |
casacore::Function for calculating slope estimate using Theil's method More... | |
typedef enum casa::CalStatsFitter::ORDER casa::CalStatsFitter::ORDER |
Order enums.
typedef enum casa::CalStatsFitter::TYPE casa::CalStatsFitter::TYPE |
Type enums.
typedef enum casa::CalStatsFitter::WEIGHT casa::CalStatsFitter::WEIGHT |
Weight enums.
Order enums.
Enumerator | |
---|---|
ORDER_INIT | |
AVERAGE | |
LINEAR | |
QUADRATIC |
Definition at line 136 of file CalStatsFitter.h.
|
staticprivate |
|
static |
User interface to all fitting capabilities.
|
staticprivate |
Least-squares fitting function.
|
static |
The enum names.
|
staticprivate |
Robust fitting function.
|
staticprivate |
Signum functions (also required to calculate a robust linear fit)
|
staticprivate |
|
staticprivate |
Functions required to calculate a robust linear fit.
|
staticprivate |
casacore::Function for calculating slope estimate using Theil's method
|
static |
|
static |