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

Functions

FileType BSX__ ()
 
void initialiseBias ()
 Initialise satellite DSBs between default signals, e.g.
 
void addDefaultBias ()
 Add default 0 values to DSBs between default signals, e.g.
 
void loadStateBiases (KFState &kfState)
 
void pushBiasEntry (string id, BiasEntry entry)
 Push forward and reverse bias entry into biasMaps.
 
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.
 
BiasEntry interpolateBias (GTime &time, const BiasEntry &bias1, const BiasEntry &bias2)
 
bool calculateBias (GTime &time, BiasEntry &output, const TimeBiasMap &timeBiasMap)
 
void setRestrictiveStartTime (GTime &current, GTime &potential)
 
void setRestrictiveEndTime (GTime &current, GTime &potential)
 
bool biasRecurser (Trace &trace, GTime &time, BiasEntry &output, const E_ObsCode &obsCode1, const E_ObsCode &obsCode2, const ObsObsBiasMap &obsObsBiasMap, set< E_ObsCode > &checkedObscodes)
 Recurser of bias chaining, i.e.
 
bool getBiasEntry (Trace &trace, GTime time, const string &id, E_MeasType measType, BiasEntry &output, E_ObsCode obsCode1, E_ObsCode obsCode2)
 Search for hardware bias for given measurmenet type.
 
bool getBias (Trace &trace, GTime time, string id, SatSys Sat, E_ObsCode obsCode1, E_MeasType measType, double &bias, double &var, KFState *kfState_ptr)
 Search for hardware biases in phase and code.
 

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:

◆ biasRecurser()

bool biasRecurser ( Trace & trace,
GTime & time,
BiasEntry & output,
const E_ObsCode & obsCode1,
const E_ObsCode & obsCode2,
const ObsObsBiasMap & obsObsBiasMap,
set< E_ObsCode > & checkedObscodes )

Recurser of bias chaining, i.e.

searching the path between base code and secondary code

Parameters
traceTrace to output to
timeTime of bias to look up
outputThe bias entry retrieved
obsCode1Base code of observation to find biases for
obsCode2Secondary code of observation to find biases for
obsObsBiasMapBias map for given measrement type & device, as obsObsBiasMap[code1][code2][time]
checkedObscodesA list of all checked observation codes
Here is the call graph for this function:
Here is the caller graph for this function:

◆ BSX__()

FileType BSX__ ( )
Here is the caller graph for this function:

◆ calculateBias()

bool calculateBias ( GTime & time,
BiasEntry & output,
const TimeBiasMap & timeBiasMap )
Parameters
timeTime of bias to look up
outputThe bias entry retrieved
timeBiasMapBias map for given measrement type, device & observation codes, as timeBiasMap[time]
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 )

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:

◆ getBiasEntry()

bool getBiasEntry ( Trace & trace,
GTime time,
const string & id,
E_MeasType measType,
BiasEntry & output,
E_ObsCode obsCode1,
E_ObsCode obsCode2 )

Search for hardware bias for given measurmenet type.

Parameters
traceTrace to output to
timeTime of bias to look up
idThe id of the device to retrieve the bias of
measTypeThe measurement type to retrieve the bias of
outputThe bias entry retrieved
obsCode1Base code of observation to find biases for
obsCode2Secondary code of observation to find biases for
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:

◆ interpolateBias()

BiasEntry interpolateBias ( GTime & time,
const BiasEntry & bias1,
const BiasEntry & bias2 )
Parameters
timeTime of bias to interpolate
bias1First bias entry
bias2Second bias entry
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:

◆ setRestrictiveEndTime()

void setRestrictiveEndTime ( GTime & current,
GTime & potential )
Parameters
currentCurrent end time of bias
potentialPotential end time of bias
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setRestrictiveStartTime()

void setRestrictiveStartTime ( GTime & current,
GTime & potential )
Parameters
currentCurrent start time of bias
potentialPotential start time of bias
Here is the caller graph for this function: