icd_200_constants.hpp File Reference


Detailed Description

Constants as defined in the GPS-ICD-200 Now the IS-GPS-200D.

Definition in file icd_200_constants.hpp.

#include <cmath>

Include dependency graph for icd_200_constants.hpp:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Namespaces

namespace  gpstk

GPS Constants

Time constants are in the time library.

short accuracy2ura (const double &acc) throw ()
double ura2accuracy (const short &ura) throw ()
short nominalAccuracy2ura (const double &acc) throw ()
double ura2nominalAccuracy (const short &ura) throw ()
geodeticgroup const double PI = 3.1415926535898
 The value of pie to 24 decimal places.
const double TWO_PI = 6.2831853071796
 pi * 2
const double SQRT_PI = 1.7724539
 GPS value of PI**0.5.
const double REL_CONST = -4.442807633e-10
 relativity constant for GPS (sec/sqrt(m))
const double OSC_FREQ = 10.23e6
 Hz.
const double PY_CHIP_FREQ = OSC_FREQ
 Hz, chip rate of the P & Y codes.
const double CA_CHIP_FREQ = OSC_FREQ / 10.0
 Hz, chip rate of the C/A code.
const double C_GPS_M = 2.99792458e8
 speed of light (m/s)
const double RSVCLK = 10.22999999543e6
 Base freq w/o relativisitic effects, Hz.
const double L1_FREQ = 1575.42e6
 L1 carrier frequency in Hz.
const double L1_WAVELENGTH = 0.190293672798
 L1 carrier wavelength in meters.
const double L2_FREQ = 1227.60e6
 L2 carrier frequency in Hz.
const double L2_WAVELENGTH = 0.244210213425
 L2 carrier wavelength in meters.
const double L1_MULT = 154.0
 L1 multiplier.
const double L2_MULT = 120.0
 L2 multiplier.
const double GAMMA_GPS = 1.646944444
 Gamma multiplier.
const double L5_FREQ = 1176.45e6
 L5 carrier frequency in Hz.
const double L5_WAVELENGTH = 0.254828049
 L5 carrier wavelength in meters.
const double L6_FREQ = 1278.75e6
 L6 carrier frequency in Hz.
const double L6_WAVELENGTH = 0.234441805
 L6 carrier wavelength in meters.
const double L7_FREQ = 1207.140e6
 L7 carrier frequency in Hz.
const double L7_WAVELENGTH = 0.24834937
 L7 carrier wavelength in meters.
const double L8_FREQ = 1191.795e6
 L8 carrier frequency in Hz.
const double L8_WAVELENGTH = 0.251547001
 L8 carrier wavelength in meters.
const int SV_ACCURACY_MAX_INDEX_VALUE = 15
 constant for the max array index in sv accuracy table
const double SV_ACCURACY_MIN_INDEX []
 map from SV accuracy/URA flag to minimum accuracy values in m
const double SV_ACCURACY_NOMINAL_INDEX []
 Map from SV accuracy/URA flag to NOMINAL accuracy values in m Further details in ICD-GPS-200C, section 20.3.3.3.1.3.
const double SV_ACCURACY_MAX_INDEX []
 map from SV accuracy/URA flag to maximum accuracy values in m


Function Documentation

short accuracy2ura const double &  acc  )  throw () [inline]
 

Definition at line 136 of file icd_200_constants.hpp.

References gpstk::SV_ACCURACY_MAX_INDEX.

Referenced by EngEphemeris::setAccuracy().

short nominalAccuracy2ura const double &  acc  )  throw () [inline]
 

Definition at line 158 of file icd_200_constants.hpp.

References gpstk::SV_ACCURACY_NOMINAL_INDEX.

double ura2accuracy const short &  ura  )  throw () [inline]
 

Definition at line 148 of file icd_200_constants.hpp.

References gpstk::SV_ACCURACY_MAX_INDEX.

Referenced by EngEphemeris::addIncompleteSF1Thru3(), EngEphemeris::addSubframe(), and EngEphemeris::setSF1().

double ura2nominalAccuracy const short &  ura  )  throw () [inline]
 

