Ephemeris calculations


Classes

class  PreciseRange
 class PreciseRange. More...
class  AlmOrbit
 Encapsulation of almanac SV orbital parameters (page 5, subframes 1-24). More...
class  EngAlmanac
 Almanac information for the GPS constellation. More...
class  EngEphemeris
 Ephemeris information for a single satellite. More...
class  EngNav
 Base class for ICD-GPS-200 navigation messages. More...
class  CorrectedEphemerisRange
 class CorrectedEphemerisRange. More...
class  MoonPosition
 This class computes the approximate position of the Moon at the given epoch in the ECEF system. More...
class  SunPosition
 This class computes the approximate position of the Sun at the given epoch in the ECEF system. More...

Typedefs

typedef std::map< SatID, AlmOrbit > gpstk::AlmOrbits
 Map from SatID to AlmOrbit.

Enumerations

enum  gpstk::TimeSystem {
  gpstk::TS_Unknown = 0, gpstk::TS_UTC, gpstk::TS_UT1, gpstk::TS_GPST,
  gpstk::TS_TAI, gpstk::TS_TT
}

Functions

double gpstk::RelativityCorrection (const Position &R, const Position &V)
 Compute relativity correction (meters) from the satellite position and velocity.
std::ostream & gpstk::operator<< (std::ostream &s, const AlmOrbit &ao)
const double gpstk::AU_CONST (1.49597870e11)
 Astronomical Unit value (AU), in meters.
const double gpstk::MeanEarthMoonBary (3.12e-5)
 Mean Earth-Moon barycenter (EMB) distance (AU).
const double gpstk::MU_SUN (332946.0)
 Ratio of mass Sun to Earth.
const double gpstk::MU_MOON (0.01230002)
 Ratio of mass Moon to Earth.
const double gpstk::EarthGrav (9.80665)
 Earth gravity acceleration on surface (m/s^2).
const double gpstk::D2R (0.0174532925199432957692369)
 Degrees to radians.
const double gpstk::DAS2R (4.848136811095359935899141e-6)
 Arcseconds to radians.
const double gpstk::DS2R (7.272205216643039903848712e-5)
 Seconds of time to radians.
const double gpstk::B1950 (1949.9997904423)
 Julian epoch of B1950.
const double gpstk::ERADAU (4.2635212653763e-5)
 Earth equatorial radius in AU ( 6378.137 km / 149597870 km).
Triple gpstk::CIS2CTS (const Triple posCIS, const DayTime &t)
 Function to change from CIS to CTS(ECEF) coordinate system (coordinates in meters).
double gpstk::UTC2SID (const DayTime &t)
 Function to convert from UTC to sidereal time.
std::ostream & gpstk::operator<< (std::ostream &s, const EngAlmanac &alm)
double gpstk::RelativityCorrection (const Xvt &svPosVel)
 Compute relativity correction (seconds) from the satellite position and velocity.
void gpstk::LoadIERSFile (const std::string &fileName)
 'finals.data' from http://maia.usno.navy.mil/
void gpstk::LoadIGSFile (const std::string &fileName)
 ERP data file from IGS.
void gpstk::LoadSTKFile (const std::string &fileName)
 ERP data file from STK.
EOPDataStore::EOPData gpstk::EOPData (const DayTime &UTC) throw (InvalidRequest)
 Request EOP Data.
double gpstk::PolarMotionX (const DayTime &UTC)
 in arcsecond
double gpstk::PolarMotionY (const DayTime &UTC)
 in arcsecond
double gpstk::UT1mUTC (const DayTime &UTC)
 in second
double gpstk::NutationDPsi (const DayTime &UTC)
 in arcsecond
double gpstk::NutationDEps (const DayTime &UTC)
 in arcsecond
int gpstk::TAImUTC (DayTime UTC) throw (InvalidRequest)
 ftp://maia.usno.navy.mil/ser7/leapsec.dat
double gpstk::TTmTAI ()
double gpstk::TAImGPST ()
DayTime gpstk::ConvertTimeSystem (const DayTime &time, TimeSystem from, TimeSystem to)
DayTime gpstk::GPST2UTC (const DayTime &GPST)
DayTime gpstk::UTC2GPST (const DayTime &UTC)
DayTime gpstk::UT12UTC (const DayTime &UT1)
DayTime gpstk::UTC2UT1 (const DayTime &UTC)
DayTime gpstk::UT12UTC (const DayTime &UT1, double ut1mutc)
DayTime gpstk::UTC2UT1 (const DayTime &UTC, double ut1mutc)
DayTime gpstk::TT2UTC (const DayTime &TT)
DayTime gpstk::UTC2TT (const DayTime &UTC)
DayTime gpstk::TAI2UTC (const DayTime &TAI)
DayTime gpstk::UTC2TAI (const DayTime &UTC)
DayTime gpstk::BDT2UTC (const DayTime &BDT)
DayTime gpstk::UTC2BDT (const DayTime &UTC)
Matrix< double > gpstk::Rx (const double &angle)
 Rotate a matrix about the x-axis.
Matrix< double > gpstk::Ry (const double &angle)
 Rotate a matrix about the y-axis.
Matrix< double > gpstk::Rz (const double &angle)
 Rotate a matrix about the z-axis.
Matrix< double > gpstk::iauPmat76 (const DayTime &TT)
 Precession matrix by IAU 1976 model.
double gpstk::iauNut80Args (const DayTime &TT, double &eps, double &dpsi, double &deps) throw (Exception)
void gpstk::J2kToECEFMatrix (const DayTime &UTC, const EOPDataStore::EOPData &ERP, Matrix< double > &POM, Matrix< double > &Theta, Matrix< double > &NP) throw (Exception)
Triple gpstk::J2kPosToECEF (const Triple &j2kPos, const DayTime &time, TimeSystem sys)
 Convert position from J2000 to ECEF.
Triple gpstk::ECEFPosToJ2k (const Triple &ecefPos, const DayTime &time, TimeSystem sys)
 Convert position from ECEF to J2000.
Matrix< double > gpstk::J2kToECEFMatrix (const DayTime &UTC, const EOPDataStore::EOPData &ERP)
 ECI to ECF transform matrix, POM * Theta * NP.
Vector< double > gpstk::J2kPosToECEF (const DayTime &UTC, const Vector< double > &j2kPos) throw (Exception)
 Convert position from J2000 to ECEF.
Vector< double > gpstk::ECEFPosToJ2k (const DayTime &UTC, const Vector< double > &ecefPos) throw (Exception)
 Convert position from ECEF to J2000.
Vector< double > gpstk::J2kPosVelToECEF (const DayTime &UTC, const Vector< double > &j2kPosVel) throw (Exception)
 Convert position and velocity from J2000 to ECEF.
Vector< double > gpstk::ECEFPosVelToJ2k (const DayTime &UTC, const Vector< double > &ecefPosVel) throw (Exception)
 Convert position and velocity from ECEF to J2000.
Vector< double > gpstk::sunJ2kPosition (const DayTime &TT)
 sun position in J2000
Vector< double > gpstk::moonJ2kPosition (const DayTime &TT)
 moon position in J2000
double gpstk::normalizeAngle (double a)
 Normalize angle into the range -pi <= a < +pi.
void gpstk::nutationAngles (DayTime TT, double &dpsi, double &deps)
 Nutation angles by IAU 1980 model.
double gpstk::meanObliquity (DayTime TT)
 Mean obliquity of the ecliptic by IAU 1980 model.
double gpstk::iauEqeq94 (DayTime TT, double eps, double dPsi)
 Equation of the equinoxes by IAU 1994 model.
double gpstk::iauGmst82 (DayTime UT1)
 Greenwich mean sidereal time by IAU 1982 model.
Matrix< double > gpstk::iauNmat (const double &eps, const double &dpsi, const double &deps)
 Nutation matrix from nutation angles.
double gpstk::earthRotationAngle (DayTime UT1)
 earth rotation angle
double gpstk::earthRotationAngleRate1 (DayTime TT)
 Earth rotation angle first order rate.
short gpstk::AlmOrbit::getPRN () const
double gpstk::AlmOrbit::getecc () const
double gpstk::AlmOrbit::geti_offset () const
double gpstk::AlmOrbit::getOMEGAdot () const
double gpstk::AlmOrbit::getAhalf () const
double gpstk::AlmOrbit::getOMEGA0 () const
double gpstk::AlmOrbit::getw () const
double gpstk::AlmOrbit::getM0 () const
double gpstk::AlmOrbit::getAF0 () const
double gpstk::AlmOrbit::getAF1 () const
long gpstk::AlmOrbit::getToaSOW () const
long gpstk::AlmOrbit::getxmit_time () const
short gpstk::AlmOrbit::getToaWeek () const

Variables

const long gpstk::MAX_PRN = 32
 The maximum number of active satellites in the GPS constellation.


Typedef Documentation

typedef std::map<SatID, AlmOrbit> AlmOrbits
 

Map from SatID to AlmOrbit.

Definition at line 120 of file AlmOrbit.hpp.

Referenced by GPSAlmanacStore::addAlmanac(), and GPSAlmanacStore::findAlmanacs().


Enumeration Type Documentation

enum TimeSystem
 

Enumeration values:
TS_Unknown 
TS_UTC 
TS_UT1 
TS_GPST 
TS_TAI 
TS_TT 

Definition at line 115 of file IERSConventions.hpp.


Function Documentation

const double AU_CONST 1.  49597870e11  ) 
 

Astronomical Unit value (AU), in meters.

const double B1950 1949.  9997904423  ) 
 

Julian epoch of B1950.

Referenced by MoonPosition::getPositionCIS().

DayTime BDT2UTC const DayTime &  BDT  ) 
 

Definition at line 401 of file IERSConventions.cpp.

References gpstk::GPST2UTC().

Triple CIS2CTS const Triple  posCIS,
const DayTime &  t
 

Function to change from CIS to CTS(ECEF) coordinate system (coordinates in meters).

Parameters:
posCis Coordinates in CIS system (in meters).
t Epoch
Returns:
Triple in CTS(ECEF) coordinate system.

Definition at line 44 of file AstronomicalFunctions.cpp.

References TWO_PI, and gpstk::UTC2SID().

Referenced by SunPosition::getPosition(), and MoonPosition::getPosition().

DayTime ConvertTimeSystem const DayTime &  time,
TimeSystem  from,
TimeSystem  to
 

Definition at line 243 of file IERSConventions.cpp.

References GPSTK_THROW.

Referenced by IERS::ConvertTimeSystem(), gpstk::ECEFPosToJ2k(), gpstk::J2kPosToECEF(), IERS::moonECEFPosition(), IERS::moonJ2kPosition(), IERS::sunECEFPosition(), and IERS::sunJ2kPosition().

const double D2R 0.  0174532925199432957692369  ) 
 

Degrees to radians.

Referenced by MoonPosition::getPositionCIS().

const double DAS2R 4.848136811095359935899141e-  6  ) 
 

Arcseconds to radians.

const double DS2R 7.272205216643039903848712e-  5  ) 
 

Seconds of time to radians.

const double EarthGrav 9.  80665  ) 
 

Earth gravity acceleration on surface (m/s^2).

double earthRotationAngle DayTime  UT1  ) 
 

earth rotation angle

Definition at line 1228 of file IERSConventions.cpp.

References gpstk::normalizeAngle().

Referenced by gpstk::iauGmst00().

double earthRotationAngleRate1 DayTime  TT  ) 
 

Earth rotation angle first order rate.

Parameters:
TT Modified Julian Date in TT
Returns:
d(GAST)/d(t) in [rad]

Definition at line 1243 of file IERSConventions.cpp.

Referenced by ReferenceFrames::ECEFPosVelToJ2k(), gpstk::ECEFPosVelToJ2k(), ReferenceFrames::ECEFStateToJ2k(), ReferenceFrames::J2kPosVelToECEF(), gpstk::J2kPosVelToECEF(), and ReferenceFrames::J2kStateToECEF().

Vector< double > ECEFPosToJ2k const DayTime &  UTC,
const Vector< double > &  ecefPos
throw (Exception)
 

Convert position from ECEF to J2000.

Definition at line 670 of file IERSConventions.cpp.

References gpstk::EOPData(), gpstk::J2kToECEFMatrix(), and gpstk::transpose().

Referenced by gpstk::ECEFPosToJ2k().

Triple ECEFPosToJ2k const Triple &  ecefPos,
const DayTime &  time,
TimeSystem  sys = TS_GPST
 

Convert position from ECEF to J2000.

Definition at line 432 of file IERSConventions.cpp.

References gpstk::ConvertTimeSystem(), and gpstk::ECEFPosToJ2k().

Referenced by IERS::ECEFPosToJ2k().

Vector< double > ECEFPosVelToJ2k const DayTime &  UTC,
const Vector< double > &  ecefPosVel
throw (Exception)
 

Convert position and velocity from ECEF to J2000.

Definition at line 720 of file IERSConventions.cpp.

References gpstk::earthRotationAngleRate1(), gpstk::EOPData(), gpstk::J2kToECEFMatrix(), gpstk::transpose(), and gpstk::UTC2TT().

Referenced by IERS::ECEFPosVelToJ2k(), and SatOrbitStore::getPvt().

EOPDataStore::EOPData EOPData const DayTime &  UTC  )  throw (InvalidRequest)
 

Request EOP Data.

Definition at line 169 of file IERSConventions.cpp.

Referenced by gpstk::ECEFPosToJ2k(), gpstk::ECEFPosVelToJ2k(), IERS::eopData(), EOPDataStore::getEOPData(), gpstk::J2kPosToECEF(), gpstk::J2kPosVelToECEF(), EOPDataStore::loadIERSFile(), EOPDataStore::loadIGSFile(), EOPDataStore::loadSTKFile(), gpstk::NutationDEps(), gpstk::NutationDPsi(), gpstk::PolarMotionX(), gpstk::PolarMotionY(), and gpstk::UT1mUTC().

const double ERADAU 4.2635212653763e-  5  ) 
 

Earth equatorial radius in AU ( 6378.137 km / 149597870 km).

Referenced by MoonPosition::getPositionCIS().

double getAF0  )  const [inline, inherited]
 

Definition at line 132 of file AlmOrbit.hpp.

double getAF1  )  const [inline, inherited]
 

Definition at line 133 of file AlmOrbit.hpp.

double getAhalf  )  const [inline, inherited]
 

Definition at line 128 of file AlmOrbit.hpp.

double getecc  )  const [inline, inherited]
 

Definition at line 125 of file AlmOrbit.hpp.

double geti_offset  )  const [inline, inherited]
 

Definition at line 126 of file AlmOrbit.hpp.

double getM0  )  const [inline, inherited]
 

Definition at line 131 of file AlmOrbit.hpp.

double getOMEGA0  )  const [inline, inherited]
 

Definition at line 129 of file AlmOrbit.hpp.

double getOMEGAdot  )  const [inline, inherited]
 

Definition at line 127 of file AlmOrbit.hpp.

short getPRN  )  const [inline, inherited]
 

Definition at line 124 of file AlmOrbit.hpp.

long getToaSOW  )  const [inline, inherited]
 

Definition at line 134 of file AlmOrbit.hpp.

short getToaWeek  )  const [inline, inherited]
 

Definition at line 136 of file AlmOrbit.hpp.

double getw  )  const [inline, inherited]
 

Definition at line 130 of file AlmOrbit.hpp.

long getxmit_time  )  const [inline, inherited]
 

Definition at line 135 of file AlmOrbit.hpp.

DayTime GPST2UTC const DayTime &  GPST  ) 
 

Definition at line 292 of file IERSConventions.cpp.

References gpstk::TAImUTC().

Referenced by gpstk::BDT2UTC().

double iauEqeq94 DayTime  TT,
double  eps,
double  dPsi
 

Equation of the equinoxes by IAU 1994 model.

Definition at line 1147 of file IERSConventions.cpp.

References gpstk::cos(), gpstk::normalizeAngle(), and gpstk::sin().

Referenced by ReferenceFrames::J2kToECEFMatrix().

double iauGmst82 DayTime  UT1  ) 
 

Greenwich mean sidereal time by IAU 1982 model.

Definition at line 1171 of file IERSConventions.cpp.

References gpstk::normalizeAngle().

Referenced by ReferenceFrames::J2kToECEFMatrix().

Matrix< double > iauNmat const double &  epsa,
const double &  dpsi,
const double &  deps
 

Nutation matrix from nutation angles.

Definition at line 1221 of file IERSConventions.cpp.

References gpstk::Rx(), and gpstk::Rz().

Referenced by ReferenceFrames::J2kToECEFMatrix(), and gpstk::J2kToECEFMatrix().

double iauNut80Args const DayTime &  TT,
double &  eps,
double &  dpsi,
double &  deps
throw (Exception)
 

Definition at line 446 of file IERSConventions.cpp.

References gpstk::cos(), PI, and gpstk::sin().

Referenced by gpstk::J2kToECEFMatrix().

Matrix< double > iauPmat76 const DayTime &  TT  ) 
 

Precession matrix by IAU 1976 model.

Definition at line 897 of file IERSConventions.cpp.

References gpstk::Ry(), and gpstk::Rz().

Referenced by ReferenceFrames::J2kToECEFMatrix(), and gpstk::J2kToECEFMatrix().

Vector< double > J2kPosToECEF const DayTime &  UTC,
const Vector< double > &  j2kPos
throw (Exception)
 

Convert position from J2000 to ECEF.

Definition at line 660 of file IERSConventions.cpp.

References gpstk::EOPData(), and gpstk::J2kToECEFMatrix().

Referenced by gpstk::J2kPosToECEF().

Triple J2kPosToECEF const Triple &  j2kPos,
const DayTime &  time,
TimeSystem  sys = TS_GPST
 

Convert position from J2000 to ECEF.

Definition at line 419 of file IERSConventions.cpp.

References gpstk::ConvertTimeSystem(), and gpstk::J2kPosToECEF().

Referenced by IERS::J2kPosToECEF().

Vector< double > J2kPosVelToECEF const DayTime &  UTC,
const Vector< double > &  j2kPosVel
throw (Exception)
 

Convert position and velocity from J2000 to ECEF.

Definition at line 679 of file IERSConventions.cpp.

References gpstk::earthRotationAngleRate1(), gpstk::EOPData(), gpstk::J2kToECEFMatrix(), and gpstk::UTC2TT().

Referenced by ReferenceFrames::getECEFPosVel(), IERS::J2kPosVelToECEF(), and SatOrbitPropagator::rvState().

Matrix< double > J2kToECEFMatrix const DayTime &  UTC,
const EOPDataStore::EOPData &  ERP
 

ECI to ECF transform matrix, POM * Theta * NP.

Definition at line 651 of file IERSConventions.cpp.

Referenced by Msise00Drag::computeDensity(), SphericalHarmonicGravity::doCompute(), gpstk::ECEFPosToJ2k(), gpstk::ECEFPosVelToJ2k(), EarthSolidTide::getSolidTide(), gpstk::J2kPosToECEF(), and gpstk::J2kPosVelToECEF().

void J2kToECEFMatrix const DayTime &  UTC,
const EOPDataStore::EOPData &  ERP,
Matrix< double > &  POM,
Matrix< double > &  Theta,
Matrix< double > &  NP
throw (Exception)
 

Definition at line 604 of file IERSConventions.cpp.

References gpstk::cos(), gpstk::iauNmat(), gpstk::iauNut80Args(), gpstk::iauPmat76(), gpstk::normalizeAngle(), gpstk::Rx(), gpstk::Ry(), gpstk::Rz(), gpstk::sin(), gpstk::UTC2TT(), and gpstk::UTC2UT1().

Referenced by ReferenceFrames::ECEFPosVelToJ2k(), ReferenceFrames::ECEFStateToJ2k(), ReferenceFrames::J2kPosVelToECEF(), ReferenceFrames::J2kStateToECEF(), and IERS::J2kToECEFMatrix().

void LoadIERSFile const std::string &  fileName  ) 
 

'finals.data' from http://maia.usno.navy.mil/

The Chart of Different Time System -------------------------------------------------------------------

-14s -----------------> BDT(Compass Time) | | +19s +32.184s +rel.effects GPST ------------> TAI ----------------> TT -----------------> TDB T | -(UT1-TAI) | | -leap seconds UT1 ---------------| |--------------------> UTC | | earth rotation ---------------------> GAST

Ritrf = POM * Theta * N * P * Ricrf

Definition at line 135 of file IERSConventions.cpp.

References GPSTK_WARNING_F1.

Referenced by IERS::loadIERSFile().

void LoadIGSFile const std::string &  fileName  ) 
 

ERP data file from IGS.

Definition at line 146 of file IERSConventions.cpp.

References GPSTK_WARNING_F1.

Referenced by IERS::loadIGSFile().

void LoadSTKFile const std::string &  fileName  ) 
 

ERP data file from STK.

Definition at line 157 of file IERSConventions.cpp.

References GPSTK_WARNING_F1.

Referenced by IERS::loadSTKFile().

const double MeanEarthMoonBary 3.12e-  5  ) 
 

Mean Earth-Moon barycenter (EMB) distance (AU).

Referenced by SunPosition::getPositionCIS().

double meanObliquity DayTime  TT  ) 
 

Mean obliquity of the ecliptic by IAU 1980 model.

Definition at line 1137 of file IERSConventions.cpp.

Referenced by ReferenceFrames::J2kToECEFMatrix().

Vector< double > moonJ2kPosition const DayTime &  TT  ) 
 

moon position in J2000

Definition at line 786 of file IERSConventions.cpp.

References gpstk::cos(), PI, and gpstk::sin().

Referenced by IERS::moonJ2kPosition().

const double MU_MOON 0.  01230002  ) 
 

Ratio of mass Moon to Earth.

Referenced by SolidTides::getSolidTide().

const double MU_SUN 332946.  0  ) 
 

Ratio of mass Sun to Earth.

Referenced by SolidTides::getSolidTide().

double normalizeAngle double  a  ) 
 

Normalize angle into the range -pi <= a < +pi.

Definition at line 843 of file IERSConventions.cpp.

Referenced by gpstk::earthRotationAngle(), gpstk::iauEqeq94(), gpstk::iauGmst00(), gpstk::iauGmst82(), ReferenceFrames::J2kToECEFMatrix(), gpstk::J2kToECEFMatrix(), and gpstk::nutationAngles().

void nutationAngles DayTime  TT,
double &  dpsi,
double &  deps
 

Nutation angles by IAU 1980 model.

Definition at line 921 of file IERSConventions.cpp.

References gpstk::cos(), gpstk::normalizeAngle(), and gpstk::sin().

Referenced by ReferenceFrames::J2kToECEFMatrix().

double NutationDEps const DayTime &  UTC  ) 
 

in arcsecond

Definition at line 228 of file IERSConventions.cpp.

References gpstk::EOPData(), and GPSTK_WARNING_F1.

Referenced by IERS::dEps().

double NutationDPsi const DayTime &  UTC  ) 
 

in arcsecond

Definition at line 215 of file IERSConventions.cpp.

References gpstk::EOPData(), and GPSTK_WARNING_F1.

Referenced by IERS::dPsi().

std::ostream & operator<< std::ostream &  s,
const EngAlmanac alm
 

Definition at line 564 of file EngAlmanac.cpp.

References EngAlmanac::dump().

std::ostream & operator<< std::ostream &  s,
const AlmOrbit &  ao
 

Definition at line 287 of file AlmOrbit.cpp.

References DayTime::dump().

double PolarMotionX const DayTime &  UTC  ) 
 

in arcsecond

Definition at line 176 of file IERSConventions.cpp.

References gpstk::EOPData(), and GPSTK_WARNING_F1.

Referenced by IERS::xPole().

double PolarMotionY const DayTime &  UTC  ) 
 

in arcsecond

Definition at line 189 of file IERSConventions.cpp.

References gpstk::EOPData(), and GPSTK_WARNING_F1.

Referenced by IERS::yPole().

double RelativityCorrection const Xvt svPosVel  ) 
 

Compute relativity correction (seconds) from the satellite position and velocity.

Definition at line 222 of file EphemerisRange.cpp.

References Xvt::v, and Xvt::x.

Referenced by PreciseRange::ComputeAtTransmitTime().

double RelativityCorrection const Position &  R,
const Position &  V
 

Compute relativity correction (meters) from the satellite position and velocity.

Definition at line 205 of file PreciseRange.cpp.

Matrix< double > Rx const double &  angle  ) 
 

Rotate a matrix about the x-axis.

Definition at line 856 of file IERSConventions.cpp.

References gpstk::cos(), and gpstk::sin().

Referenced by CorrectedEphemerisRange::ComputeAtReceiveTime(), PreciseRange::ComputeAtTransmitTime(), CorrectedEphemerisRange::ComputeAtTransmitTime(), Position::getIonosphericPiercePoint(), gpstk::iauNmat(), ReferenceFrames::J2kToECEFMatrix(), gpstk::J2kToECEFMatrix(), KeplerOrbit::State(), and KeplerOrbit::StatePartials().

Matrix< double > Ry const double &  angle  ) 
 

Rotate a matrix about the y-axis.

Definition at line 870 of file IERSConventions.cpp.

References gpstk::cos(), and gpstk::sin().

Referenced by gpstk::iauPmat76(), ReferenceFrames::J2kToECEFMatrix(), and gpstk::J2kToECEFMatrix().

Matrix< double > Rz const double &  angle  ) 
 

Rotate a matrix about the z-axis.

Definition at line 884 of file IERSConventions.cpp.

References gpstk::cos(), and gpstk::sin().

Referenced by gpstk::iauNmat(), gpstk::iauPmat76(), ReferenceFrames::J2kToECEFMatrix(), gpstk::J2kToECEFMatrix(), KeplerOrbit::State(), and KeplerOrbit::StatePartials().

Vector< double > sunJ2kPosition const DayTime &  TT  ) 
 

sun position in J2000

Definition at line 761 of file IERSConventions.cpp.

References gpstk::cos(), and PI.

Referenced by IERS::sunJ2kPosition().

DayTime TAI2UTC const DayTime &  TAI  ) 
 

Definition at line 380 of file IERSConventions.cpp.

References gpstk::TAImUTC().

double TAImGPST  ) 
 

Definition at line 129 of file IERSConventions.cpp.

Referenced by IERS::TAImGPST(), and gpstk::UTC2GPST().

int TAImUTC DayTime  UTC  )  throw (InvalidRequest)
 

ftp://maia.usno.navy.mil/ser7/leapsec.dat

Definition at line 99 of file IERSConventions.cpp.

References GPSTK_THROW.

Referenced by UTCTime::asGPST(), UTCTime::asTAI(), gpstk::GPST2UTC(), gpstk::TAI2UTC(), UTCTime::TAImUTC(), IERS::TAImUTC(), gpstk::TT2UTC(), gpstk::UTC2GPST(), gpstk::UTC2TAI(), and gpstk::UTC2TT().

DayTime TT2UTC const DayTime &  TT  ) 
 

Definition at line 349 of file IERSConventions.cpp.

References gpstk::TAImUTC(), and gpstk::TTmTAI().

double TTmTAI  ) 
 

Definition at line 127 of file IERSConventions.cpp.

Referenced by gpstk::TT2UTC(), IERS::TTmTAI(), and gpstk::UTC2TT().

DayTime UT12UTC const DayTime &  UT1,
double  ut1mutc
 

Definition at line 334 of file IERSConventions.cpp.

DayTime UT12UTC const DayTime &  UT1  ) 
 

Definition at line 313 of file IERSConventions.cpp.

References gpstk::UT1mUTC().

double UT1mUTC const DayTime &  UTC  ) 
 

in second

Definition at line 202 of file IERSConventions.cpp.

References gpstk::EOPData(), and GPSTK_WARNING_F1.

Referenced by UTCTime::asUT1(), EarthOrientation::EarthOrientation(), GeodeticFrames::ECEFtoInertial(), EOPDataStore::EOPData::EOPData(), GeodeticFrames::GAST(), GeodeticFrames::GMST(), EOPDataStore::loadIERSFile(), EOPDataStore::loadIGSFile(), EOPDataStore::loadSTKFile(), GeodeticFrames::PreciseEarthRotation(), gpstk::UT12UTC(), UTCTime::UT1mUTC(), IERS::UT1mUTC(), and gpstk::UTC2UT1().

DayTime UTC2BDT const DayTime &  UTC  ) 
 

Definition at line 408 of file IERSConventions.cpp.

References gpstk::UTC2GPST().

DayTime UTC2GPST const DayTime &  UTC  ) 
 

Definition at line 305 of file IERSConventions.cpp.

References gpstk::TAImGPST(), and gpstk::TAImUTC().

Referenced by gpstk::UTC2BDT().

double UTC2SID const DayTime &  t  ) 
 

Function to convert from UTC to sidereal time.

Parameters:
t Epoch
Returns:
sidereal time in hours.

Definition at line 70 of file AstronomicalFunctions.cpp.

Referenced by gpstk::CIS2CTS().

DayTime UTC2TAI const DayTime &  UTC  ) 
 

Definition at line 393 of file IERSConventions.cpp.

References gpstk::TAImUTC().

DayTime UTC2TT const DayTime &  UTC  ) 
 

Definition at line 369 of file IERSConventions.cpp.

References gpstk::TAImUTC(), and gpstk::TTmTAI().

Referenced by gpstk::ECEFPosVelToJ2k(), gpstk::J2kPosVelToECEF(), and gpstk::J2kToECEFMatrix().

DayTime UTC2UT1 const DayTime &  UTC,
double  ut1mutc
 

Definition at line 341 of file IERSConventions.cpp.

Referenced by gpstk::J2kToECEFMatrix().

DayTime UTC2UT1 const DayTime &  UTC  ) 
 

Definition at line 326 of file IERSConventions.cpp.

References gpstk::UT1mUTC().


Variable Documentation

const long MAX_PRN = 32
 

The maximum number of active satellites in the GPS constellation.

Definition at line 61 of file gps_constants.hpp.


Generated on Wed Feb 8 03:31:25 2012 for GPS ToolKit Software Library by  doxygen 1.3.9.1