General Purpose Geodetic Library
SgVlbiBaselineInfo Class Reference

#include <SgVlbiBaselineInfo.h>

Inheritance diagram for SgVlbiBaselineInfo:
SgObjectInfo SgAttribute

Public Types

enum  Attributes {
  Attr_NOT_VALID = 1<< 0 , Attr_ESTIMATE_CLOCKS = 1<< 1 , Attr_BIND_TROPOSPHERE = 1<< 2 , Attr_USE_IONO4GRD = 1<< 3 ,
  Attr_USE_IONO4PHD = 1<< 4 , Attr_SKIP_WC = 1<< 5
}
 

Public Member Functions

 SgVlbiBaselineInfo (int idx=-1, const QString &key="Unknown", const QString &aka="Unknown too")
 
 ~SgVlbiBaselineInfo ()
 
QList< SgVlbiObservable * > & observables ()
 
double getCbdTotalWrms () const
 
double getMeanGrDelResiduals () const
 
double getMeanGrDelResidualsSigma () const
 
double getAuxSign () const
 
const QString & strGrdAmbigsStat () const
 
const QString & strPhdAmbigsStat () const
 
int getTypicalNumOfChannels () const
 
double getTypicalGrdAmbigSpacing () const
 
double getTypicalPhdAmbigSpacing () const
 
double getTypicalAmbigSpacing (SgTaskConfig::VlbiDelayType type) const
 
double getLength () const
 
double dClock () const
 
double dClockSigma () const
 
SgClockBreakIndicatorcbIndicator ()
 
void setAuxSign (double s)
 
void setLength (double l)
 
SgParameter *& pAux ()
 
SgParameterpClock ()
 
SgParameterpBx ()
 
SgParameterpBy ()
 
SgParameterpBz ()
 
const QMap< int, int > & numOfChanByCount () const
 
bool selfCheck ()
 
void calculateClockF1 (SgTaskConfig *)
 
void evaluateCBIndicator ()
 
void scan4Ambiguities ()
 
void evaluateMeanGrDelResiduals ()
 
void shiftAmbiguities (int deltaN)
 
void createParameters ()
 
void releaseParameters ()
 
SgVlbiStationInfostn_1 (QMap< QString, SgVlbiStationInfo * >) const
 
SgVlbiStationInfostn_2 (QMap< QString, SgVlbiStationInfo * >) const
 
void resetAllEditings ()
 
void setGrdAmbiguities2min ()
 
bool saveIntermediateResults (QDataStream &) const
 
bool loadIntermediateResults (QDataStream &)
 
- Public Member Functions inherited from SgObjectInfo
 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 SgMJDtFirst (DataType) const
 
const SgMJDtLast (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 &)
 
- Public Member Functions inherited from SgAttribute
 SgAttribute ()
 
 SgAttribute (const SgAttribute &a)
 
 ~SgAttribute ()
 
