General Purpose Geodetic Library
SgVlbiBand Class Reference

#include <SgVlbiBand.h>

Inheritance diagram for SgVlbiBand:
SgObjectInfo SgAttribute

Public Types

enum  Attributes {
  Attr_NOT_VALID = 1<<0 , Attr_PRIMARY = 1<<1 , Attr_HAS_IONO_SOLUTION = 1<<2 , Attr_HAS_AMBIGS = 1<<3 ,
  Attr_MISSING_CHANNEL_INFO = 1<<4
}
 

Public Member Functions

 SgVlbiBand ()
 
 ~SgVlbiBand ()
 
QList< SgVlbiObservable * > & observables ()
 
QMap< int, SgVlbiStationInfo * > & stationsByIdx ()
 
QMap< int, SgVlbiBaselineInfo * > & baselinesByIdx ()
 
QMap< int, SgVlbiSourceInfo * > & sourcesByIdx ()
 
QMap< QString, SgVector * > & phCalOffset_1ByBln ()
 
QMap< QString, SgVector * > & phCalOffset_2ByBln ()
 
double getFrequency () const
 
const SgMJDgetTCreation () const
 
const QString & getInputFileName () const
 
int getInputFileVersion () const
 
const QString & getCorrelatorType () const
 
SgVlbiHistoryhistory ()
 
const SgVlbiHistoryhistory () const
 
QMap< QString, SgVlbiStationInfo * > & stationsByName ()
 
QMap< QString, SgVlbiBaselineInfo * > & baselinesByName ()
 
QMap< QString, SgVlbiSourceInfo * > & sourcesByName ()
 
int getMaxNumOfChannels () const
 
double sampleRate () const
 
int bitsPerSample () const
 
const QMap< double, int > & sampleRateByCount () const
 
const QMap< int, int > & bitsPerSampleByCount () const
 
const QString & recordMode () const
 
int getNumOfConstraints () const
 
const QMap< double, int > & grdAmbigsBySpacing () const
 
double typicalGrdAmbigSpacing () const
 
const QString & strGrdAmbigsStat () const
 
const QMap< double, int > & phdAmbigsBySpacing () const
 
double typicalPhdAmbigSpacing () const
 
const QString & strPhdAmbigsStat () const
 
void setFrequency (double f)
 
void setTCreation (const SgMJD &t)
 
void setInputFileName (const QString &fileName)
 
void setInputFileVersion (int version)
 
void setCorrelatorType (const QString &name)
 
void setMaxNumOfChannels (int num)
 
const QString className () const
 
bool operator< (const SgVlbiBand &band) const
 
SgVlbiStationInfolookupStationByIdx (int)
 
SgVlbiSourceInfolookupSourceByIdx (int)
 
SgVlbiBaselineInfolookupBaselineByIdx (int)
 
void resetAllEditings ()
 
bool selfCheck ()
 
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 ()
 

Private Attributes

double frequency_
 
QList< SgVlbiObservable * > observables_
 
SgMJD tCreation_
 
QString inputFileName_
 
int inputFileVersion_
 
QString correlatorType_
 
SgVlbiHistory history_
 
QMap< QString, SgVlbiStationInfo * > stationsByName_
 
QMap< QString, SgVlbiBaselineInfo * > baselinesByName_
 
QMap< QString, SgVlbiSourceInfo * > sourcesByName_
 
QMap< int, SgVlbiStationInfo * > stationsByIdx_
 
QMap< int, SgVlbiBaselineInfo * > baselinesByIdx_
 
QMap< int, SgVlbiSourceInfo * > sourcesByIdx_
 
int maxNumOfChannels_
 
double sampleRate_
 
int bitsPerSample_
 
QMap< double, int > sampleRateByCount_
 
QMap< int, int > bitsPerSampleByCount_
 
QString recordMode_
 
QMap< double, int > grdAmbigsBySpacing_
 
double typicalGrdAmbigSpacing_
 
QString strGrdAmbigsStat_
 
QMap< double, int > phdAmbigsBySpacing_
 
double typicalPhdAmbigSpacing_
 
QString strPhdAmbigsStat_
 
QMap< QString, SgVector * > phCalOffset_1ByBln_
 
QMap< QString, SgVector * > phCalOffset_2ByBln_
 

Additional Inherited Members

- Static Public Member Functions inherited from SgObjectInfo
static const QString className ()
 
- Static Public Member Functions inherited from SgAttribute
static const QString className ()
 

Detailed Description

====================================================================================================

Definition at line 54 of file SgVlbiBand.h.

Member Enumeration Documentation

◆ Attributes

Enumerator
Attr_NOT_VALID 

omit these data;

Attr_PRIMARY 

the band is a primary band;

Attr_HAS_IONO_SOLUTION 

the band contains ionospheric corrections;

Attr_HAS_AMBIGS 

the band contains group delays and ambiguities;

Attr_MISSING_CHANNEL_INFO 

the band lacks info on channel setup;

Definition at line 57 of file SgVlbiBand.h.

Constructor & Destructor Documentation

◆ SgVlbiBand()

SgVlbiBand::SgVlbiBand ( )

◆ ~SgVlbiBand()

Member Function Documentation

◆ baselinesByIdx()

QMap< int, SgVlbiBaselineInfo * > & SgVlbiBand::baselinesByIdx ( )
inline

Returns a pointer on a map: basleineInfo by idx.

Definition at line 304 of file SgVlbiBand.h.

References baselinesByIdx_.

Referenced by SgVlbiSession::getDataFromDbhImage(), SgVlbiSession::getDataFromVgosDb(), SgAgvDriver::initSession(), and SgVlbiSession::processKombFile().

◆ baselinesByName()

QMap< QString, SgVlbiBaselineInfo * > & SgVlbiBand::baselinesByName ( )
inline

◆ bitsPerSample()

int SgVlbiBand::bitsPerSample ( ) const
inline

Definition at line 148 of file SgVlbiBand.h.

References bitsPerSample_.

◆ bitsPerSampleByCount()

const QMap<int, int>& SgVlbiBand::bitsPerSampleByCount ( ) const
inline

Definition at line 150 of file SgVlbiBand.h.

References bitsPerSampleByCount_.

◆ className()

const QString SgVlbiBand::className ( ) const
inline

Returns name of the class (for debug output).

Definition at line 453 of file SgVlbiBand.h.

Referenced by loadIntermediateResults(), saveIntermediateResults(), and selfCheck().

◆ getCorrelatorType()

const QString & SgVlbiBand::getCorrelatorType ( ) const
inline

Returns type of the correlator that processed the session.

Definition at line 352 of file SgVlbiBand.h.

References correlatorType_.

Referenced by NsScrPrx4Band::getCorrelatorType(), SgVlbiSession::getDataFromDbhImage(), SgAgvDriver::initSession(), and SgSolutionReporter::reportIdentitiesBlock_Output4Spoolfile().

◆ getFrequency()

double SgVlbiBand::getFrequency ( ) const
inline

◆ getInputFileName()

const QString & SgVlbiBand::getInputFileName ( ) const
inline

Returns name of the input file.

Definition at line 336 of file SgVlbiBand.h.

References inputFileName_.

Referenced by NsSessionEditDialog::tab4GeneralInfo().

◆ getInputFileVersion()

◆ getMaxNumOfChannels()

int SgVlbiBand::getMaxNumOfChannels ( ) const
inline

Returns number of channels.

Definition at line 392 of file SgVlbiBand.h.

References maxNumOfChannels_.

Referenced by SgVlbiObservable::checkUsability(), and NsScrPrx4Band::getNumOfChannels().

◆ getNumOfConstraints()

int SgVlbiBand::getNumOfConstraints ( ) const
inline

Returns number of applied equations of constraints at the last run.

◆ getTCreation()

const SgMJD & SgVlbiBand::getTCreation ( ) const
inline

Returns epoch of the creation of the input file.

Definition at line 328 of file SgVlbiBand.h.

References tCreation_.

Referenced by NsScrPrx4Band::getTCreation(), and NsSessionEditDialog::tab4GeneralInfo().

◆ grdAmbigsBySpacing()

const QMap<double, int>& SgVlbiBand::grdAmbigsBySpacing ( ) const
inline

Definition at line 158 of file SgVlbiBand.h.

References grdAmbigsBySpacing_.

◆ history() [1/2]

◆ history() [2/2]

const SgVlbiHistory& SgVlbiBand::history ( ) const
inline

Definition at line 130 of file SgVlbiBand.h.

References history_.

◆ loadIntermediateResults()

◆ lookupBaselineByIdx()

SgVlbiBaselineInfo * SgVlbiBand::lookupBaselineByIdx ( int  idx)
inline

Returns baselineInfo object for the index (if exists).

Definition at line 491 of file SgVlbiBand.h.

References baselinesByIdx_.