Definition at line 170 of file icd_200_constants.hpp.

References gpstk::SV_ACCURACY_NOMINAL_INDEX.

Referenced by ComputeIURAWeights::getWeight(), and SimpleIURAWeight::getWeights().


Variable Documentation

const double C_GPS_M = 2.99792458e8
 

speed of light (m/s)

Definition at line 78 of file icd_200_constants.hpp.

Referenced by GPSGeoid::c_km(), GPSEllipsoid::c_km(), CorrectCodeBiases::getDCBCorrection(), PRSolution::PrepareAutonomousSolution(), IonexModel::Process(), ConvertC1ToP1::Process(), Expression::setGPSConstants(), and LinearCombinations::wavelengthOfLC().

const double CA_CHIP_FREQ = OSC_FREQ / 10.0
 

Hz, chip rate of the C/A code.

Definition at line 76 of file icd_200_constants.hpp.

const double GAMMA_GPS = 1.646944444
 

Gamma multiplier.

Definition at line 94 of file icd_200_constants.hpp.

Referenced by ExtractPC::getCombination(), ExtractLC::getCombination(), ComputePC::getCombination(), ComputeLC::getCombination(), and LinearCombinations::LinearCombinations().

const double L1_FREQ = 1575.42e6
 

L1 carrier frequency in Hz.

Definition at line 82 of file icd_200_constants.hpp.

Referenced by ComputeLdelta::ComputeLdelta(), ComputeMelbourneWubbena::ComputeMelbourneWubbena(), ComputePdelta::ComputePdelta(), ComputePdelta::getCombination(), ComputeMelbourneWubbena::getCombination(), ComputeLdelta::getCombination(), IonexStore::getIonoL1(), LinearCombinations::LinearCombinations(), ComputeIonoModel::Process(), and Expression::setGPSConstants().

const double L1_MULT = 154.0
 

L1 multiplier.

Definition at line 90 of file icd_200_constants.hpp.

Referenced by Expression::setGPSConstants().

const double L1_WAVELENGTH = 0.190293672798
 

L1 carrier wavelength in meters.

Definition at line 84 of file icd_200_constants.hpp.

Referenced by ExtractLC::getCombination(), and LinearCombinations::LinearCombinations().

const double L2_FREQ = 1227.60e6
 

L2 carrier frequency in Hz.

Definition at line 86 of file icd_200_constants.hpp.

Referenced by ComputeLdelta::ComputeLdelta(), ComputeMelbourneWubbena::ComputeMelbourneWubbena(), ComputePdelta::ComputePdelta(), ComputePdelta::getCombination(), ComputeMelbourneWubbena::getCombination(), ComputeLdelta::getCombination(), IonexStore::getIonoL2(), LinearCombinations::LinearCombinations(), and Expression::setGPSConstants().

const double L2_MULT = 120.0
 

L2 multiplier.

Definition at line 92 of file icd_200_constants.hpp.

Referenced by Expression::setGPSConstants().

const double L2_WAVELENGTH = 0.244210213425
 

L2 carrier wavelength in meters.

Definition at line 88 of file icd_200_constants.hpp.

const double L5_FREQ = 1176.45e6
 

L5 carrier frequency in Hz.

Definition at line 98 of file icd_200_constants.hpp.

Referenced by IonexStore::getIonoL5().

const double L5_WAVELENGTH = 0.254828049
 

L5 carrier wavelength in meters.

Definition at line 100 of file icd_200_constants.hpp.

const double L6_FREQ = 1278.75e6
 

L6 carrier frequency in Hz.

Definition at line 104 of file icd_200_constants.hpp.

Referenced by IonexStore::getIonoL6().

const double L6_WAVELENGTH = 0.234441805
 

L6 carrier wavelength in meters.

Definition at line 106 of file icd_200_constants.hpp.

const double L7_FREQ = 1207.140e6
 

L7 carrier frequency in Hz.

Definition at line 108 of file icd_200_constants.hpp.

Referenced by IonexStore::getIonoL7().

const double L7_WAVELENGTH = 0.24834937
 

L7 carrier wavelength in meters.

Definition at line 110 of file icd_200_constants.hpp.

const double L8_FREQ = 1191.795e6
 

L8 carrier frequency in Hz.

Definition at line 112 of file icd_200_constants.hpp.

Referenced by IonexStore::getIonoL8().

const double L8_WAVELENGTH = 0.251547001
 

L8 carrier wavelength in meters.

Definition at line 114 of file icd_200_constants.hpp.

const double OSC_FREQ = 10.23e6
 

Hz.

Definition at line 72 of file icd_200_constants.hpp.

Referenced by Expression::setGPSConstants().

const double PI = 3.1415926535898
 

The value of pie to 24 decimal places.

Definition at line 41 of file IERSConventions.cpp.

Referenced by gpstk::gamma(), Position::getIonosphericPiercePoint(), gpstk::iauNut80Args(), gpstk::inverf(), gpstk::lngamma(), gpstk::moonJ2kPosition(), StudentDistribution::pdf(), EclipsedSatFilter::Process(), Expression::setGPSConstants(), AshtechMBEN::code_block::snr(), and gpstk::sunJ2kPosition().

const double PY_CHIP_FREQ = OSC_FREQ
 

Hz, chip rate of the P & Y codes.

Definition at line 74 of file icd_200_constants.hpp.

const double REL_CONST = -4.442807633e-10
 

relativity constant for GPS (sec/sqrt(m))

Definition at line 70 of file icd_200_constants.hpp.

Referenced by EngEphemeris::svRelativity(), and EngEphemeris::svXvt().

const double RSVCLK = 10.22999999543e6
 

Base freq w/o relativisitic effects, Hz.

Definition at line 80 of file icd_200_constants.hpp.

const double SQRT_PI = 1.7724539
 

GPS value of PI**0.5.

Definition at line 68 of file icd_200_constants.hpp.

const double SV_ACCURACY_MAX_INDEX[]
 

Initial value:

 {2.4, 3.4, 4.85, 6.85, 9.65,
                                           13.65, 24.0, 48.0, 96.0, 192.0,
                                           384.0, 768.0, 1536.0, 3072.0,
                                           6144.0, 9.999999999999e99}
map from SV accuracy/URA flag to maximum accuracy values in m

Definition at line 130 of file icd_200_constants.hpp.

Referenced by gpstk::accuracy2ura(), and gpstk::ura2accuracy().

const int SV_ACCURACY_MAX_INDEX_VALUE = 15
 

constant for the max array index in sv accuracy table

Definition at line 117 of file icd_200_constants.hpp.

const double SV_ACCURACY_MIN_INDEX[]
 

Initial value:

 {0.0, 2.4, 3.4, 4.85, 6.85, 9.65,
                                           13.65, 24.0, 48.0, 96.0, 192.0,
                                           384.0, 768.0, 1536.0, 3072.0,
                                           6144.0}
map from SV accuracy/URA flag to minimum accuracy values in m

Definition at line 119 of file icd_200_constants.hpp.

const double SV_ACCURACY_NOMINAL_INDEX[]
 

Initial value:

 {2.0, 2.8, 4.0, 5.7, 8.0,
                                           11.3, 16.0, 32.0, 64.0, 128.0,
                                           256.0, 512.0, 1024.0, 2048.0,
                                           4096.0, 9.999999999999e99}
Map from SV accuracy/URA flag to NOMINAL accuracy values in m Further details in ICD-GPS-200C, section 20.3.3.3.1.3.

Definition at line 125 of file icd_200_constants.hpp.

Referenced by gpstk::nominalAccuracy2ura(), and gpstk::ura2nominalAccuracy().

const double TWO_PI = 6.2831853071796
 

pi * 2

Definition at line 66 of file icd_200_constants.hpp.

Referenced by gpstk::CIS2CTS(), EOPPrediction::computeEOP(), gpstk::CrudeSolarPosition(), IonoModel::getCorrection(), and SunPosition::getPositionCIS().


Generated on Thu Feb 9 03:31:10 2012 for GPS ToolKit Software Library by  doxygen 1.3.9.1