ObsRngDev Class Reference

#include <ObsRngDev.hpp>

Collaboration diagram for ObsRngDev:

Collaboration graph
[legend]
List of all members.

Detailed Description

A single (one observation from one sv), Observed Range Deviation (ORD).

It contains all of the parameters that define an ORD and includes metadata on ORD computation such as SV position and health.

Definition at line 68 of file ObsRngDev.hpp.

Public Member Functions

 ObsRngDev () throw ()
 default constructor.
 ObsRngDev (const double prange, const SatID &svid, const DayTime &time, const ECEF &rxpos, const XvtStore< SatID > &eph, GeoidModel &gm, bool svTime=false)
 constructor.
 ObsRngDev (const double prange, const SatID &svid, const DayTime &time, const ECEF &rxpos, const XvtStore< SatID > &eph, GeoidModel &gm, const IonoModelStore &ion, IonoModel::Frequency fq, bool svTime=false)
 constructor.
 ObsRngDev (const double prange, const SatID &svid, const DayTime &time, const ECEF &rxpos, const XvtStore< SatID > &eph, GeoidModel &gm, const TropModel &tm, bool svTime=false)
 constructor.
 ObsRngDev (const double prange, const SatID &svid, const DayTime &time, const ECEF &rxpos, const XvtStore< SatID > &eph, GeoidModel &gm, const TropModel &tm, const IonoModelStore &ion, IonoModel::Frequency fq, bool svTime=false)
 constructor.
 ObsRngDev (const double prange1, const double prange2, const SatID &svid, const DayTime &time, const ECEF &rxpos, const XvtStore< SatID > &eph, GeoidModel &gm, bool svTime=false)
 constructor.
 ObsRngDev (const double prange1, const double prange2, const SatID &svid, const DayTime &time, const ECEF &rxpos, const XvtStore< SatID > &eph, const GeoidModel &gm, const TropModel &tm, bool svTime=false)
 constructor.
virtual ~ObsRngDev () throw ()
 destructor
const DayTimegetTime () const throw ()
 returns the time of the SV observation
SatID getSvID () const throw ()
 returns the observed SV's identifier
vfloat getAzimuth () const throw ()
 returns the SV azimuth angle (in degrees) in relation to the rx
vfloat getElevation () const throw ()
 returns elevation (in degrees) of the SV in relation to the rx
vshort getHealth () const throw ()
 returns the 6-bit SV health bitfield from epehemeris, subframe 1
vshort getIODC () const throw ()
 returns the Issue Of Data, Clock (IODC) from ephemeris, subframe 1
double getORD () const throw ()
 returns the observed range deviation (ORD) (in meters)
vdouble getIono () const throw ()
 returns the ionospheric offset (in meters)
vdouble getTrop () const throw ()
 returns the tropospheric offset (in meters)
void applyClockOffset (double clockOffset)

Public Attributes

DayTime obstime
 time of SV observation
SatID svid
 PRN number of observed SV.
double ord
 difference between expected and observed range
unsigned wonky
 A bitmask defined by the application to flag questionable data.
vfloat azimuth
 SV azimuth.
vfloat elevation
 SV elevation.
vshort health
 SV health bitfield.
vshort iodc
 ephemeris IODC
vdouble rho
 expected geometric range
vdouble iono
 iono correction (meters)
vdouble trop
 trop correction (meters)

Static Public Attributes

bool debug = false

Friends

std::ostream & operator<< (std::ostream &s, const ObsRngDev &r) throw ()


Constructor & Destructor Documentation

ObsRngDev  )  throw () [inline]
 

default constructor.

Creates an empty, useless object to facilitate STL containers of this object.

Definition at line 77 of file ObsRngDev.hpp.

ObsRngDev const double  prange,
const SatID svid,
const DayTime time,
const ECEF rxpos,
const XvtStore< SatID > &  eph,
GeoidModel gm,
bool  svTime = false
 

constructor.

Creates an ORD, with no ionospheric correction and a default trop correction.

Parameters:
prange the observed pseudorange
svid the SV being observed
time the time of the observation
rxpos the earth-centered, earth-fixed receiver position
eph a store of either broadcast or precise ephemerides
gm a GeoidModel for performing range calculations
ion a store of nav based ionospheric models
fq the GPS frequency (L1 or L2) from which the obs was made
svTime true if prange is in SV time, false for RX time.

Definition at line 63 of file ObsRngDev.cpp.

References DayTime::DOYday().

ObsRngDev const double  prange,
const SatID svid,
const DayTime time,
const ECEF rxpos,
const XvtStore< SatID > &  eph,
GeoidModel gm,
const IonoModelStore ion,
IonoModel::Frequency  fq,
bool  svTime = false
 

constructor.

Creates an ORD, applies a single-frequency nav-message based ionospheric correction and a default trop correction.

Parameters:
prange the observed pseudorange
prn the PRN number of the observed SV
time the time of the observation
rxpos the earth-centered, earth-fixed receiver position
eph a store of either broadcast or precise ephemerides
gm a GeoidModel for performing range calculations
ion a store of nav based ionospheric models
fq the GPS frequency (L1 or L2) from which the obs was made
svTime true if prange is in SV time, false for RX time.

Definition at line 79 of file ObsRngDev.cpp.

References ObsRngDev::azimuth, DayTime::DOYday(), ObsRngDev::elevation, Geodetic::getAltitude(), IonoModelStore::getCorrection(), Geodetic::getLatitude(), ObsRngDev::iono, and ObsRngDev::ord.

ObsRngDev const double  prange,
const SatID svid,
const DayTime time,
const ECEF rxpos,
const XvtStore< SatID > &  eph,
GeoidModel gm,
const TropModel tm,
bool  svTime = false
 

constructor.

Creates an ORD, applies no ionospheric correction and a user-specified trop correction.

Parameters:
prange the observed pseudorange
prn the PRN number of the observed SV
time the time of the observation
rxpos the earth-centered, earth-fixed receiver position
eph a store of either broadcast or precise ephemerides
gm a GeoidModel for performing range calculations
tm a TropModel for performing trop calculation
ion a store of nav based ionospheric models
fq the GPS frequency (L1 or L2) from which the obs was made
svTime true if prange is in SV time, false for RX time.

Definition at line 99 of file ObsRngDev.cpp.

ObsRngDev const double  prange,
const SatID svid,
const DayTime time,
const ECEF rxpos,
const XvtStore< SatID > &  eph,
GeoidModel gm,
const TropModel tm,
const IonoModelStore ion,
IonoModel::Frequency  fq,
bool  svTime = false
 

constructor.

Creates an ORD, applies a single-frequency nav-message based ionospheric correction and a user-specified trop correction.

Parameters:
prange the observed pseudorange
prn the PRN number of the observed SV
time the time of the observation
rxpos the earth-centered, earth-fixed receiver position
eph a store of either broadcast or precise ephemerides
gm a GeoidModel for performing range calculations
tm a TropModel for performing trop calculation
ion a store of nav based ionospheric models
fq the GPS frequency (L1 or L2) from which the obs was made
svTime true if prange is in SV time, false for RX time.

Definition at line 114 of file ObsRngDev.cpp.

References ObsRngDev::azimuth, ObsRngDev::elevation, IonoModelStore::getCorrection(), ObsRngDev::iono, and ObsRngDev::ord.

ObsRngDev const double  prange1,
const double  prange2,
const SatID svid,
const DayTime time,
const ECEF rxpos,
const XvtStore< SatID > &  eph,
GeoidModel gm,
bool  svTime = false
 

constructor.

Creates an ORD, applies a dual-frequency ionospheric correction and a default trop correction.

Parameters:
prange the observed pseudorange
prn the PRN number of the observed SV
time the time of the observation
rxpos the earth-centered, earth-fixed receiver position
eph a store of either broadcast or precise ephemerides
gm a GeoidModel for performing range calculations
svTime true if prange is in SV time, false for RX time.

Definition at line 135 of file ObsRngDev.cpp.

References DayTime::DOYday(), Geodetic::getAltitude(), Geodetic::getLatitude(), and ObsRngDev::iono.

ObsRngDev const double  prange1,
const double  prange2,
const SatID svid,
const DayTime time,
const ECEF rxpos,
const XvtStore< SatID > &  eph,
const GeoidModel gm,
const TropModel tm,
bool  svTime = false
 

constructor.

Creates an ORD, applies a dual-frequency ionospheric correction and a user-specified trop correction.

Parameters:
prange the observed pseudorange
prn the PRN number of the observed SV
time the time of the observation
rxpos the earth-centered, earth-fixed receiver position
eph a store of either broadcast or precise ephemerides
gm a GeoidModel for performing range calculations
tm a TropModel for performing trop calculations
svTime true if prange is in SV time, false for RX time.

Definition at line 157 of file ObsRngDev.cpp.

References ObsRngDev::iono.

virtual ~ObsRngDev  )  throw () [inline, virtual]
 

destructor

Definition at line 218 of file ObsRngDev.hpp.


Member Function Documentation

void applyClockOffset double  clockOffset  )  [inline]
 

Definition at line 278 of file ObsRngDev.hpp.

vfloat getAzimuth  )  const throw () [inline]
 

returns the SV azimuth angle (in degrees) in relation to the rx

Returns:
SV azimuth angle

Definition at line 237 of file ObsRngDev.hpp.

References gpstk::vfloat.

vfloat getElevation  )  const throw () [inline]
 

returns elevation (in degrees) of the SV in relation to the rx

Returns:
SV elevation angle

Definition at line 243 of file ObsRngDev.hpp.

References gpstk::vfloat.

Referenced by ObsClockModel::simpleOrdClock().

vshort getHealth  )  const throw () [inline]
 

returns the 6-bit SV health bitfield from epehemeris, subframe 1

Returns:
SV health bitfield

Definition at line 249 of file ObsRngDev.hpp.

References gpstk::vshort.

Referenced by ObsClockModel::simpleOrdClock().

vshort getIODC  )  const throw () [inline]
 

returns the Issue Of Data, Clock (IODC) from ephemeris, subframe 1

Returns:
ephemeris IODC

Definition at line 255 of file ObsRngDev.hpp.

References gpstk::vshort.

vdouble getIono  )  const throw () [inline]
 

returns the ionospheric offset (in meters)

Returns:
ionospheric offset

Definition at line 267 of file ObsRngDev.hpp.

References gpstk::vdouble.

double getORD  )  const throw () [inline]
 

returns the observed range deviation (ORD) (in meters)

Returns:
ORD

Definition at line 261 of file ObsRngDev.hpp.

Referenced by ObsClockModel::simpleOrdClock().

SatID getSvID  )  const throw () [inline]
 

returns the observed SV's identifier

Returns:
svid

Definition at line 231 of file ObsRngDev.hpp.

const DayTime& getTime  )  const throw () [inline]
 

returns the time of the SV observation

Returns:
time of SV observation

Definition at line 225 of file ObsRngDev.hpp.

vdouble getTrop  )  const throw () [inline]
 

returns the tropospheric offset (in meters)

Returns:
tropospheric offset

Definition at line 273 of file ObsRngDev.hpp.

References gpstk::vdouble.


Friends And Related Function Documentation

std::ostream& operator<< std::ostream &  s,
const ObsRngDev r
throw () [friend]
 

Definition at line 257 of file ObsRngDev.cpp.


Member Data Documentation

vfloat azimuth
 

SV azimuth.

Definition at line 317 of file ObsRngDev.hpp.

Referenced by ObsRngDev::ObsRngDev().

bool debug = false [static]
 

Definition at line 61 of file ObsRngDev.cpp.

vfloat elevation
 

SV elevation.

Definition at line 318 of file ObsRngDev.hpp.

Referenced by ObsRngDev::ObsRngDev().

vshort health
 

SV health bitfield.

Definition at line 319 of file ObsRngDev.hpp.

vshort iodc
 

ephemeris IODC

Definition at line 320 of file ObsRngDev.hpp.

vdouble iono
 

iono correction (meters)

Definition at line 322 of file ObsRngDev.hpp.

Referenced by ObsRngDev::ObsRngDev().

DayTime obstime
 

time of SV observation

Definition at line 312 of file ObsRngDev.hpp.

double ord
 

difference between expected and observed range

Definition at line 314 of file ObsRngDev.hpp.

Referenced by ObsRngDev::ObsRngDev().

vdouble rho
 

expected geometric range

Definition at line 321 of file ObsRngDev.hpp.

SatID svid
 

PRN number of observed SV.

Definition at line 313 of file ObsRngDev.hpp.

vdouble trop
 

trop correction (meters)

Definition at line 323 of file ObsRngDev.hpp.

unsigned wonky
 

A bitmask defined by the application to flag questionable data.

Definition at line 315 of file ObsRngDev.hpp.

Referenced by ObsClockModel::simpleOrdClock().


The documentation for this class was generated from the following files:
Generated on Wed Feb 8 03:31:40 2012 for GPS ToolKit Software Library by  doxygen 1.3.9.1