Referenced by SgVlbiObservation::setupIdentities().

◆ lookupSourceByIdx()

SgVlbiSourceInfo * SgVlbiBand::lookupSourceByIdx ( int  idx)
inline

Returns sourceInfo object for the index (if exists).

Definition at line 480 of file SgVlbiBand.h.

References sourcesByIdx_.

Referenced by SgVlbiObservation::setupIdentities().

◆ lookupStationByIdx()

SgVlbiStationInfo * SgVlbiBand::lookupStationByIdx ( int  idx)
inline

Returns stationInfo object for the index (if exists, otherwice NULL).

Definition at line 469 of file SgVlbiBand.h.

References stationsByIdx_.

Referenced by SgVlbiObservation::setupIdentities().

◆ observables()

◆ operator<()

bool SgVlbiBand::operator< ( const SgVlbiBand band) const
inline

Definition at line 461 of file SgVlbiBand.h.

References frequency_, and getFrequency().

◆ phCalOffset_1ByBln()

QMap<QString, SgVector*>& SgVlbiBand::phCalOffset_1ByBln ( )
inline

Definition at line 102 of file SgVlbiBand.h.

References phCalOffset_1ByBln_.

◆ phCalOffset_2ByBln()

QMap<QString, SgVector*>& SgVlbiBand::phCalOffset_2ByBln ( )
inline

Definition at line 103 of file SgVlbiBand.h.

References phCalOffset_2ByBln_.

◆ phdAmbigsBySpacing()

const QMap<double, int>& SgVlbiBand::phdAmbigsBySpacing ( ) const
inline

Definition at line 162 of file SgVlbiBand.h.

References phdAmbigsBySpacing_.

◆ recordMode()

const QString& SgVlbiBand::recordMode ( ) const
inline

Definition at line 151 of file SgVlbiBand.h.

References recordMode_.

◆ resetAllEditings()

void SgVlbiBand::resetAllEditings ( )

◆ sampleRate()

double SgVlbiBand::sampleRate ( ) const
inline

Definition at line 147 of file SgVlbiBand.h.

References sampleRate_.

◆ sampleRateByCount()

const QMap<double, int>& SgVlbiBand::sampleRateByCount ( ) const
inline

Definition at line 149 of file SgVlbiBand.h.

References sampleRateByCount_.

◆ saveIntermediateResults()

◆ selfCheck()

◆ setCorrelatorType()

void SgVlbiBand::setCorrelatorType ( const QString &  name)
inline

Sets up correlator type for the session.

Definition at line 434 of file SgVlbiBand.h.

References correlatorType_.

Referenced by SgVlbiSession::getDataFromDbhImage(), and SgVlbiSession::getDataFromVgosDb().

◆ setFrequency()

void SgVlbiBand::setFrequency ( double  f)
inline

Sets up frequency of the band.

Parameters
idx– the index;

Definition at line 402 of file SgVlbiBand.h.

References frequency_.

Referenced by SgVlbiSession::getDataFromDbhImage(), SgVlbiSession::getDataFromKombFiles(), SgVlbiSession::getDataFromVgosDb(), and SgAgvDriver::initSession().

◆ setInputFileName()

void SgVlbiBand::setInputFileName ( const QString &  fileName)
inline

Sets up a file name from which the data were imported.

Parameters
fileName– a file name;

Definition at line 418 of file SgVlbiBand.h.

References inputFileName_.

Referenced by SgVlbiSession::getDataFromDbhImage(), SgVlbiSession::getDataFromKombFiles(), SgVlbiSession::getDataFromVgosDb(), and SgAgvDriver::initSession().

◆ setInputFileVersion()

void SgVlbiBand::setInputFileVersion ( int  version)
inline

Sets up a input database version.

Parameters
version– a number of version;

Definition at line 426 of file SgVlbiBand.h.

References inputFileVersion_.

Referenced by SgVlbiSession::getDataFromDbhImage(), SgVlbiSession::getDataFromKombFiles(), SgVlbiSession::getDataFromVgosDb(), and SgAgvDriver::initSession().

◆ setMaxNumOfChannels()

void SgVlbiBand::setMaxNumOfChannels ( int  num)
inline

Sets up number of channels.

Parameters
num– a number of channels;

Definition at line 442 of file SgVlbiBand.h.

References maxNumOfChannels_.

◆ setTCreation()

void SgVlbiBand::setTCreation ( const SgMJD t)
inline

Sets up epoch of the creation of input file.

Definition at line 410 of file SgVlbiBand.h.

References tCreation_.

Referenced by SgVlbiSession::getDataFromDbhImage(), SgVlbiSession::getDataFromKombFiles(), SgVlbiSession::getDataFromVgosDb(), and SgAgvDriver::initSession().

◆ sourcesByIdx()

QMap< int, SgVlbiSourceInfo * > & SgVlbiBand::sourcesByIdx ( )
inline

Returns a pointer on a map: sourceInfo by idx.

Definition at line 312 of file SgVlbiBand.h.

References sourcesByIdx_.

Referenced by SgVlbiSession::getDataFromDbhImage(), SgVlbiSession::getDataFromVgosDb(), SgAgvDriver::initSession(), and SgVlbiSession::processKombFile().

◆ sourcesByName()

◆ stationsByIdx()

QMap< int, SgVlbiStationInfo * > & SgVlbiBand::stationsByIdx ( )
inline

Returns a pointer on a map: stationInfo by idx.

Definition at line 296 of file SgVlbiBand.h.

References stationsByIdx_.

Referenced by SgVlbiSession::getDataFromDbhImage(), SgVlbiSession::getDataFromVgosDb(), SgAgvDriver::initSession(), and SgVlbiSession::processKombFile().

◆ stationsByName()

◆ strGrdAmbigsStat()

const QString& SgVlbiBand::strGrdAmbigsStat ( ) const
inline

Definition at line 160 of file SgVlbiBand.h.

References strGrdAmbigsStat_.

Referenced by NsSessionEditDialog::tab4BandPlots().

◆ strPhdAmbigsStat()

const QString& SgVlbiBand::strPhdAmbigsStat ( ) const
inline

Definition at line 164 of file SgVlbiBand.h.

References strPhdAmbigsStat_.

Referenced by NsSessionEditDialog::tab4BandPlots().

◆ typicalGrdAmbigSpacing()

double SgVlbiBand::typicalGrdAmbigSpacing ( ) const
inline

Definition at line 159 of file SgVlbiBand.h.

References typicalGrdAmbigSpacing_.

Referenced by NsScrPrx4Band::getGroupDelaysAmbigSpacing().

◆ typicalPhdAmbigSpacing()

double SgVlbiBand::typicalPhdAmbigSpacing ( ) const
inline

Definition at line 163 of file SgVlbiBand.h.

References typicalPhdAmbigSpacing_.

Member Data Documentation

◆ baselinesByIdx_

QMap<int, SgVlbiBaselineInfo*> SgVlbiBand::baselinesByIdx_
private

Definition at line 246 of file SgVlbiBand.h.

Referenced by ~SgVlbiBand(), baselinesByIdx(), and lookupBaselineByIdx().

◆ baselinesByName_

QMap<QString, SgVlbiBaselineInfo*> SgVlbiBand::baselinesByName_
private

Definition at line 242 of file SgVlbiBand.h.

Referenced by ~SgVlbiBand(), baselinesByName(), resetAllEditings(), and selfCheck().

◆ bitsPerSample_

int SgVlbiBand::bitsPerSample_
private

Definition at line 251 of file SgVlbiBand.h.

Referenced by SgVlbiBand(), bitsPerSample(), and selfCheck().

◆ bitsPerSampleByCount_

QMap<int, int> SgVlbiBand::bitsPerSampleByCount_
private

Definition at line 253 of file SgVlbiBand.h.

Referenced by ~SgVlbiBand(), bitsPerSampleByCount(), and selfCheck().

◆ correlatorType_

QString SgVlbiBand::correlatorType_
private

Definition at line 239 of file SgVlbiBand.h.

Referenced by SgVlbiBand(), getCorrelatorType(), and setCorrelatorType().

◆ frequency_

double SgVlbiBand::frequency_
private

Definition at line 232 of file SgVlbiBand.h.

Referenced by SgVlbiBand(), getFrequency(), operator<(), and setFrequency().

◆ grdAmbigsBySpacing_

QMap<double, int> SgVlbiBand::grdAmbigsBySpacing_
private

Definition at line 258 of file SgVlbiBand.h.

Referenced by ~SgVlbiBand(), grdAmbigsBySpacing(), and selfCheck().

◆ history_

SgVlbiHistory SgVlbiBand::history_
private

Definition at line 240 of file SgVlbiBand.h.

Referenced by history().

◆ inputFileName_

QString SgVlbiBand::inputFileName_
private

Definition at line 237 of file SgVlbiBand.h.

