General Purpose Geodetic Library
|
#include <SgVlbiSourceInfo.h>
Classes | |
class | StructModel |
class | StructModelMp |
Public Types | |
enum | Attributes { Attr_NOT_VALID = 1<<0 , Attr_ESTIMATE_COO = 1<<1 , Attr_ESTIMATE_VEL = 1<<2 , Attr_CONSTRAIN_COO = 1<<3 , Attr_CONSTRAIN_VEL = 1<<4 , Attr_APPLY_SSM = 1<<5 , Attr_HAS_A_PRIORI_POS = 1<<10 , Attr_TEST = 1<<31 } |
Public Member Functions | |
SgVlbiSourceInfo (int idx=-1, const QString &key="Unknown", const QString &aka="Unknown too") | |
SgVlbiSourceInfo (const SgVlbiSourceInfo &) | |
~SgVlbiSourceInfo () | |
const QString & | getAprioriReference () const |
const QString & | getAprioriComments () const |
int | getTotalScanNum () const |
int | getProcdScanNum () const |
SgParameter * | pRA () |
SgParameter * | pDN () |
double | getRA () const |
double | getDN () const |
double | getRA_ea () const |
double | getDN_ea () const |
double | getAl2ExtA () const |
double | getAl2Estd () const |
void | setAprioriReference (const QString &ref) |
void | setAprioriComments (const QString &str) |
void | setRA (double ra) |
void | setDN (double dn) |
void | setRA_ea (double ra) |
void | setDN_ea (double dn) |
void | setAl2ExtA (double l) |
void | setAl2Estd (double l) |
void | setTotalScanNum (int n) |
void | setProcdScanNum (int n) |
void | createParameters () |
void | releaseParameters () |
double | tauS (double f, double u, double v) |
void | processPartials4SrcStructModel (QList< SgParameter * > ¶meters, double f, double u, double v) |
void | incTotalScanNum (int n=1) |
void | incProcdScanNum (int n=1) |
void | resetAllEditings () |
bool | getIsSsModelEstimating () const |
void | setIsSsModelEstimating (bool is) |
bool | saveIntermediateResults (QDataStream &) const |
bool | loadIntermediateResults (QDataStream &) |
short | calculateStatusBits () |
void | applyStatusBits (short bitArray) |
QList< StructModelMp > & | sModel () |
const QList< StructModelMp > & | sModel () const |
void | addSrcStructPoint (double k, double b, double x, double y, bool estK=false, bool estB=false, bool estR=false) |
void | clearSrcStructPoints () |
int | calcNumOfEstimatedSsmParameters () const |
![]() | |
SgObjectInfo (int idx=-1, const QString &key="Unknown", const QString &aka="") | |
SgObjectInfo (const SgObjectInfo &) | |
~SgObjectInfo () | |
const QString & | getKey () const |
const QString & | getAka () const |
int | getIdx () const |
int | numTotal (DataType dType) const |
int | numProcessed (DataType dType) const |
int | numUsable (DataType) const |
double | getSigma2add (DataType) const |
const SgMJD & | tFirst (DataType) const |
const SgMJD & | tLast (DataType) const |
double | normedResid (DataType) const |
double | getSFF_NrmRes (DataType) const |
double | getSFF_NrmRes_plus_15 (DataType) const |
double | chi2 (DataType) const |
double | reducedChi2 (DataType) const |
double | weightScaleCoefficient (DataType) const |
double | dispersion (DataType, bool=false) const |
void | setKey (const QString &key) |
void | setAka (const QString &aka) |
void | setIdx (int idx) |
void | setNumUsable (DataType dType, int n) |
void | setNormedResid (DataType dType, double d) |
void | setSigma2add (DataType dType, double d) |
void | setSFF_NrmRes (DataType dType, double d) |
void | setSFF_NrmRes_plus_15 (DataType dType, double d) |
void | incNumTotal (DataType, int=1) |
void | decNumTotal (DataType, int=1) |
void | incNumUsable (DataType, int=1) |
void | decNumUsable (DataType, int=1) |
void | addWrms (DataType, const SgMJD &t, double o_c, double w, double auxSum) |
double | wrms (DataType) const |
double | dof (DataType) const |
void | clearWrms () |
void | copyStatistics (SgObjectInfo *) |
void | copySigmas2add (SgObjectInfo *) |
void | resetAllEditings () |
void | recalcSigma2add (const SgTaskConfig *cfg) |
void | calcNormalizedResiduals (const QList< SgVlbiObservable * > &observables, const SgTaskConfig *cfg) |
bool | saveIntermediateResults (QDataStream &) const |
bool | loadIntermediateResults (QDataStream &) |
![]() | |
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 double | arcLength (double ra_1, double dn_1, double ra_2, double dn_2) |
static QString | ra2String (double ra) |
static QString | dn2String (double dn, bool mandatorySign=false) |
![]() | |
static const QString | className () |
![]() | |
static const QString | className () |
Private Attributes | |
QString | aprioriReference_ |
QString | aprioriComments_ |
int | totalScanNum_ |
int | procdScanNum_ |
total number of scans for the source; More... | |
double | RA_ |
number of processed scans for the source; More... | |
double | DN_ |
double | RA_ea_ |
double | DN_ea_ |
double | al2ExtA_ |
double | al2Estd_ |
SgParameter * | pRA_ |
SgParameter * | pDN_ |
QList< StructModelMp > | sModel_ |
bool | isSsModelEstimating_ |
Definition at line 59 of file SgVlbiSourceInfo.h.
Definition at line 62 of file SgVlbiSourceInfo.h.
SgVlbiSourceInfo::SgVlbiSourceInfo | ( | int | idx = -1 , |
const QString & | key = "Unknown" , |
||
const QString & | aka = "Unknown too" |
||
) |
A constructor. Creates an object.
Definition at line 93 of file SgVlbiSourceInfo.cpp.
References al2Estd_, al2ExtA_, Attr_ESTIMATE_COO, SgAttribute::delAttr(), DN_, DN_ea_, isSsModelEstimating_, pDN_, pRA_, procdScanNum_, RA_, RA_ea_, and totalScanNum_.
SgVlbiSourceInfo::SgVlbiSourceInfo | ( | const SgVlbiSourceInfo & | src | ) |
A constructor. Creates a copy of an object.
Definition at line 116 of file SgVlbiSourceInfo.cpp.
References al2Estd_, al2ExtA_, DN_, DN_ea_, isSsModelEstimating_, pDN_, pRA_, procdScanNum_, RA_, RA_ea_, and totalScanNum_.
|
inline |
A destructor. Frees allocated memory.
Definition at line 358 of file SgVlbiSourceInfo.h.
References releaseParameters(), and sModel_.
|
inline |
Definition at line 335 of file SgVlbiSourceInfo.h.
References sModel_.
Referenced by NsScrPrx4Source::addSrcStructPoint(), and SgVlbiSession::collectAPriories().
void SgVlbiSourceInfo::applyStatusBits | ( | short | bitArray | ) |
Definition at line 521 of file SgVlbiSourceInfo.cpp.
References SgAttribute::addAttr(), Attr_ESTIMATE_COO, and Attr_NOT_VALID.
Referenced by SgVlbiSession::getDataFromVgosDb(), and SgAgvDriver::initSession().
|
static |
Definition at line 147 of file SgVlbiSourceInfo.cpp.
References RAD2MAS.
Referenced by SgVlbiSession::collectAPriories(), and SgSingleSessionTaskManager::run().
int SgVlbiSourceInfo::calcNumOfEstimatedSsmParameters | ( | ) | const |
Definition at line 535 of file SgVlbiSourceInfo.cpp.
References sModel_.
Referenced by SgGuiVlbiSourceList::SgGuiVlbiSourceList(), SgGuiVlbiSourceList::toggleEntryMoveEnable(), and SgGuiVlbiSourceList::updateContent().
short SgVlbiSourceInfo::calculateStatusBits | ( | ) |
Definition at line 479 of file SgVlbiSourceInfo.cpp.
References Attr_ESTIMATE_COO, Attr_NOT_VALID, and SgAttribute::isAttr().
Referenced by SgAgvDriver::fillSessVars(), and SgVlbiSession::putDataIntoVgosDb().
|
static |
Returns name of the class (for debug output).
Definition at line 85 of file SgVlbiSourceInfo.cpp.
|
inline |
Definition at line 338 of file SgVlbiSourceInfo.h.
References sModel_.
Referenced by NsScrPrx4Source::clearSrcStructPoints(), and SgVlbiSession::collectAPriories().
void SgVlbiSourceInfo::createParameters | ( | ) |
Allocates necessary memory for estimated parameters.
Definition at line 209 of file SgVlbiSourceInfo.cpp.
References SgObjectInfo::getKey(), pDN_, pRA_, releaseParameters(), and sModel_.
|
static |
Definition at line 184 of file SgVlbiSourceInfo.cpp.
References RAD2MAS.
Referenced by SgKombOb01Record::debugReport(), SgSolutionReporter::reportEstimationBlock_Output4Spoolfile(), and SgSolutionReporter::reportSources_Output4AposterioriFiles().
|
inline |
Definition at line 213 of file SgVlbiSourceInfo.h.
References al2Estd_.
Referenced by SgGuiVlbiSourceList::SgGuiVlbiSourceList(), and SgGuiVlbiSourceList::updateContent().
|
inline |
Definition at line 212 of file SgVlbiSourceInfo.h.
References al2ExtA_.
Referenced by SgGuiVlbiSourceList::SgGuiVlbiSourceList(), SgVlbiSession::collectAPriories(), and SgGuiVlbiSourceList::updateContent().
|
inline |
Definition at line 181 of file SgVlbiSourceInfo.h.
References aprioriComments_.
Referenced by SgGuiVlbiSourceList::SgGuiVlbiSourceList(), NsScrPrx4Source::getAprioriComments(), SgSolutionReporter::reportSources_Output4AposterioriFiles(), and SgGuiVlbiSourceList::updateContent().
|
inline |
Definition at line 180 of file SgVlbiSourceInfo.h.
References aprioriReference_.
Referenced by SgAgvDriver::fillSessVars(), and SgVlbiSession::putDataIntoVgosDb().
|
inline |
Returns a value of source's declination.
Definition at line 394 of file SgVlbiSourceInfo.h.
References DN_.
Referenced by SgVlbiSession::collectAPriories(), SgTaskManager::constrainSourcesPositions(), SgVlbiObservation::evalExtApriori_SrcPos(), SgVlbiSession::exportDataIntoNgsFile(), SgAgvDriver::fillSessVars(), NsScrPrx4Source::getDn(), SgVlbiSession::putDataIntoVgosDb(), SgSolutionReporter::reportEstimationBlock_Output4Spoolfile(), and SgSolutionReporter::reportSources_Output4AposterioriFiles().
|
inline |
Returns a value of source's declination (ext. a priori file value).
Definition at line 410 of file SgVlbiSourceInfo.h.
References DN_ea_.
Referenced by SgVlbiSession::collectAPriories(), SgVlbiObservation::evalExtApriori_SrcPos(), SgSolutionReporter::reportEstimationBlock_Output4Spoolfile(), and SgSolutionReporter::reportSources_Output4AposterioriFiles().
|
inline |
Definition at line 289 of file SgVlbiSourceInfo.h.
References isSsModelEstimating_.
Referenced by SgTaskManager::fillParameterList(), and SgVlbiObservation::fillPartials4delay().
|
inline |
Definition at line 183 of file SgVlbiSourceInfo.h.
References procdScanNum_.
|
inline |
Returns a value of source's right ascension.
Definition at line 386 of file SgVlbiSourceInfo.h.
References RA_.
Referenced by SgVlbiSession::collectAPriories(), SgTaskManager::constrainSourcesPositions(), SgVlbiObservation::evalExtApriori_SrcPos(), SgVlbiSession::exportDataIntoNgsFile(), SgAgvDriver::fillSessVars(), NsScrPrx4Source::getRa(), SgVlbiSession::putDataIntoVgosDb(), SgSolutionReporter::reportEstimationBlock_Output4Spoolfile(), SgSolutionReporter::reportSources_Output4AposterioriFiles(), and rightAscensionSortingOrderLessThan().
|
inline |
Returns a value of source's right ascension (ext. a priori file value).
Definition at line 402 of file SgVlbiSourceInfo.h.
References RA_ea_.
Referenced by SgVlbiSession::collectAPriories(), SgVlbiObservation::evalExtApriori_SrcPos(), SgSolutionReporter::reportEstimationBlock_Output4Spoolfile(), and SgSolutionReporter::reportSources_Output4AposterioriFiles().
|
inline |
Definition at line 182 of file SgVlbiSourceInfo.h.
References totalScanNum_.
Referenced by SgGuiVlbiSourceList::SgGuiVlbiSourceList(), and SgGuiVlbiSourceList::updateContent().
|
inline |
Definition at line 285 of file SgVlbiSourceInfo.h.
References procdScanNum_.
|
inline |
Definition at line 284 of file SgVlbiSourceInfo.h.
References totalScanNum_.
bool SgVlbiSourceInfo::loadIntermediateResults | ( | QDataStream & | s | ) |
Definition at line 287 of file SgVlbiSourceInfo.cpp.
References SgObjectInfo::loadIntermediateResults(), and sModel_.
|
inline |
Returns a pointer on the parameter: src coordinates: Declination North.
Definition at line 378 of file SgVlbiSourceInfo.h.
References pDN_.
Referenced by SgTaskManager::constrainSourcesPositions(), SgTaskManager::fillParameterList(), SgVlbiObservation::fillPartials4delay(), SgVlbiObservation::fillPartials4rate(), SgSolutionReporter::reportEstimationBlock_Output4Spoolfile(), SgSolutionReporter::reportSources_Output4AposterioriFiles(), and SgSolutionReporter::synchronizeInfo().
|
inline |
Returns a pointer on the parameter: src coordinates: Right Ascension.
Definition at line 370 of file SgVlbiSourceInfo.h.
References pRA_.
Referenced by SgTaskManager::constrainSourcesPositions(), SgTaskManager::fillParameterList(), SgVlbiObservation::fillPartials4delay(), SgVlbiObservation::fillPartials4rate(), SgSolutionReporter::reportEstimationBlock_Output4Spoolfile(), SgSolutionReporter::reportSources_Output4AposterioriFiles(), and SgSolutionReporter::synchronizeInfo().
void SgVlbiSourceInfo::processPartials4SrcStructModel | ( | QList< SgParameter * > & | parameters, |
double | f, | ||
double | u, | ||
double | v | ||
) |
Definition at line 360 of file SgVlbiSourceInfo.cpp.
References SgPartial::Attr_IS_IN_RUN, and sModel_.
Referenced by SgVlbiObservation::fillPartials4delay().
|
static |
Definition at line 165 of file SgVlbiSourceInfo.cpp.
References RAD2MS.
Referenced by SgKombOb01Record::debugReport(), SgSolutionReporter::reportEstimationBlock_Output4Spoolfile(), and SgSolutionReporter::reportSources_Output4AposterioriFiles().
void SgVlbiSourceInfo::releaseParameters | ( | ) |
Frees previously allocated memory for estimated parameters.
Definition at line 228 of file SgVlbiSourceInfo.cpp.
References pDN_, pRA_, and sModel_.
Referenced by ~SgVlbiSourceInfo(), and createParameters().
|
inline |
Definition at line 453 of file SgVlbiSourceInfo.h.
References Attr_APPLY_SSM, Attr_CONSTRAIN_COO, Attr_CONSTRAIN_VEL, Attr_ESTIMATE_COO, Attr_ESTIMATE_VEL, Attr_NOT_VALID, SgAttribute::delAttr(), procdScanNum_, and SgObjectInfo::resetAllEditings().
bool SgVlbiSourceInfo::saveIntermediateResults | ( | QDataStream & | s | ) | const |
Definition at line 268 of file SgVlbiSourceInfo.cpp.
References SgVlbiSourceInfo::StructModel::getB(), SgVlbiSourceInfo::StructModelMp::getEstimatePosition(), SgVlbiSourceInfo::StructModelMp::getEstimateRatio(), SgVlbiSourceInfo::StructModelMp::getEstimateSpIdx(), SgVlbiSourceInfo::StructModel::getK(), SgVlbiSourceInfo::StructModel::getX(), SgVlbiSourceInfo::StructModel::getY(), SgObjectInfo::saveIntermediateResults(), and sModel_.
|
inline |
Definition at line 245 of file SgVlbiSourceInfo.h.
References al2Estd_.
|
inline |
Definition at line 244 of file SgVlbiSourceInfo.h.
References al2ExtA_.
Referenced by SgVlbiSession::collectAPriories().
|
inline |
Definition at line 222 of file SgVlbiSourceInfo.h.
References aprioriComments_.
Referenced by SgVlbiSession::collectAPriories().
|
inline |
Definition at line 221 of file SgVlbiSourceInfo.h.
References aprioriReference_.
Referenced by SgVlbiSession::getDataFromVgosDb(), SgAgvDriver::initSession(), and VcCalc2SessionIfc::putA_star_ref().
|
inline |
Sets declination of the source.
– | dn new value of the right ascension; |
Definition at line 426 of file SgVlbiSourceInfo.h.
References DN_.
Referenced by SgVlbiSession::getDataFromDbhImage(), SgVlbiSession::getDataFromVgosDb(), SgAgvDriver::initSession(), VcCalc2SessionIfc::putR_star2000(), and NsScrPrx4Source::setDn().
|
inline |
Sets declination of the source (ext. a priori file value).
– | dn new value of the right ascension; |
Definition at line 441 of file SgVlbiSourceInfo.h.
References DN_ea_.
Referenced by SgVlbiSession::collectAPriories().
|
inline |
Definition at line 290 of file SgVlbiSourceInfo.h.
References isSsModelEstimating_.
Referenced by SgTaskManager::fillParameterList().
|
inline |
Definition at line 249 of file SgVlbiSourceInfo.h.
References procdScanNum_.
|
inline |
Sets right ascension of the source.
– | ra new value of the right ascension; |
Definition at line 418 of file SgVlbiSourceInfo.h.
References RA_.
Referenced by SgVlbiSession::getDataFromDbhImage(), SgVlbiSession::getDataFromVgosDb(), SgAgvDriver::initSession(), VcCalc2SessionIfc::putR_star2000(), and NsScrPrx4Source::setRa().
|
inline |
Sets right ascension of the source (ext. a priori file value).
– | ra new value of the right ascension; |
Definition at line 433 of file SgVlbiSourceInfo.h.
References RA_ea_.
Referenced by SgVlbiSession::collectAPriories().
|
inline |
Definition at line 248 of file SgVlbiSourceInfo.h.
References totalScanNum_.
Referenced by SgVlbiBand::selfCheck(), and SgVlbiSession::selfCheck().
|
inline |
Definition at line 333 of file SgVlbiSourceInfo.h.
References sModel_.
Referenced by SgGuiVlbiSourceList::SgGuiVlbiSourceList(), SgGuiVlbiSrcInfoEditor::SgGuiVlbiSrcInfoEditor(), SgGuiVlbiSrcInfoEditor::addNewSsmPoint(), SgVlbiSession::collectAPriories(), SgGuiVlbiSrcInfoEditor::deleteSsmPoint(), SgVlbiObservation::evaluateTheoreticalValues(), SgTaskManager::fillParameterList(), SgVlbiObservation::fillPartials4delay(), NsScrPrx4Source::getB_i(), NsScrPrx4Source::getB_iSig(), NsScrPrx4Source::getK_i(), NsScrPrx4Source::getK_iSig(), NsScrPrx4Source::getX_i(), NsScrPrx4Source::getX_iSig(), NsScrPrx4Source::getY_i(), NsScrPrx4Source::getY_iSig(), NsScrPrx4Source::numOfSrcStructPoints(), SgSingleSessionTaskManager::run(), NsScrPrx4Source::setB_i(), NsScrPrx4Source::setK_i(), NsScrPrx4Source::setX_i(), NsScrPrx4Source::setY_i(), and SgGuiVlbiSourceList::updateContent().
|
inline |
Definition at line 334 of file SgVlbiSourceInfo.h.
References sModel_.
double SgVlbiSourceInfo::tauS | ( | double | f, |
double | u, | ||
double | v | ||
) |
Definition at line 310 of file SgVlbiSourceInfo.cpp.
References sModel_.
Referenced by SgVlbiObservation::evaluateTheoreticalValues().
|
private |
Definition at line 323 of file SgVlbiSourceInfo.h.
Referenced by SgVlbiSourceInfo(), getAl2Estd(), and setAl2Estd().
|
private |
Definition at line 322 of file SgVlbiSourceInfo.h.
Referenced by SgVlbiSourceInfo(), getAl2ExtA(), and setAl2ExtA().
|
private |
Definition at line 311 of file SgVlbiSourceInfo.h.
Referenced by getAprioriComments(), and setAprioriComments().
|
private |
Definition at line 310 of file SgVlbiSourceInfo.h.
Referenced by getAprioriReference(), and setAprioriReference().
|
private |
Definition at line 317 of file SgVlbiSourceInfo.h.
Referenced by SgVlbiSourceInfo(), getDN(), and setDN().
|
private |
Definition at line 320 of file SgVlbiSourceInfo.h.
Referenced by SgVlbiSourceInfo(), getDN_ea(), and setDN_ea().
|
private |
Definition at line 331 of file SgVlbiSourceInfo.h.
Referenced by SgVlbiSourceInfo(), getIsSsModelEstimating(), and setIsSsModelEstimating().
|
private |
Definition at line 327 of file SgVlbiSourceInfo.h.
Referenced by SgVlbiSourceInfo(), createParameters(), pDN(), and releaseParameters().
|
private |
Definition at line 326 of file SgVlbiSourceInfo.h.
Referenced by SgVlbiSourceInfo(), createParameters(), pRA(), and releaseParameters().
|
private |
total number of scans for the source;
Definition at line 313 of file SgVlbiSourceInfo.h.
Referenced by SgVlbiSourceInfo(), getProcdScanNum(), incProcdScanNum(), resetAllEditings(), and setProcdScanNum().
|
private |
number of processed scans for the source;
Definition at line 316 of file SgVlbiSourceInfo.h.
Referenced by SgVlbiSourceInfo(), getRA(), and setRA().
|
private |
Definition at line 319 of file SgVlbiSourceInfo.h.
Referenced by SgVlbiSourceInfo(), getRA_ea(), and setRA_ea().
|
private |
Definition at line 330 of file SgVlbiSourceInfo.h.
Referenced by ~SgVlbiSourceInfo(), addSrcStructPoint(), calcNumOfEstimatedSsmParameters(), clearSrcStructPoints(), createParameters(), loadIntermediateResults(), processPartials4SrcStructModel(), releaseParameters(), saveIntermediateResults(), sModel(), and tauS().
|
private |
Definition at line 312 of file SgVlbiSourceInfo.h.
Referenced by SgVlbiSourceInfo(), getTotalScanNum(), incTotalScanNum(), and setTotalScanNum().