0.2.0
Loading...
Searching...
No Matches
Ionosphere.hpp File Reference

Ionosphere Models. More...

Go to the source code of this file.

Enumerations

enum class  NAV::IonosphereModel : int {
  None ,
  Klobuchar ,
  COUNT
}
 Available Ionosphere Models. More...
 

Functions

double NAV::calcIonosphericDelay (double tow, Frequency freq, int8_t freqNum, const Eigen::Vector3d &lla_pos, double elevation, double azimuth, IonosphereModel ionosphereModel=IonosphereModel::None, const IonosphericCorrections *corrections=nullptr)
 Calculates the ionospheric delay.
 
bool NAV::ComboIonosphereModel (const char *label, IonosphereModel &ionosphereModel)
 Shows a ComboBox to select the ionosphere model.
 
double NAV::ionoErrorVar (double dpsr_I, Frequency freq, int8_t num)
 Calculates the ionospheric error variance.
 
const char * NAV::to_string (IonosphereModel ionosphereModel)
 Converts the enum to a string.
 

Detailed Description

Ionosphere Models.

Author
T. Topp (topp@.nosp@m.ins..nosp@m.uni-s.nosp@m.tutt.nosp@m.gart..nosp@m.de)
Date
2022-05-26

Enumeration Type Documentation

◆ IonosphereModel

enum class NAV::IonosphereModel : int
strong

Available Ionosphere Models.

Enumerator
None 

Ionosphere model turned off.

Klobuchar 

Klobuchar model (GPS), also called Broadcast sometimes.

COUNT 

Amount of items in the enum.

Function Documentation

◆ calcIonosphericDelay()

double NAV::calcIonosphericDelay ( double tow,
Frequency freq,
int8_t freqNum,
const Eigen::Vector3d & lla_pos,
double elevation,
double azimuth,
IonosphereModel ionosphereModel = IonosphereModel::None,
const IonosphericCorrections * corrections = nullptr )

Calculates the ionospheric delay.

Parameters
[in]towGPS time of week in [s]
[in]freqFrequency of the signal
[in]freqNumFrequency number. Only used for GLONASS G1 and G2
[in]lla_pos[𝜙, λ, h]^T Geodetic latitude, longitude and height in [rad, rad, m]
[in]elevationAngle between the user and satellite [rad]
[in]azimuthAngle between the user and satellite, measured clockwise positive from the true North [rad]
[in]ionosphereModelIonosphere model to use
[in]correctionsIonospheric correction parameters
Returns
Ionospheric time delay in [m]

◆ ComboIonosphereModel()

bool NAV::ComboIonosphereModel ( const char * label,
IonosphereModel & ionosphereModel )

Shows a ComboBox to select the ionosphere model.

Parameters
[in]labelLabel to show beside the combo box. This has to be a unique id for ImGui.
[in]ionosphereModelReference to the ionosphere model to select

◆ ionoErrorVar()

double NAV::ionoErrorVar ( double dpsr_I,
Frequency freq,
int8_t num )

Calculates the ionospheric error variance.

Parameters
[in]dpsr_IIonosphere propagation error [m]
[in]freqFrequency
[in]numFrequency number. Only used for GLONASS G1 and G2
Returns
Variance of the error [m^2]

◆ to_string()

const char * NAV::to_string ( IonosphereModel ionosphereModel)

Converts the enum to a string.

Parameters
[in]ionosphereModelEnum value to convert into text
Returns
String representation of the enum