Referenced by SgVlbiBand(), getInputFileName(), and setInputFileName().

◆ inputFileVersion_

int SgVlbiBand::inputFileVersion_
private

Definition at line 238 of file SgVlbiBand.h.

Referenced by SgVlbiBand(), getInputFileVersion(), and setInputFileVersion().

◆ maxNumOfChannels_

int SgVlbiBand::maxNumOfChannels_
private

Definition at line 249 of file SgVlbiBand.h.

Referenced by SgVlbiBand(), getMaxNumOfChannels(), selfCheck(), and setMaxNumOfChannels().

◆ observables_

QList<SgVlbiObservable*> SgVlbiBand::observables_
private

Definition at line 234 of file SgVlbiBand.h.

Referenced by ~SgVlbiBand(), observables(), and selfCheck().

◆ phCalOffset_1ByBln_

QMap<QString, SgVector*> SgVlbiBand::phCalOffset_1ByBln_
private

Definition at line 266 of file SgVlbiBand.h.

Referenced by ~SgVlbiBand(), and phCalOffset_1ByBln().

◆ phCalOffset_2ByBln_

QMap<QString, SgVector*> SgVlbiBand::phCalOffset_2ByBln_
private

Definition at line 267 of file SgVlbiBand.h.

Referenced by ~SgVlbiBand(), and phCalOffset_2ByBln().

◆ phdAmbigsBySpacing_

QMap<double, int> SgVlbiBand::phdAmbigsBySpacing_
private

Definition at line 262 of file SgVlbiBand.h.

Referenced by ~SgVlbiBand(), phdAmbigsBySpacing(), and selfCheck().

◆ recordMode_

QString SgVlbiBand::recordMode_
private

Definition at line 254 of file SgVlbiBand.h.

Referenced by recordMode(), and selfCheck().

◆ sampleRate_

double SgVlbiBand::sampleRate_
private

Definition at line 250 of file SgVlbiBand.h.

Referenced by SgVlbiBand(), sampleRate(), and selfCheck().

◆ sampleRateByCount_

QMap<double, int> SgVlbiBand::sampleRateByCount_
private

Definition at line 252 of file SgVlbiBand.h.

Referenced by ~SgVlbiBand(), sampleRateByCount(), and selfCheck().

◆ sourcesByIdx_

QMap<int, SgVlbiSourceInfo*> SgVlbiBand::sourcesByIdx_
private

Definition at line 247 of file SgVlbiBand.h.

Referenced by ~SgVlbiBand(), lookupSourceByIdx(), and sourcesByIdx().

◆ sourcesByName_

QMap<QString, SgVlbiSourceInfo*> SgVlbiBand::sourcesByName_
private

Definition at line 243 of file SgVlbiBand.h.

Referenced by ~SgVlbiBand(), resetAllEditings(), selfCheck(), and sourcesByName().

◆ stationsByIdx_

QMap<int, SgVlbiStationInfo*> SgVlbiBand::stationsByIdx_
private

Definition at line 245 of file SgVlbiBand.h.

Referenced by ~SgVlbiBand(), lookupStationByIdx(), and stationsByIdx().

◆ stationsByName_

QMap<QString, SgVlbiStationInfo*> SgVlbiBand::stationsByName_
private

◆ strGrdAmbigsStat_

QString SgVlbiBand::strGrdAmbigsStat_
private

Definition at line 260 of file SgVlbiBand.h.

Referenced by selfCheck(), and strGrdAmbigsStat().

◆ strPhdAmbigsStat_

QString SgVlbiBand::strPhdAmbigsStat_
private

Definition at line 264 of file SgVlbiBand.h.

Referenced by selfCheck(), and strPhdAmbigsStat().

◆ tCreation_

SgMJD SgVlbiBand::tCreation_
private

Definition at line 236 of file SgVlbiBand.h.

Referenced by SgVlbiBand(), getTCreation(), and setTCreation().

◆ typicalGrdAmbigSpacing_

double SgVlbiBand::typicalGrdAmbigSpacing_
private

Definition at line 259 of file SgVlbiBand.h.

Referenced by SgVlbiBand(), selfCheck(), and typicalGrdAmbigSpacing().

◆ typicalPhdAmbigSpacing_

double SgVlbiBand::typicalPhdAmbigSpacing_
private

Definition at line 263 of file SgVlbiBand.h.

Referenced by SgVlbiBand(), selfCheck(), and typicalPhdAmbigSpacing().


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