Ginan
Loading...
Searching...
No Matches
biases.hpp File Reference

Data Structures

struct  BiasEntry
 
struct  TimeBiasMap
 
struct  ObsObsBiasMap
 
struct  BiasMap
 

Functions

E_ObsCode str2code (string &input, E_MeasType &measType)
 Convert observation code string to enum code.
 
void pushBiasEntry (string id, BiasEntry entry)
 Push forward and reverse bias entry into biasMaps.
 
void initialiseBias ()
 Initialise satellite DSBs between default signals, e.g.
 
void addDefaultBias ()
 Add default 0 values to DSBs between default signals, e.g.
 
void cullOldBiases (GTime time)
 
bool decomposeDSBBias (string id, BiasEntry &DSB)
 Decompose DSB or DCB into OSBs.
 
bool decomposeTGDBias (SatSys Sat, double tgd)
 Convert GPS/QZS TGD into OSBs & DSB.
 
bool decomposeBGDBias (SatSys Sat, double bgd1, double bgd2)
 Convert GAL BGDs into OSBs & DSB.
 
bool readBiasSinex (string &file)
 Read single bias SINEX file.
 
bool getBias (Trace &trace, GTime time, string id, SatSys Sat, E_ObsCode obsCode1, E_MeasType measType, double &bias, double &var, KFState *kfState_ptr=nullptr)
 Search for hardware biases in phase and code.
 
void writeBiasSinex (Trace &trace, GTime time, KFState &kfState, KFState &ionState, string biasfile, ReceiverMap &receiverMap)
 Write stored bias output to SINEX file Return number of written biases (-1 if file not found)
 
bool queryBiasOutput (Trace &trace, GTime time, KFState &kfState, KFState &ionState, SatSys Sat, string Rec, E_ObsCode obsCode, double &bias_out, double &variance, E_MeasType type)
 Find and combine biases from multiple sources: bias inputs, UC biases and DCB from ionosphere modules.
 
void loadStateBiases (KFState &kfState)
 

Function Documentation

◆ addDefaultBias()

void addDefaultBias ( )

Add default 0 values to DSBs between default signals, e.g.

P1-P2 DCBs, for each bias ID

Here is the call graph for this function:
Here is the caller graph for this function:

◆ cullOldBiases()

void cullOldBiases ( GTime time)
Here is the caller graph for this function:

◆ decomposeBGDBias()

bool decomposeBGDBias ( SatSys Sat,
double bgd1,
double bgd2 )

Convert GAL BGDs into OSBs & DSB.

Parameters
SatThe satellite to decompose the bias of
bgd1BGD E5a/E1 to be decomposed
bgd2BGD E5b/E1 to be decomposed
Here is the call graph for this function:
Here is the caller graph for this function:

◆ decomposeDSBBias()

bool decomposeDSBBias ( string id,
BiasEntry & DSB )

Decompose DSB or DCB into OSBs.

Parameters
idID of the bias
DSBDSB to be decomposed
Here is the call graph for this function:
Here is the caller graph for this function:

◆ decomposeTGDBias()

bool decomposeTGDBias ( SatSys Sat,
double tgd )

Convert GPS/QZS TGD into OSBs & DSB.

Parameters
SatThe satellite to decompose the bias of
tgdGPS or QZS TGD to be decomposed
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getBias()

bool getBias ( Trace & trace,
GTime time,
string id,
SatSys Sat,
E_ObsCode obsCode1,
E_MeasType measType,
double & bias,
double & var,
KFState * kfState_ptr = nullptr )

Search for hardware biases in phase and code.

Parameters
traceTrace to output to
timeTime of bias to look up
idThe id of the device to retrieve the bias of
SatThe satellite to retrieve the bias of
obsCode1Base code of observation to find biases for
measTypeType of bias to retreive (code/phase)
biasHardware bias
varHardware bias variance
kfState_ptrOptional filter to search for biases
Here is the call graph for this function:
Here is the caller graph for this function:

◆ initialiseBias()

void initialiseBias ( )

Initialise satellite DSBs between default signals, e.g.

P1-P2 DCBs, with 0 values

Here is the call graph for this function:
Here is the caller graph for this function:

◆ loadStateBiases()

void loadStateBiases ( KFState & kfState)
Here is the call graph for this function:

◆ pushBiasEntry()

void pushBiasEntry ( string id,
BiasEntry entry )

Push forward and reverse bias entry into biasMaps.

Parameters
idDevice ID
entryBias entry to push into biasMaps
Here is the call graph for this function:
Here is the caller graph for this function:

◆ queryBiasOutput()

bool queryBiasOutput ( Trace & trace,
GTime time,
KFState & kfState,
KFState & ionState,
SatSys Sat,
string Rec,
E_ObsCode obsCode,
double & bias_out,
double & variance,
E_MeasType type )

Find and combine biases from multiple sources: bias inputs, UC biases and DCB from ionosphere modules.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ readBiasSinex()

bool readBiasSinex ( string & file)

Read single bias SINEX file.

Parameters
fileFile to read
Here is the call graph for this function:
Here is the caller graph for this function:

◆ str2code()

E_ObsCode str2code ( string & input,
E_MeasType & measType )

Convert observation code string to enum code.

Parameters
inputThe input observation code string
measTypeMeasurement type of this observation - CODE/PHAS - as output
Here is the caller graph for this function:

◆ writeBiasSinex()

void writeBiasSinex ( Trace & trace,
GTime time,
KFState & kfState,
KFState & ionState,
string biasfile,
ReceiverMap & receiverMap )

Write stored bias output to SINEX file Return number of written biases (-1 if file not found)

Parameters
traceTrace to output to
timeTime of bias to write
kfStateFilter state to take biases from
ionStateFilter state to take biases from
biasfileFile to write
receiverMapstations for which to output receiver biases
Here is the call graph for this function:
Here is the caller graph for this function: