General Purpose Geodetic Library
|
#include <SgPwlStorage.h>
Public Member Functions | |
SgPwlStorage () | |
virtual | ~SgPwlStorage () |
virtual SgPwlStorage & | operator= (const SgPwlStorage &) |
int | getNumOfNodes () const |
int | getNumOfPolynomials () const |
double | step () const |
const SgMJD & | tStart () const |
const SgMJD & | tFinis () const |
const SgMJD & | tRefer () const |
SgMJD | tMean () const |
SgParameter * | getP_Ai (int) |
SgParameter * | getP_Bi (int) |
SgParameter * | getPOrig () |
void | setNumOfPolynomials (int) |
double | trace () const |
virtual void | deployParameters (SgParameter *, const SgMJD &tStart, const SgMJD &tFinis, const SgMJD &tRefer, const SgTaskConfig *)=0 |
virtual void | propagatePartials (const SgMJD &t)=0 |
int | calcCurrentIdx (const SgMJD &t) |
virtual int | getNumOfActiveParameters (const SgMJD &t)=0 |
virtual int | getNumOfSegments ()=0 |
virtual void | getListOfActiveParameters (const SgMJD &t, QList< SgParameter * > &pars)=0 |
void | zerofy () |
virtual double | calcAX (const SgMJD &, bool)=0 |
virtual double | calc_P_a (const SgSymMatrix &, int, const SgMJD &)=0 |
virtual double | calc_aT_P_a (const SgVector &, const SgMJD &)=0 |
virtual double | calcRateRms4Sfo () |
void | collectTraces4Sfo (const QList< SgParameter * > *listX, const SgSymMatrix &mPx) |
double | calcPolySolution (const SgMJD &) |
virtual double | calcRateSolution (const SgMJD &)=0 |
virtual double | calcSolution (const SgMJD &) |
virtual double | calcRateSigma (const SgMJD &) |
double | calcMean () |
double | calcWRMS () |
Static Public Member Functions | |
static const QString | className () |
Protected Attributes | |
SgParameter * | pOrig_ |
SgParameter * | pAi_ |
SgParameter * | pBi_ |
int | numOfPolynomials_ |
int | numOfNodes_ |
SgMJD | tStart_ |
SgMJD | tFinis_ |
SgMJD | tRefer_ |
double | step_ |
double | sumP2_ |
double | sumX1P2_ |
double | sumX2P2_ |
double | sumT1P2_ |
bool | isPOrigOwner_ |
double | trace_ |
SgPwlStorage – virtual class, a skeleton for a specialized parameter to estimate. ====================================================================================================
Definition at line 46 of file SgPwlStorage.h.
|
inline |
A constructor. Creates a default object.
Definition at line 204 of file SgPwlStorage.h.
References isPOrigOwner_, numOfNodes_, numOfPolynomials_, pAi_, pBi_, pOrig_, sumP2_, sumT1P2_, sumX1P2_, sumX2P2_, and trace_.
|
inlinevirtual |
A destructor. Frees allocated memory.
Definition at line 225 of file SgPwlStorage.h.
References isPOrigOwner_, numOfNodes_, numOfPolynomials_, pAi_, pBi_, and pOrig_.
Implemented in SgPwlStorageIncRates, SgPwlStorageBSplineQ, and SgPwlStorageBSplineL.
|
pure virtual |
Implemented in SgPwlStorageIncRates, SgPwlStorageBSplineQ, and SgPwlStorageBSplineL.
|
pure virtual |
Implemented in SgPwlStorageIncRates, SgPwlStorageBSplineQ, and SgPwlStorageBSplineL.
|
inline |
Definition at line 345 of file SgPwlStorage.h.
References numOfNodes_, step_, and tStart_.
Referenced by SgPwlStorageBSplineL::calc_aT_P_a(), SgPwlStorageBSplineQ::calc_aT_P_a(), SgPwlStorageIncRates::calc_aT_P_a(), SgEstimator::calc_aT_P_a_opt(), SgPwlStorageBSplineL::calc_P_a(), SgPwlStorageBSplineQ::calc_P_a(), SgPwlStorageIncRates::calc_P_a(), SgPwlStorageBSplineL::calcAX(), SgPwlStorageBSplineQ::calcAX(), SgPwlStorageIncRates::calcAX(), calcRateSigma(), SgPwlStorageBSplineL::calcRateSigma(), SgPwlStorageBSplineQ::calcRateSigma(), SgPwlStorageIncRates::calcRateSigma(), SgPwlStorageBSplineL::calcRateSolution(), SgPwlStorageBSplineQ::calcRateSolution(), SgPwlStorageIncRates::calcRateSolution(), SgPwlStorageBSplineL::getListOfActiveParameters(), SgPwlStorageBSplineQ::getListOfActiveParameters(), SgPwlStorageIncRates::getListOfActiveParameters(), SgPwlStorageIncRates::getNumOfActiveParameters(), SgPwlStorageBSplineL::propagatePartials(), SgPwlStorageBSplineQ::propagatePartials(), and SgPwlStorageIncRates::propagatePartials().
|
inline |
Definition at line 359 of file SgPwlStorage.h.
References sumP2_, and sumX1P2_.
Referenced by SgSolutionReporter::reportEstimationBlock_Output4Spoolfile().
double SgPwlStorage::calcPolySolution | ( | const SgMJD & | t | ) |
Definition at line 102 of file SgPwlStorage.cpp.
References SgParameter::getSolution(), numOfPolynomials_, pAi_, and tRefer_.
Referenced by calcSolution(), and SgSolutionReporter::reportAtmo().
|
virtual |
Reimplemented in SgPwlStorageBSplineQ, and SgPwlStorageBSplineL.
Definition at line 162 of file SgPwlStorage.cpp.
References SgParameter::getSolution(), numOfNodes_, and pBi_.
Referenced by SgSolutionReporter::reportEstimationBlock_Output4Spoolfile().
|
virtual |
Reimplemented in SgPwlStorageIncRates, SgPwlStorageBSplineQ, and SgPwlStorageBSplineL.
Definition at line 122 of file SgPwlStorage.cpp.
References calcCurrentIdx(), SgParameter::getSigma(), numOfNodes_, pBi_, and step_.
Referenced by SgSolutionReporter::reportAtmo(), SgSolutionReporter::reportCloc(), and NsSessionEditDialog::updateSessionWideSolutions().
|
pure virtual |
Implemented in SgPwlStorageIncRates, SgPwlStorageBSplineQ, and SgPwlStorageBSplineL.
Referenced by calcSolution(), SgSolutionReporter::reportAtmo(), and SgSolutionReporter::reportCloc().
|
virtual |
Definition at line 94 of file SgPwlStorage.cpp.
References calcPolySolution(), and calcRateSolution().
Referenced by NsSessionEditDialog::updateSessionWideSolutions().
|
inline |
Definition at line 367 of file SgPwlStorage.h.
References sumP2_, sumX1P2_, and sumX2P2_.
Referenced by SgSolutionReporter::reportEstimationBlock_Output4Spoolfile().
|
static |
Returns name of the class (for debug output).
Definition at line 39 of file SgPwlStorage.cpp.
void SgPwlStorage::collectTraces4Sfo | ( | const QList< SgParameter * > * | listX, |
const SgSymMatrix & | mPx | ||
) |
Definition at line 177 of file SgPwlStorage.cpp.
References SgSymMatrix::getElement(), SgPartial::getName(), numOfNodes_, pBi_, and trace_.
|
pure virtual |
Deploys parameters.
Implemented in SgPwlStorageIncRates, SgPwlStorageBSplineQ, and SgPwlStorageBSplineL.
Referenced by SgEstimator::deployPwlParameters().
|
pure virtual |
Implemented in SgPwlStorageIncRates, SgPwlStorageBSplineQ, and SgPwlStorageBSplineL.
Referenced by SgEstimator::calc_aT_P_a_opt().
|
pure virtual |
Implemented in SgPwlStorageIncRates, SgPwlStorageBSplineQ, and SgPwlStorageBSplineL.
Referenced by SgEstimator::calc_aT_P_a_opt().
|
inline |
Returns a number of nodes in the PWL model.
Definition at line 251 of file SgPwlStorage.h.
References numOfNodes_.
Referenced by SgEstimator::deployPwlParameters(), operator=(), and SgSolutionReporter::reportEstimationBlock_Output4Spoolfile().
|
inline |
Returns a number of polynomials in the PWL model.
Definition at line 259 of file SgPwlStorage.h.
References numOfPolynomials_.
Referenced by SgEstimator::calc_aT_P_a_opt(), SgTaskManager::constrainClocks(), SgEstimator::deployPwlParameters(), SgPwlStorageBSplineL::getListOfActiveParameters(), SgPwlStorageBSplineQ::getListOfActiveParameters(), SgPwlStorageIncRates::getListOfActiveParameters(), SgPwlStorageBSplineL::getNumOfActiveParameters(), SgPwlStorageBSplineQ::getNumOfActiveParameters(), SgPwlStorageIncRates::getNumOfActiveParameters(), operator=(), and SgSolutionReporter::reportEstimationBlock_Output4Spoolfile().
|
pure virtual |
Implemented in SgPwlStorageIncRates, SgPwlStorageBSplineQ, and SgPwlStorageBSplineL.
Referenced by SgSolutionReporter::reportAtmo(), SgSolutionReporter::reportCloc(), and SgSolutionReporter::reportEstimationBlock_Output4Spoolfile().
|
inline |
Returns a pointer on the Ai parameter.
Definition at line 316 of file SgPwlStorage.h.
References numOfPolynomials_, and pAi_.
Referenced by SgEstimator::calc_aT_P_a_opt(), SgTaskManager::constrainClocks(), SgEstimator::deployPwlParameters(), and SgSolutionReporter::reportEstimationBlock_Output4Spoolfile().
|
inline |
Returns a pointer on the Bi parameter.
Definition at line 307 of file SgPwlStorage.h.
References numOfNodes_, and pBi_.
Referenced by SgEstimator::calc_aT_P_a_opt(), SgEstimator::deployPwlParameters(), and SgSolutionReporter::reportEstimationBlock_Output4Spoolfile().
|
inline |
Definition at line 325 of file SgPwlStorage.h.
References pOrig_.
Referenced by SgSolutionReporter::absorbInfo(), and SgSolutionReporter::reportEstimationBlock_Output4Spoolfile().
|
virtual |
An assignment operator.
Definition at line 47 of file SgPwlStorage.cpp.
References getNumOfNodes(), getNumOfPolynomials(), isPOrigOwner_, numOfNodes_, numOfPolynomials_, pAi_, pBi_, pOrig_, step(), step_, sumP2_, sumT1P2_, sumX1P2_, sumX2P2_, tFinis(), tFinis_, trace_, tRefer(), tRefer_, tStart(), and tStart_.
|
pure virtual |
Propagates the partials.
Implemented in SgPwlStorageIncRates, SgPwlStorageBSplineQ, and SgPwlStorageBSplineL.
|
inline |
Definition at line 334 of file SgPwlStorage.h.
References numOfPolynomials_.
|
inline |
Definition at line 267 of file SgPwlStorage.h.
References step_.
Referenced by operator=(), SgSolutionReporter::reportAtmo(), and SgSolutionReporter::reportCloc().
|
inline |
Definition at line 283 of file SgPwlStorage.h.
References tFinis_.
Referenced by operator=(), and SgSolutionReporter::reportEstimationBlock_Output4Spoolfile().
|
inline |
Definition at line 299 of file SgPwlStorage.h.
References sumP2_, sumT1P2_, and tZero.
Referenced by SgSolutionReporter::reportEstimationBlock_Output4Spoolfile().
|
inline |
Definition at line 100 of file SgPwlStorage.h.
References trace_.
Referenced by SgSolutionReporter::reportEstimationBlock_Output4Spoolfile().
|
inline |
Definition at line 291 of file SgPwlStorage.h.
References tRefer_.
Referenced by SgPwlStorageBSplineL::deployParameters(), SgPwlStorageBSplineQ::deployParameters(), SgPwlStorageIncRates::deployParameters(), and operator=().
|
inline |
Definition at line 275 of file SgPwlStorage.h.
References tStart_.
Referenced by operator=(), SgSolutionReporter::reportAtmo(), SgSolutionReporter::reportCloc(), and SgSolutionReporter::reportEstimationBlock_Output4Spoolfile().
void SgPwlStorage::zerofy | ( | ) |
Clear info.
Definition at line 83 of file SgPwlStorage.cpp.
References numOfNodes_, numOfPolynomials_, pAi_, and pBi_.
|
protected |
Definition at line 180 of file SgPwlStorage.h.
Referenced by SgPwlStorage(), ~SgPwlStorage(), SgPwlStorageBSplineL::deployParameters(), SgPwlStorageBSplineQ::deployParameters(), SgPwlStorageIncRates::deployParameters(), and operator=().
|
protected |
Definition at line 170 of file SgPwlStorage.h.
Referenced by SgPwlStorage(), ~SgPwlStorage(), calcCurrentIdx(), calcRateRms4Sfo(), SgPwlStorageBSplineL::calcRateRms4Sfo(), SgPwlStorageBSplineQ::calcRateRms4Sfo(), calcRateSigma(), SgPwlStorageIncRates::calcRateSigma(), SgPwlStorageIncRates::calcRateSolution(), collectTraces4Sfo(), SgPwlStorageBSplineL::deployParameters(), SgPwlStorageBSplineQ::deployParameters(), SgPwlStorageIncRates::deployParameters(), getNumOfNodes(), SgPwlStorageBSplineL::getNumOfSegments(), SgPwlStorageBSplineQ::getNumOfSegments(), SgPwlStorageIncRates::getNumOfSegments(), getP_Bi(), operator=(), and zerofy().
|
protected |
Definition at line 169 of file SgPwlStorage.h.
Referenced by SgPwlStorage(), ~SgPwlStorage(), SgPwlStorageBSplineL::calc_aT_P_a(), SgPwlStorageBSplineQ::calc_aT_P_a(), SgPwlStorageIncRates::calc_aT_P_a(), SgPwlStorageBSplineL::calc_P_a(), SgPwlStorageBSplineQ::calc_P_a(), SgPwlStorageIncRates::calc_P_a(), SgPwlStorageBSplineL::calcAX(), SgPwlStorageBSplineQ::calcAX(), SgPwlStorageIncRates::calcAX(), calcPolySolution(), SgPwlStorageBSplineL::deployParameters(), SgPwlStorageBSplineQ::deployParameters(), SgPwlStorageIncRates::deployParameters(), getNumOfPolynomials(), getP_Ai(), operator=(), SgPwlStorageBSplineL::propagatePartials(), SgPwlStorageBSplineQ::propagatePartials(), SgPwlStorageIncRates::propagatePartials(), setNumOfPolynomials(), and zerofy().
|
protected |
Definition at line 167 of file SgPwlStorage.h.
Referenced by SgPwlStorage(), ~SgPwlStorage(), SgPwlStorageBSplineL::calc_aT_P_a(), SgPwlStorageBSplineQ::calc_aT_P_a(), SgPwlStorageIncRates::calc_aT_P_a(), SgPwlStorageBSplineL::calc_P_a(), SgPwlStorageBSplineQ::calc_P_a(), SgPwlStorageIncRates::calc_P_a(), SgPwlStorageBSplineL::calcAX(), SgPwlStorageBSplineQ::calcAX(), SgPwlStorageIncRates::calcAX(), calcPolySolution(), SgPwlStorageBSplineL::deployParameters(), SgPwlStorageBSplineQ::deployParameters(), SgPwlStorageIncRates::deployParameters(), SgPwlStorageBSplineL::getListOfActiveParameters(), SgPwlStorageBSplineQ::getListOfActiveParameters(), SgPwlStorageIncRates::getListOfActiveParameters(), getP_Ai(), operator=(), SgPwlStorageBSplineL::propagatePartials(), SgPwlStorageBSplineQ::propagatePartials(), SgPwlStorageIncRates::propagatePartials(), and zerofy().
|
protected |
Definition at line 168 of file SgPwlStorage.h.
Referenced by SgPwlStorage(), ~SgPwlStorage(), SgPwlStorageBSplineL::calc_aT_P_a(), SgPwlStorageBSplineQ::calc_aT_P_a(), SgPwlStorageIncRates::calc_aT_P_a(), SgPwlStorageBSplineL::calc_P_a(), SgPwlStorageBSplineQ::calc_P_a(), SgPwlStorageIncRates::calc_P_a(), SgPwlStorageBSplineL::calcAX(), SgPwlStorageBSplineQ::calcAX(), SgPwlStorageIncRates::calcAX(), calcRateRms4Sfo(), SgPwlStorageBSplineL::calcRateRms4Sfo(), SgPwlStorageBSplineQ::calcRateRms4Sfo(), calcRateSigma(), SgPwlStorageBSplineL::calcRateSigma(), SgPwlStorageBSplineQ::calcRateSigma(), SgPwlStorageIncRates::calcRateSigma(), SgPwlStorageBSplineL::calcRateSolution(), SgPwlStorageBSplineQ::calcRateSolution(), SgPwlStorageIncRates::calcRateSolution(), collectTraces4Sfo(), SgPwlStorageBSplineL::deployParameters(), SgPwlStorageBSplineQ::deployParameters(), SgPwlStorageIncRates::deployParameters(), SgPwlStorageBSplineL::getListOfActiveParameters(), SgPwlStorageBSplineQ::getListOfActiveParameters(), SgPwlStorageIncRates::getListOfActiveParameters(), getP_Bi(), operator=(), SgPwlStorageBSplineL::propagatePartials(), SgPwlStorageBSplineQ::propagatePartials(), SgPwlStorageIncRates::propagatePartials(), and zerofy().
|
protected |
Definition at line 165 of file SgPwlStorage.h.
Referenced by SgPwlStorage(), ~SgPwlStorage(), SgPwlStorageBSplineL::calc_aT_P_a(), SgPwlStorageBSplineQ::calc_aT_P_a(), SgPwlStorageIncRates::calc_aT_P_a(), SgPwlStorageBSplineL::calc_P_a(), SgPwlStorageBSplineQ::calc_P_a(), SgPwlStorageIncRates::calc_P_a(), SgPwlStorageBSplineL::calcAX(), SgPwlStorageBSplineQ::calcAX(), SgPwlStorageIncRates::calcAX(), SgPwlStorageBSplineL::deployParameters(), SgPwlStorageBSplineQ::deployParameters(), SgPwlStorageIncRates::deployParameters(), SgPwlStorageBSplineL::getListOfActiveParameters(), SgPwlStorageBSplineQ::getListOfActiveParameters(), SgPwlStorageIncRates::getListOfActiveParameters(), SgPwlStorageBSplineL::getNumOfActiveParameters(), SgPwlStorageBSplineQ::getNumOfActiveParameters(), SgPwlStorageIncRates::getNumOfActiveParameters(), getPOrig(), operator=(), SgPwlStorageBSplineL::propagatePartials(), SgPwlStorageBSplineQ::propagatePartials(), and SgPwlStorageIncRates::propagatePartials().
|
protected |
Definition at line 174 of file SgPwlStorage.h.
Referenced by SgPwlStorageBSplineL::calc_aT_P_a(), SgPwlStorageBSplineQ::calc_aT_P_a(), SgPwlStorageIncRates::calc_aT_P_a(), SgPwlStorageBSplineL::calc_P_a(), SgPwlStorageBSplineQ::calc_P_a(), SgPwlStorageIncRates::calc_P_a(), SgPwlStorageBSplineL::calcAX(), SgPwlStorageBSplineQ::calcAX(), SgPwlStorageIncRates::calcAX(), calcCurrentIdx(), SgPwlStorageBSplineL::calcRateRms4Sfo(), SgPwlStorageBSplineQ::calcRateRms4Sfo(), calcRateSigma(), SgPwlStorageBSplineL::calcRateSigma(), SgPwlStorageBSplineQ::calcRateSigma(), SgPwlStorageIncRates::calcRateSigma(), SgPwlStorageBSplineL::calcRateSolution(), SgPwlStorageBSplineQ::calcRateSolution(), SgPwlStorageIncRates::calcRateSolution(), SgPwlStorageBSplineL::deployParameters(), SgPwlStorageBSplineQ::deployParameters(), SgPwlStorageIncRates::deployParameters(), operator=(), SgPwlStorageBSplineL::propagatePartials(), SgPwlStorageBSplineQ::propagatePartials(), SgPwlStorageIncRates::propagatePartials(), and step().
|
protected |
Definition at line 176 of file SgPwlStorage.h.
Referenced by SgPwlStorage(), SgPwlStorageBSplineL::calcAX(), SgPwlStorageBSplineQ::calcAX(), SgPwlStorageIncRates::calcAX(), calcMean(), calcWRMS(), SgPwlStorageBSplineL::deployParameters(), SgPwlStorageBSplineQ::deployParameters(), SgPwlStorageIncRates::deployParameters(), operator=(), and tMean().
|
protected |
Definition at line 179 of file SgPwlStorage.h.
Referenced by SgPwlStorage(), SgPwlStorageBSplineL::calcAX(), SgPwlStorageBSplineQ::calcAX(), SgPwlStorageIncRates::calcAX(), SgPwlStorageBSplineL::deployParameters(), SgPwlStorageBSplineQ::deployParameters(), SgPwlStorageIncRates::deployParameters(), operator=(), and tMean().
|
protected |
Definition at line 177 of file SgPwlStorage.h.
Referenced by SgPwlStorage(), SgPwlStorageBSplineL::calcAX(), SgPwlStorageBSplineQ::calcAX(), SgPwlStorageIncRates::calcAX(), calcMean(), calcWRMS(), SgPwlStorageBSplineL::deployParameters(), SgPwlStorageBSplineQ::deployParameters(), SgPwlStorageIncRates::deployParameters(), and operator=().
|
protected |
Definition at line 178 of file SgPwlStorage.h.
Referenced by SgPwlStorage(), SgPwlStorageBSplineL::calcAX(), SgPwlStorageBSplineQ::calcAX(), SgPwlStorageIncRates::calcAX(), calcWRMS(), SgPwlStorageBSplineL::deployParameters(), SgPwlStorageBSplineQ::deployParameters(), SgPwlStorageIncRates::deployParameters(), and operator=().
|
protected |
Definition at line 172 of file SgPwlStorage.h.
Referenced by SgPwlStorageBSplineL::deployParameters(), SgPwlStorageBSplineQ::deployParameters(), SgPwlStorageIncRates::deployParameters(), operator=(), SgPwlStorageBSplineL::propagatePartials(), SgPwlStorageBSplineQ::propagatePartials(), SgPwlStorageIncRates::propagatePartials(), and tFinis().
|
protected |
Definition at line 182 of file SgPwlStorage.h.
Referenced by SgPwlStorage(), collectTraces4Sfo(), operator=(), and trace().
|
protected |
Definition at line 173 of file SgPwlStorage.h.
Referenced by SgPwlStorageBSplineL::calc_aT_P_a(), SgPwlStorageBSplineQ::calc_aT_P_a(), SgPwlStorageIncRates::calc_aT_P_a(), SgPwlStorageBSplineL::calc_P_a(), SgPwlStorageBSplineQ::calc_P_a(), SgPwlStorageIncRates::calc_P_a(), SgPwlStorageBSplineL::calcAX(), SgPwlStorageBSplineQ::calcAX(), SgPwlStorageIncRates::calcAX(), calcPolySolution(), SgPwlStorageBSplineL::deployParameters(), SgPwlStorageBSplineQ::deployParameters(), SgPwlStorageIncRates::deployParameters(), operator=(), SgPwlStorageBSplineL::propagatePartials(), SgPwlStorageBSplineQ::propagatePartials(), SgPwlStorageIncRates::propagatePartials(), and tRefer().
|
protected |
Definition at line 171 of file SgPwlStorage.h.
Referenced by SgPwlStorageBSplineL::calc_aT_P_a(), SgPwlStorageBSplineQ::calc_aT_P_a(), SgPwlStorageIncRates::calc_aT_P_a(), SgPwlStorageBSplineL::calc_P_a(), SgPwlStorageBSplineQ::calc_P_a(), SgPwlStorageIncRates::calc_P_a(), SgPwlStorageBSplineL::calcAX(), SgPwlStorageBSplineQ::calcAX(), SgPwlStorageIncRates::calcAX(), calcCurrentIdx(), SgPwlStorageBSplineL::calcRateSigma(), SgPwlStorageBSplineQ::calcRateSigma(), SgPwlStorageBSplineL::calcRateSolution(), SgPwlStorageBSplineQ::calcRateSolution(), SgPwlStorageIncRates::calcRateSolution(), SgPwlStorageBSplineL::deployParameters(), SgPwlStorageBSplineQ::deployParameters(), SgPwlStorageIncRates::deployParameters(), operator=(), SgPwlStorageBSplineL::propagatePartials(), SgPwlStorageBSplineQ::propagatePartials(), SgPwlStorageIncRates::propagatePartials(), and tStart().