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

Functions to work with RINEX. More...

Go to the source code of this file.

Classes

struct  NAV::vendor::RINEX::ObservationDescription
 Description of the observations from the 'SYS / # / OBS TYPES' header. More...
 
struct  NAV::vendor::RINEX::ObsHeader
 Rinex Observation File Header information. More...
 

Enumerations

enum class  NAV::vendor::RINEX::ObsType {
  Error ,
  C ,
  L ,
  D ,
  S ,
  I ,
  X
}
 Observation types of the 'SYS / # / OBS TYPES' header. More...
 

Functions

void NAV::vendor::RINEX::from_json (const json &j, ObsHeader &obj)
 Converts the provided json object into a struct.
 
Frequency NAV::vendor::RINEX::getFrequencyFromBand (SatelliteSystem satSys, int band)
 Get the Frequency from the provided satellite system and band in the 'SYS / # / OBS TYPES' header.
 
ObsType NAV::vendor::RINEX::obsTypeFromChar (char c)
 Converts a character to an ObsType.
 
char NAV::vendor::RINEX::obsTypeToChar (ObsType type)
 Converts an ObsType to char.
 
TimeSystem NAV::vendor::RINEX::timeSystem (SatelliteSystem satSys)
 Converts the satellite system(s) to the time system.
 
std::string NAV::vendor::RINEX::timeSystemString (TimeSystem timeSys)
 Converts the satellite system(s) to 3 characters representation of the time system.
 
void NAV::vendor::RINEX::to_json (json &j, const ObsHeader &obj)
 Converts the provided struct into a json object.
 
const char * NAV::to_string (vendor::RINEX::ObsHeader::MarkerTypes markerType)
 Converts the enum to a string.
 
const char * NAV::tooltip (vendor::RINEX::ObsHeader::MarkerTypes markerType)
 Converts the enum to a string tooltip.
 

Detailed Description

Functions to work with RINEX.

Author
T. Topp (topp@.nosp@m.ins..nosp@m.uni-s.nosp@m.tutt.nosp@m.gart..nosp@m.de)
N. Stahl (HiWi: Moved from RinexObsFile.hpp)
Date
18.12.2023

Enumeration Type Documentation

◆ ObsType

enum class NAV::vendor::RINEX::ObsType
strong

Observation types of the 'SYS / # / OBS TYPES' header.

Enumerator
Error 

Error Type.

Code / Pseudorange.

Phase.

Doppler.

Raw signal strength(carrier to noise ratio)

Ionosphere phase delay.

Receiver channel numbers.

Function Documentation

◆ from_json()

void NAV::vendor::RINEX::from_json ( const json & j,
ObsHeader & obj )

Converts the provided json object into a struct.

Parameters
[in]jJson object with the color values
[out]objObject to return

◆ getFrequencyFromBand()

Frequency NAV::vendor::RINEX::getFrequencyFromBand ( SatelliteSystem satSys,
int band )

Get the Frequency from the provided satellite system and band in the 'SYS / # / OBS TYPES' header.

Parameters
[in]satSysSatellite System
[in]bandBand (1...9, 0)

◆ obsTypeFromChar()

ObsType NAV::vendor::RINEX::obsTypeFromChar ( char c)

Converts a character to an ObsType.

Parameters
[in]cCharacter for the ObsType

◆ obsTypeToChar()

char NAV::vendor::RINEX::obsTypeToChar ( ObsType type)

Converts an ObsType to char.

Parameters
[in]typeObsType to convert

◆ timeSystem()

TimeSystem NAV::vendor::RINEX::timeSystem ( SatelliteSystem satSys)

Converts the satellite system(s) to the time system.

Parameters
[in]satSysSatellite System

◆ timeSystemString()

std::string NAV::vendor::RINEX::timeSystemString ( TimeSystem timeSys)

Converts the satellite system(s) to 3 characters representation of the time system.

Parameters
[in]timeSysTime system

◆ to_json()

void NAV::vendor::RINEX::to_json ( json & j,
const ObsHeader & obj )

Converts the provided struct into a json object.

Parameters
[out]jReturn Json object
[in]objObject to convert

◆ to_string()

const char * NAV::to_string ( vendor::RINEX::ObsHeader::MarkerTypes markerType)

Converts the enum to a string.

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

◆ tooltip()

const char * NAV::tooltip ( vendor::RINEX::ObsHeader::MarkerTypes markerType)

Converts the enum to a string tooltip.

Parameters
[in]markerTypeEnum value to convert into text
Returns
Tooltip for the enum