General Purpose Geodetic Library
|
#include <SgPartial.h>
Public Types | |
enum | Attributes { Attr_IS_BREAK = 1<<0 , Attr_IS_PROPAGATED = 1<<1 , Attr_IS_IN_RUN = 1<<2 , Attr_IS_PARTIAL_SET = 1<<3 , Attr_IS_SPECIAL = 1<<4 } |
enum | DataDomain { DD_OFFSET = 0 , DD_RATE = 1 } |
Public Member Functions | |
SgPartial () | |
SgPartial (const SgPartial &p) | |
SgPartial (const QString &name) | |
~SgPartial () | |
SgPartial & | operator= (const SgPartial &a) |
const QString & | getName () const |
DataDomain | getDataDomain () const |
double | getD () const |
int | getNumObs () const |
int | getNumSes () const |
const SgMJD & | getTStart () const |
const SgMJD & | getTFinis () const |
const SgMJD & | getTCurrent () const |
void | setName (const QString &name) |
void | setD (double d) |
void | setDataDomain (DataDomain domain) |
void | setNumObs (int n) |
void | setNumSes (int n) |
void | setTStart (const SgMJD &t) |
void | setTFinis (const SgMJD &t) |
void | resetStatistics () |
void | updateStatistics (const SgMJD &t, double weight) |
void | zerofy () |
SgMJD | getTMean (const SgMJD &=tZero) const |
![]() | |
SgAttribute () | |
SgAttribute (const SgAttribute &a) | |
~SgAttribute () | |
SgAttribute & | operator= (const SgAttribute &a) |
unsigned int | getAttributes () const |
void | setAttributes (unsigned int a) |
void | addAttr (uint a) |
void | delAttr (uint a) |
void | assignAttr (uint a, bool b) |
void | xorAttr (uint a) |
bool | isAttr (uint a) const |
void | clearAll () |
Static Public Member Functions | |
static const QString | className () |
![]() | |
static const QString | className () |
Private Attributes | |
QString | name_ |
name of a derivation; More... | |
DataDomain | dataDomain_ |
double | d_ |
value of a derivation; More... | |
int | numObs_ |
number of points per derivation; More... | |
int | numSes_ |
number of sessions per derivation; More... | |
SgMJD | tStart_ |
MJD of the first measurement;. More... | |
SgMJD | tFinis_ |
MJD of the last measurement;. More... | |
double | twSum_ |
the weighted sum of epochs of observation; More... | |
double | wSum_ |
the sum of weights of observations; More... | |
SgPartial – a top part of SgParameter that estimator needs to know. ====================================================================================================
Definition at line 45 of file SgPartial.h.
Definition at line 48 of file SgPartial.h.
Enumerator | |
---|---|
DD_OFFSET | |
DD_RATE |
Definition at line 56 of file SgPartial.h.
|
inline |
A constructor. Creates a default object.
Definition at line 219 of file SgPartial.h.
References d_, dataDomain_, DD_OFFSET, numObs_, numSes_, twSum_, and wSum_.
|
inline |
A constructor. Creates a copy of an object.
a | – a attribute to be copied. |
Definition at line 253 of file SgPartial.h.
References d_, dataDomain_, getD(), getDataDomain(), getNumObs(), getNumSes(), numObs_, numSes_, twSum_, and wSum_.
|
inline |
A constructor. Creates a defult object with a name.
mname | – a name. |
Definition at line 236 of file SgPartial.h.
References d_, dataDomain_, DD_OFFSET, numObs_, numSes_, twSum_, and wSum_.
|
inline |
A destructor. Frees allocated memory.
Definition at line 271 of file SgPartial.h.
|
static |
Returns name of the class (for debug output).
Definition at line 36 of file SgPartial.cpp.
|
inline |
Returns a value of derivative.
Definition at line 291 of file SgPartial.h.
References d_.
Referenced by SgPartial(), SgArcStorage::calc_aT_P_a(), SgPwlStorageBSplineL::calc_aT_P_a(), SgPwlStorageBSplineQ::calc_aT_P_a(), SgPwlStorageIncRates::calc_aT_P_a(), SgEstimator::calc_aT_P_a_opt(), SgArcStorage::calc_P_a(), SgPwlStorageBSplineL::calc_P_a(), SgPwlStorageBSplineQ::calc_P_a(), SgPwlStorageIncRates::calc_P_a(), SgArcStorage::calcAX(), SgEstimator::calcAX(), SgPwlStorageBSplineL::calcAX(), SgPwlStorageBSplineQ::calcAX(), SgPwlStorageIncRates::calcAX(), SgVlbiObservation::fillPartials4delay(), operator=(), SgEstimator::processConstraint(), SgEstimator::processObs(), SgArcStorage::propagatePartials(), SgPwlStorageBSplineL::propagatePartials(), SgPwlStorageBSplineQ::propagatePartials(), and SgPwlStorageIncRates::propagatePartials().
|
inline |
Definition at line 97 of file SgPartial.h.
References dataDomain_.
Referenced by SgPartial(), 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::getListOfActiveParameters(), SgPwlStorageBSplineQ::getListOfActiveParameters(), SgPwlStorageIncRates::getListOfActiveParameters(), SgPwlStorageBSplineL::getNumOfActiveParameters(), SgPwlStorageBSplineQ::getNumOfActiveParameters(), SgPwlStorageIncRates::getNumOfActiveParameters(), operator=(), SgPwlStorageBSplineL::propagatePartials(), SgPwlStorageBSplineQ::propagatePartials(), and SgPwlStorageIncRates::propagatePartials().
|
inline |
Returns a name of the derivative.
Definition at line 283 of file SgPartial.h.
References name_.
Referenced by SgSolutionReporter::absorbInfo(), SgEstimator::addParameter(), SgEstimator::calc_aT_P_a_opt(), SgParameter::calcRW(), SgEstimator::collectDependentInfArray(), SgPwlStorage::collectTraces4Sfo(), SgTaskManager::constrainClocks(), SgArcStorage::deployParameters(), SgPwlStorageBSplineL::deployParameters(), SgPwlStorageBSplineQ::deployParameters(), SgPwlStorageIncRates::deployParameters(), SgEstimator::deployPwlParameters(), SgVlbiObservation::fillPartials4delay(), SgEstimator::finisRun(), SgEstimator::insertNewParameters(), lessThan4_ParameterByNameSortingOrder(), lessThan4_ParameterByTLeftSortingOrder(), lessThan4_ParameterByTRightSortingOrder(), lessThan4_ParameterByTTLSortingOrder(), SgSolutionReporter::lookupParameter(), operator=(), SgEstimator::removeParameter(), SgSolutionReporter::reportAtmo(), SgSolutionReporter::reportCloc(), SgSolutionReporter::reportEstimationBlock_Output4Spoolfile(), reportParameterList(), SgSolutionReporter::reportStoch4Stn(), SgEstimator::saveProcessedParameters(), and SgEstimator::submittSolution2GlobalStore().
|
inline |
Returns a number of observations.
Definition at line 299 of file SgPartial.h.
References numObs_.
Referenced by SgPartial(), SgPwlStorageBSplineQ::calcAX(), SgPwlStorageIncRates::calcAX(), operator=(), reportParameterList(), SgSolutionReporter::reportSources_Output4AposterioriFiles(), SgSolutionReporter::reportStochParameter(), and SgEstimator::submittSolution2GlobalStore().
|
inline |
Returns a number of sessions.
Definition at line 307 of file SgPartial.h.
References numSes_.
Referenced by SgPartial(), and operator=().
|
inline |
Returns an epoch of the current observation.
Definition at line 331 of file SgPartial.h.
References tFinis_.
|
inline |
Returns an epoch of the last observation.
Definition at line 323 of file SgPartial.h.
References tFinis_.
Referenced by operator=(), and reportParameterList().
Returns weighted mean epoch of the processed partial.
Definition at line 416 of file SgPartial.h.
References numObs_, twSum_, tZero, and wSum_.
Referenced by SgSingleSessionTaskManager::finisRun(), SgSolutionReporter::report2aposterioriFiles(), SgSolutionReporter::report2spoolFile(), SgSolutionReporter::reportBaselineVariationsBlock_Output4Spoolfile(), SgSolutionReporter::reportEstimationBlock_Output4Spoolfile(), reportParameterList(), SgSolutionReporter::reportSources_Output4AposterioriFiles(), and SgSolutionReporter::reportStochParameter().
|
inline |
Returns an epoch of the first observation.
Definition at line 315 of file SgPartial.h.
References tStart_.
Referenced by operator=(), and reportParameterList().
An assignment operator.
Definition at line 44 of file SgPartial.cpp.
References getD(), getDataDomain(), getName(), getNumObs(), getNumSes(), getTFinis(), getTStart(), SgAttribute::operator=(), setD(), setDataDomain(), setName(), setNumObs(), setNumSes(), setTFinis(), setTStart(), twSum_, and wSum_.
Referenced by SgParameter::operator=().
|
inline |
Resets current statistics.
Definition at line 395 of file SgPartial.h.
References numObs_, numSes_, tFinis_, tStart_, twSum_, tZero, and wSum_.
Referenced by SgParameter::resetStatistics().
|
inline |
Sets a value of partial derivative.
d | – a new value; |
Definition at line 347 of file SgPartial.h.
References SgAttribute::addAttr(), Attr_IS_PARTIAL_SET, and d_.
Referenced by SgVlbiSession::calculateClockBreakParameter(), SgVlbiSession::calculateClockBreaksParameters(), SgTaskManager::constrainClocks(), SgTaskManager::constrainSourcesPositions(), SgTaskManager::constrainStcPositionsNNR(), SgTaskManager::constrainStcPositionsNNT(), SgTaskManager::constrainTroposphericParameters(), SgSolutionReporter::evaluateUsedErpApriori(), SgVlbiObservation::fillPartials4delay(), SgVlbiObservation::fillPartials4rate(), operator=(), SgArcStorage::propagatePartials(), SgPwlStorageBSplineL::propagatePartials(), SgPwlStorageBSplineQ::propagatePartials(), SgPwlStorageIncRates::propagatePartials(), SgParameterBreak::propagatePartials(), SgParameterBreak::propagatePartials4rates(), and SgVlbiSession::resolveGrAmbigTriangles().
|
inline |
|
inline |
Sets up a name of the derivative.
name | – a name; |
Definition at line 339 of file SgPartial.h.
References name_.
Referenced by SgArcStorage::deployParameters(), SgPwlStorageBSplineL::deployParameters(), SgPwlStorageBSplineQ::deployParameters(), SgPwlStorageIncRates::deployParameters(), and operator=().
|
inline |
Sets a number of observations.
n | – a number of observations; |
Definition at line 356 of file SgPartial.h.
References numObs_.
Referenced by SgArcStorage::calcAX(), SgPwlStorageBSplineL::calcAX(), SgPwlStorageBSplineQ::calcAX(), SgPwlStorageIncRates::calcAX(), operator=(), SgEstimator::prepareStochasticSolution4Epoch(), and SgEstimator::submittSolution2GlobalStore().
|
inline |
Sets a number of sessions.
n | – a number of sessions; |
Definition at line 364 of file SgPartial.h.
References numSes_.
Referenced by operator=().
|
inline |
Sets up an epoch of the last observation.
t | – a new epoch; |
Definition at line 380 of file SgPartial.h.
References tFinis_.
Referenced by operator=().
|
inline |
Sets up an epoch of the first observation.
t | – a new epoch; |
Definition at line 372 of file SgPartial.h.
References tStart_.
Referenced by operator=().
void SgPartial::updateStatistics | ( | const SgMJD & | t, |
double | weight | ||
) |
Updates current statistics.
t | – an epoch of the observations; |
weight | – a weight of the observations; |
Definition at line 62 of file SgPartial.cpp.
References Attr_IS_PARTIAL_SET, SgAttribute::isAttr(), numObs_, tFinis_, tInf, SgMJD::toDouble(), tStart_, twSum_, tZero, and wSum_.
Referenced by SgEstimator::processObs().
|
inline |
Sets the value of the derivation to zero.
Definition at line 408 of file SgPartial.h.
References Attr_IS_PARTIAL_SET, d_, and SgAttribute::delAttr().
Referenced by SgEstimator::calc_aT_P_a_opt(), SgEstimator::processConstraint(), SgEstimator::processObs(), SgArcStorage::propagatePartials(), SgPwlStorageBSplineL::propagatePartials(), SgPwlStorageBSplineQ::propagatePartials(), and SgPwlStorageIncRates::propagatePartials().
|
private |
value of a derivation;
Definition at line 192 of file SgPartial.h.
Referenced by SgPartial(), getD(), setD(), and zerofy().
|
private |
Definition at line 191 of file SgPartial.h.
Referenced by SgPartial(), getDataDomain(), and setDataDomain().
|
private |
name of a derivation;
Definition at line 190 of file SgPartial.h.
|
private |
number of points per derivation;
Definition at line 193 of file SgPartial.h.
Referenced by SgPartial(), getNumObs(), getTMean(), resetStatistics(), setNumObs(), and updateStatistics().
|
private |
number of sessions per derivation;
Definition at line 194 of file SgPartial.h.
Referenced by SgPartial(), getNumSes(), resetStatistics(), and setNumSes().
|
private |
MJD of the last measurement;.
Definition at line 196 of file SgPartial.h.
Referenced by getTCurrent(), getTFinis(), resetStatistics(), setTFinis(), and updateStatistics().
|
private |
MJD of the first measurement;.
Definition at line 195 of file SgPartial.h.
Referenced by getTStart(), resetStatistics(), setTStart(), and updateStatistics().
|
private |
the weighted sum of epochs of observation;
Definition at line 197 of file SgPartial.h.
Referenced by SgPartial(), getTMean(), operator=(), resetStatistics(), and updateStatistics().
|
private |
the sum of weights of observations;
Definition at line 198 of file SgPartial.h.
Referenced by SgPartial(), getTMean(), operator=(), resetStatistics(), and updateStatistics().