GPSEphemeris.h

Classes

GPSEphemeris -- Stores a chunk of GPS Ephemeris data (full description)

class GPSEphemeris

Types

enum

EX = 0
EY = 1
EZ = 2

Interface

Protected Members
const char * readLine ( FILE *f )
Public Members
GPSEphemeris ()
GPSEphemeris( const char *filename )
Int importIGS (const char *filename)
Bool svnValid ( uInt svn )
Bool orbSigma ( uInt svn )
const Vector<Double> & getEpochs ()
const Matrix<Double> & getEph (uInt svn)
Matrix<Double> splineEph (uInt svn,const Vector<Double> &mjd1 ) const
Vector<MVDirection> splineAzEl (uInt svn,const Vector<Double> &mjd1, const MVPosition &pos) const

Description

Member Description

const char * readLine ( FILE *f )

reads one line from input file

enum

GPSEphemeris ()

default constructor

GPSEphemeris( const char *filename )

constructor. Loads IGS/SP3 file

Int importIGS (const char *filename)

Loads IGS/SP3 file

Bool svnValid ( uInt svn )

do we have ephemeris for this SVN?

Bool orbSigma ( uInt svn )

returns the orbital accuracy indicator (=exponent of sigma) for SVN

const Vector<Double> & getEpochs ()

returns vector of epochs

const Matrix<Double> & getEph (uInt svn)

returns ephemeris of given SVN

Matrix<Double> splineEph (uInt svn,const Vector<Double> &mjd1 ) const

Splines the ephemeris of sattelite SVN to time grid MJD1, and returns the result as a (nep,3) matrix of ephemeris.

Vector<MVDirection> splineAzEl (uInt svn,const Vector<Double> &mjd1, const MVPosition &pos) const

Splines the ephemeris of sattelite SVN to new time grid MJD1, and returns the result as a (nep) vector of MVDirections, corresponding to Az/El from the observation point given by POS (ITRF). Tension is the spline tension, 0 for default (1e-3).