SgAttributeoperator= (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 Public Member Functions inherited from SgObjectInfo
static const QString className ()
 
- Static Public Member Functions inherited from SgAttribute
static const QString className ()
 

Private Member Functions

void scan4Ambiguities_m1 ()
 
void scan4Ambiguities_m2 ()
 

Private Attributes

QList< SgVlbiObservable * > observables_
 
double cbd_total_wrms_
 
SgClockBreakIndicatorcbIndicator_
 
SgParameterpAux_
 
double meanGrDelResiduals_
 
double meanGrDelResidualsSigma_
 
double auxSign_
 
QMap< int, int > numOfChanByCount_
 
int typicalNumOfCannels_
 
SgParameterpClock_
 
SgParameterpBx_
 
SgParameterpBy_
 
SgParameterpBz_
 
double dClock_
 
double dClockSigma_
 
double length_
 
QMap< double, int > grdAmbigsBySpacing_
 
double typicalGrdAmbigSpacing_
 
QString strGrdAmbigsStat_
 
QMap< double, int > phdAmbigsBySpacing_
 
double typicalPhdAmbigSpacing_
 
QString strPhdAmbigsStat_
 

Detailed Description

Definition at line 79 of file SgVlbiBaselineInfo.h.

Member Enumeration Documentation

◆ Attributes

Enumerator
Attr_NOT_VALID 

omit the baseline;

Attr_ESTIMATE_CLOCKS 

estimate baseline clocks;

Attr_BIND_TROPOSPHERE 

the troposphere parameters should be tied between the stations;

Attr_USE_IONO4GRD 

use ionosphere corrections for group delays;

Attr_USE_IONO4PHD 

use ionosphere corrections for phase delays;

Attr_SKIP_WC 

do not make weight corrections for this baseline;

Definition at line 82 of file SgVlbiBaselineInfo.h.

Constructor & Destructor Documentation

◆ SgVlbiBaselineInfo()

SgVlbiBaselineInfo::SgVlbiBaselineInfo ( int  idx = -1,
const QString &  key = "Unknown",
const QString &  aka = "Unknown too" 
)
inline

◆ ~SgVlbiBaselineInfo()

SgVlbiBaselineInfo::~SgVlbiBaselineInfo ( )
inline

A destructor. Frees allocated memory.

Definition at line 318 of file SgVlbiBaselineInfo.h.

References cbIndicator_, numOfChanByCount_, observables_, and releaseParameters().

Member Function Documentation

◆ calculateClockF1()

◆ cbIndicator()

SgClockBreakIndicator * SgVlbiBaselineInfo::cbIndicator ( )
inline

Definition at line 373 of file SgVlbiBaselineInfo.h.

References cbIndicator_.

Referenced by SgVlbiSession::detectClockBreaks_mode1().

◆ className()

const QString SgVlbiBaselineInfo::className ( )
static

◆ createParameters()

void SgVlbiBaselineInfo::createParameters ( )

Allocates necessary memory for estimated parameters.

Definition at line 53 of file SgVlbiBaselineInfo.cpp.

References dClock_, dClockSigma_, SgObjectInfo::getKey(), pBx_, pBy_, pBz_, pClock_, and releaseParameters().

◆ dClock()

◆ dClockSigma()

◆ evaluateCBIndicator()

◆ evaluateMeanGrDelResiduals()

◆ getAuxSign()

double SgVlbiBaselineInfo::getAuxSign ( ) const
inline

Definition at line 365 of file SgVlbiBaselineInfo.h.

References auxSign_.

Referenced by SgVlbiSession::resolveGrAmbigTriangles().

◆ getCbdTotalWrms()

double SgVlbiBaselineInfo::getCbdTotalWrms ( ) const
inline

Definition at line 341 of file SgVlbiBaselineInfo.h.

References cbd_total_wrms_.

◆ getLength()

double SgVlbiBaselineInfo::getLength ( ) const
inline

◆ getMeanGrDelResiduals()

double SgVlbiBaselineInfo::getMeanGrDelResiduals ( ) const
inline

Definition at line 349 of file SgVlbiBaselineInfo.h.

References meanGrDelResiduals_.

Referenced by SgVlbiSession::resolveGrAmbigTriangles().

◆ getMeanGrDelResidualsSigma()

double SgVlbiBaselineInfo::getMeanGrDelResidualsSigma ( ) const
inline

Definition at line 357 of file SgVlbiBaselineInfo.h.

References meanGrDelResidualsSigma_.

Referenced by SgVlbiSession::resolveGrAmbigTriangles().

◆ getTypicalAmbigSpacing()

double SgVlbiBaselineInfo::getTypicalAmbigSpacing ( SgTaskConfig::VlbiDelayType  type) const
inline

◆ getTypicalGrdAmbigSpacing()

double SgVlbiBaselineInfo::getTypicalGrdAmbigSpacing ( ) const
inline

◆ getTypicalNumOfChannels()

int SgVlbiBaselineInfo::getTypicalNumOfChannels ( ) const
inline

Definition at line 131 of file SgVlbiBaselineInfo.h.

References typicalNumOfCannels_.

Referenced by SgGuiVlbiBaselineList::SgGuiVlbiBaselineList().

◆ getTypicalPhdAmbigSpacing()

double SgVlbiBaselineInfo::getTypicalPhdAmbigSpacing ( ) const
inline

Definition at line 133 of file SgVlbiBaselineInfo.h.

References typicalPhdAmbigSpacing_.

◆ loadIntermediateResults()

bool SgVlbiBaselineInfo::loadIntermediateResults ( QDataStream s)

◆ numOfChanByCount()

const QMap<int, int>& SgVlbiBaselineInfo::numOfChanByCount ( ) const
inline

Definition at line 167 of file SgVlbiBaselineInfo.h.

References numOfChanByCount_.

Referenced by SgVlbiSession::checkChannelSetup().

◆ observables()

◆ pAux()

SgParameter *& SgVlbiBaselineInfo::pAux ( )
inline

Returns a pointer on the parameter.

Definition at line 381 of file SgVlbiBaselineInfo.h.

References pAux_.

Referenced by SgVlbiSession::resolveGrAmbigTriangles().

◆ pBx()

◆ pBy()

◆ pBz()

◆ pClock()

◆ releaseParameters()

void SgVlbiBaselineInfo::releaseParameters ( )

Frees previously allocated memory for estimated parameters.

Definition at line 68 of file SgVlbiBaselineInfo.cpp.

References SgPartial::Attr_IS_IN_RUN, dClock_, dClockSigma_, SgParameter::getSigma(), SgParameter::getSolution(), SgAttribute::isAttr(), pBx_, pBy_, pBz_, and pClock_.

Referenced by ~SgVlbiBaselineInfo(), and createParameters().

◆ resetAllEditings()

void SgVlbiBaselineInfo::resetAllEditings ( )
inline

◆ saveIntermediateResults()

bool SgVlbiBaselineInfo::saveIntermediateResults ( QDataStream s) const

◆ scan4Ambiguities()

void SgVlbiBaselineInfo::scan4Ambiguities ( )

Check residuals for ambiguities.

Definition at line 459 of file SgVlbiBaselineInfo.cpp.

References scan4Ambiguities_m1().

Referenced by SgVlbiSession::scanBaselines4GrDelayAmbiguities().

◆ scan4Ambiguities_m1()

◆ scan4Ambiguities_m2()

◆ selfCheck()

◆ setAuxSign()

void SgVlbiBaselineInfo::setAuxSign ( double  s)
inline

Sets an auxiliary sign.

Parameters
s– new sign;

Definition at line 421 of file SgVlbiBaselineInfo.h.

References auxSign_.

Referenced by SgVlbiSession::resolveGrAmbigTriangles().

◆ setGrdAmbiguities2min()

◆ setLength()

void SgVlbiBaselineInfo::setLength ( double  l)
inline

Definition at line 153 of file SgVlbiBaselineInfo.h.

References length_.

Referenced by SgVlbiSession::selfCheck().

◆ shiftAmbiguities()

◆ stn_1()

SgVlbiStationInfo * SgVlbiBaselineInfo::stn_1 ( QMap< QString, SgVlbiStationInfo * >  stations) const

◆ stn_2()

SgVlbiStationInfo * SgVlbiBaselineInfo::stn_2 ( QMap< QString, SgVlbiStationInfo * >  stations) const

◆ strGrdAmbigsStat()

const QString& SgVlbiBaselineInfo::strGrdAmbigsStat ( ) const
inline

Definition at line 127 of file SgVlbiBaselineInfo.h.

References strGrdAmbigsStat_.

Referenced by NsSessionEditDialog::tab4BandPlots().

◆ strPhdAmbigsStat()

const QString& SgVlbiBaselineInfo::strPhdAmbigsStat ( ) const
inline

Definition at line 129 of file SgVlbiBaselineInfo.h.

References strPhdAmbigsStat_.

Referenced by NsSessionEditDialog::tab4BandPlots().

Member Data Documentation

◆ auxSign_

double SgVlbiBaselineInfo::auxSign_
private

Definition at line 234 of file SgVlbiBaselineInfo.h.

Referenced by SgVlbiBaselineInfo(), getAuxSign(), and setAuxSign().

◆ cbd_total_wrms_

double SgVlbiBaselineInfo::cbd_total_wrms_
private

◆ cbIndicator_

SgClockBreakIndicator* SgVlbiBaselineInfo::cbIndicator_
private

◆ dClock_

double SgVlbiBaselineInfo::dClock_
private

◆ dClockSigma_

double SgVlbiBaselineInfo::dClockSigma_
private

◆ grdAmbigsBySpacing_

QMap<double, int> SgVlbiBaselineInfo::grdAmbigsBySpacing_
private

Definition at line 254 of file SgVlbiBaselineInfo.h.

Referenced by selfCheck().

◆ length_

double SgVlbiBaselineInfo::length_
private

Definition at line 250 of file SgVlbiBaselineInfo.h.

Referenced by SgVlbiBaselineInfo(), getLength(), and setLength().

◆ meanGrDelResiduals_

double SgVlbiBaselineInfo::meanGrDelResiduals_
private

◆ meanGrDelResidualsSigma_

double SgVlbiBaselineInfo::meanGrDelResidualsSigma_
private

◆ numOfChanByCount_

QMap<int, int> SgVlbiBaselineInfo::numOfChanByCount_
private

Definition at line 237 of file SgVlbiBaselineInfo.h.

Referenced by ~SgVlbiBaselineInfo(), numOfChanByCount(), and selfCheck().

◆ observables_

◆ pAux_

SgParameter* SgVlbiBaselineInfo::pAux_
private

Definition at line 229 of file SgVlbiBaselineInfo.h.

Referenced by SgVlbiBaselineInfo(), and pAux().

◆ pBx_

SgParameter* SgVlbiBaselineInfo::pBx_
private

Definition at line 245 of file SgVlbiBaselineInfo.h.

Referenced by SgVlbiBaselineInfo(), createParameters(), pBx(), and releaseParameters().

◆ pBy_

SgParameter* SgVlbiBaselineInfo::pBy_
private

Definition at line 246 of file SgVlbiBaselineInfo.h.

Referenced by SgVlbiBaselineInfo(), createParameters(), pBy(), and releaseParameters().

◆ pBz_

SgParameter* SgVlbiBaselineInfo::pBz_
private

Definition at line 247 of file SgVlbiBaselineInfo.h.

Referenced by SgVlbiBaselineInfo(), createParameters(), pBz(), and releaseParameters().

◆ pClock_

SgParameter* SgVlbiBaselineInfo::pClock_
private

◆ phdAmbigsBySpacing_

QMap<double, int> SgVlbiBaselineInfo::phdAmbigsBySpacing_
private

Definition at line 258 of file SgVlbiBaselineInfo.h.

Referenced by selfCheck().

◆ strGrdAmbigsStat_

QString SgVlbiBaselineInfo::strGrdAmbigsStat_
private

Definition at line 256 of file SgVlbiBaselineInfo.h.

Referenced by selfCheck(), and strGrdAmbigsStat().

◆ strPhdAmbigsStat_

QString SgVlbiBaselineInfo::strPhdAmbigsStat_
private

Definition at line 260 of file SgVlbiBaselineInfo.h.

Referenced by selfCheck(), and strPhdAmbigsStat().

◆ typicalGrdAmbigSpacing_

double SgVlbiBaselineInfo::typicalGrdAmbigSpacing_
private

◆ typicalNumOfCannels_

int SgVlbiBaselineInfo::typicalNumOfCannels_
private

Definition at line 238 of file SgVlbiBaselineInfo.h.

Referenced by SgVlbiBaselineInfo(), getTypicalNumOfChannels(), and selfCheck().

◆ typicalPhdAmbigSpacing_

double SgVlbiBaselineInfo::typicalPhdAmbigSpacing_
private

The documentation for this class was generated from the following files: