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 CommonTime &time, const Position &rxpos, const XvtStore< SatID > &eph, EllipsoidModel &em, bool svTime=false)
 constructor.
 ObsRngDev (const double prange, const SatID &svid, const CommonTime &time, const Position &rxpos, const XvtStore< SatID > &eph, EllipsoidModel &em, const IonoModelStore &ion, IonoModel::Frequency fq, bool svTime=false)
 constructor.
 ObsRngDev (const double prange, const SatID &svid, const CommonTime &time, const Position &rxpos, const XvtStore< SatID > &eph, EllipsoidModel &em, const TropModel &tm, bool svTime=false)
 constructor.
 ObsRngDev (const double prange, const SatID &svid, const CommonTime &time, const Position &rxpos, const XvtStore< SatID > &eph, EllipsoidModel &em, const TropModel &tm, const IonoModelStore &ion, IonoModel::Frequency fq, bool svTime=false)
 constructor.
 ObsRngDev (const double prange1, const double prange2, const SatID &svid, const CommonTime &time, const Position &rxpos, const XvtStore< SatID > &eph, EllipsoidModel &em, bool svTime=false, double gamma=GAMMA_GPS)
 constructor.
 ObsRngDev (const double prange1, const double prange2, const SatID &svid, const CommonTime &time, const Position &rxpos, const XvtStore< SatID > &eph, const EllipsoidModel &em, const TropModel &tm, bool svTime=false, double gamma=GAMMA_GPS)
 constructor.
virtual ~ObsRngDev () throw ()
 destructor
const CommonTimegetTime () 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

CommonTime 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 CommonTime time,
const Position rxpos,
const XvtStore< SatID > &  eph,
EllipsoidModel em,
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
em an EllipsoidModel 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 59 of file ObsRngDev.cpp.

ObsRngDev const double  prange,
const SatID svid,
const CommonTime time,
const Position rxpos,
const XvtStore< SatID > &  eph,
EllipsoidModel em,
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
em an EllipsoidModel 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 75 of file ObsRngDev.cpp.

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

ObsRngDev const double  prange,
const SatID svid,
const CommonTime time,
const Position rxpos,
const XvtStore< SatID > &  eph,
EllipsoidModel em,
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
em an EllipsoidModel 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 95 of file ObsRngDev.cpp.

ObsRngDev const double  prange,
const SatID svid,
const CommonTime time,
const Position rxpos,
const XvtStore< SatID > &  eph,
EllipsoidModel em,
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
em an EllipsoidModel 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 110 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 CommonTime time,
const Position rxpos,
const XvtStore< SatID > &  eph,
EllipsoidModel em,
bool  svTime = false,
double  gamma = GAMMA_GPS
 

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
em an EllipsoidModel for performing range calculations
svTime true if prange is in SV time, false for RX time.

Definition at line 131 of file ObsRngDev.cpp.

References gpstk::gamma(), Position::getAltitude(), Position::getGeodeticLatitude(), and ObsRngDev::iono.

ObsRngDev const double  prange1,
const double  prange2,
const SatID svid,
const CommonTime time,
const Position rxpos,
const XvtStore< SatID > &  eph,
const EllipsoidModel em,
const TropModel tm,
bool  svTime = false,
double  gamma = GAMMA_GPS
 

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
em an EllipsoidModel 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 154 of file ObsRngDev.cpp.

References gpstk::gamma(), and ObsRngDev::iono.

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

destructor

Definition at line 220 of file ObsRngDev.hpp.


Member Function Documentation

void applyClockOffset double  clockOffset  )  [inline]
 

Definition at line 280 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 239 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 245 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 251 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 257 of file ObsRngDev.hpp.

References gpstk::vshort.

vdouble getIono  )  const throw () [inline]
 

returns the ionospheric offset (in meters)

Returns:
ionospheric offset

Definition at line 269 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 263 of file ObsRngDev.hpp.

Referenced by ObsClockModel::simpleOrdClock().

SatID getSvID  )  const throw () [inline]
 

returns the observed SV's identifier

Returns:
svid

Definition at line 233 of file ObsRngDev.hpp.

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

returns the time of the SV observation

Returns:
time of SV observation

Definition at line 227 of file ObsRngDev.hpp.

vdouble getTrop  )  const throw () [inline]
 

returns the tropospheric offset (in meters)

Returns:
tropospheric offset

Definition at line 275 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 255 of file ObsRngDev.cpp.


Member Data Documentation

vfloat azimuth
 

SV azimuth.

Definition at line 319 of file ObsRngDev.hpp.

Referenced by ObsRngDev::ObsRngDev().

bool debug = false [static]
 

Definition at line 57 of file ObsRngDev.cpp.

vfloat elevation
 

SV elevation.

Definition at line 320 of file ObsRngDev.hpp.

Referenced by ObsRngDev::ObsRngDev().

vshort health
 

SV health bitfield.

Definition at line 321 of file ObsRngDev.hpp.

vshort iodc
 

ephemeris IODC

Definition at line 322 of file ObsRngDev.hpp.

vdouble iono
 

iono correction (meters)

Definition at line 324 of file ObsRngDev.hpp.

Referenced by ObsRngDev::ObsRngDev().

CommonTime obstime
 

time of SV observation

Definition at line 314 of file ObsRngDev.hpp.

double ord
 

difference between expected and observed range

Definition at line 316 of file ObsRngDev.hpp.

Referenced by ObsRngDev::ObsRngDev().

vdouble rho
 

expected geometric range

Definition at line 323 of file ObsRngDev.hpp.

SatID svid
 

PRN number of observed SV.

Definition at line 315 of file ObsRngDev.hpp.

vdouble trop
 

trop correction (meters)

Definition at line 325 of file ObsRngDev.hpp.

unsigned wonky
 

A bitmask defined by the application to flag questionable data.

Definition at line 317 of file ObsRngDev.hpp.

Referenced by ObsClockModel::simpleOrdClock().


The documentation for this class was generated from the following files:
Generated on Mon May 20 03:31:49 2013 for GPS ToolKit Software Library by  doxygen 1.3.9.1