#include <CorrectObservables.hpp>
Inheritance diagram for CorrectObservables:


This class is meant to be used with the GNSS data structures objects found in "DataStructures" class.
A typical way to use this class follows:
// Create the input obs file stream RinexObsStream rin("ebre0300.02o"); // Loads precise ephemeris object with file data SP3EphemerisStore SP3EphList; SP3EphList.loadFile("igs11513.sp3"); // Sets nominal position of receiver Position nominalPos(4833520.3800, 41536.8300, 4147461.2800); // Vector from antenna ARP to L1 phase center [UEN](Leica AT504) Triple offsetL1(0.1093, -0.0003, 0.0003); // Units in meters // Vector from antenna ARP to L2 phase center [UEN](Leica AT504) Triple offsetL2(0.1282, 0.0011, 0.0011); // Units in meters // Vector from monument to antenna ARP [UEN] for this station Triple offsetARP(2.510, 0.300, 1.045); // Units in meters // Vector due to tidal effects (previously computed) Triple tides(0.121, 0.033, -0.016); // Units in meters gnssRinex gRin; CorrectObservables corr( SP3EphList, nominalPos, offsetL1, offsetL2, offsetARP, tides ); while(rin >> gRin) { gRin >> corr; }
The "CorrectObservables" object will visit every satellite in the GNSS data structure that is "gRin" and will correct the corresponding observables from the given effects.
When used with the ">>" operator, this class returns the same incoming data structure with the observables corrected. Be warned that if a given satellite does not have the observations required, it will be summarily deleted from the data structure.
Definition at line 110 of file CorrectObservables.hpp.
Public Member Functions | |
| CorrectObservables () | |
| Default constructor. | |
| CorrectObservables (XvtStore< SatID > &ephem) | |
| Common constructor. | |
| CorrectObservables (XvtStore< SatID > &ephem, const Position &stapos) | |
| Common constructor. | |
| CorrectObservables (XvtStore< SatID > &ephem, const Position &stapos, const Antenna &antennaObj) | |
| Common constructor. | |
| CorrectObservables (XvtStore< SatID > &ephem, const Position &stapos, const Triple &L1pc) | |
| Common constructor. | |
| CorrectObservables (XvtStore< SatID > &ephem, const Position &stapos, const Triple &L1pc, const Triple &L2pc) | |
| Common constructor. | |
| CorrectObservables (XvtStore< SatID > &ephem, const Position &stapos, const Triple &L1pc, const Triple &L2pc, const Triple &extra) | |
| Common constructor. | |
| CorrectObservables (XvtStore< SatID > &ephem, const Position &stapos, const Triple &L1pc, const Triple &L2pc, const Triple &monument, const Triple &extra) | |
| Common constructor. | |
| CorrectObservables (XvtStore< SatID > &ephem, const Position &stapos, const Triple &L1pc, const Triple &L2pc, const Triple &L5pc, const Triple &L6pc, const Triple &L7pc, const Triple &L8pc, const Triple &monument, const Triple &extra) | |
| Common constructor. | |
| virtual satTypeValueMap & | Process (const DayTime &time, satTypeValueMap &gData) throw (ProcessingException) |
| Returns a satTypeValueMap object, adding the new data generated when calling this object. | |
| virtual gnssSatTypeValue & | Process (gnssSatTypeValue &gData) throw (ProcessingException) |
| Returns a gnnsSatTypeValue object, adding the new data generated when calling this object. | |
| virtual gnssRinex & | Process (gnssRinex &gData) throw (ProcessingException) |
| Returns a gnnsRinex object, adding the new data generated when calling this object. | |
| virtual Position | getNominalPosition (void) const |
| Returns nominal position of receiver station. | |
| virtual CorrectObservables & | setNominalPosition (const Position &stapos) |
| Sets nominal position of receiver station. | |
| virtual XvtStore< SatID > * | getEphemeris (void) const |
| Returns a pointer to the satellite ephemeris object currently in use. | |
| virtual CorrectObservables & | setEphemeris (XvtStore< SatID > &ephem) |
| Sets satellite ephemeris object to be used. | |
| virtual Triple | getL1pc (void) const |
| Returns position of antenna L1 phase center with respect to ARP ([UEN]). | |
| virtual CorrectObservables & | setL1pc (const Triple &L1pc) |
| Sets position of antenna L1 phase center with respect to ARP ([UEN]). | |
| virtual Triple | getL2pc (void) const |
| Returns position of antenna L2 phase center with respect to ARP ([UEN]). | |
| virtual CorrectObservables & | setL2pc (const Triple &L2pc) |
| Sets position of antenna L2 phase center with respect to ARP ([UEN]). | |
| virtual Triple | getL5pc (void) const |
| Returns position of antenna L5 phase center with respect to ARP ([UEN]). | |
| virtual CorrectObservables & | setL5pc (const Triple &L5pc) |
| Sets position of antenna L5 phase center with respect to ARP ([UEN]). | |
| virtual Triple | getL6pc (void) const |
| Returns position of antenna L6 phase center with respect to ARP ([UEN]). | |
| virtual CorrectObservables & | setL6pc (const Triple &L6pc) |
| Sets position of antenna L6 phase center with respect to ARP ([UEN]). | |
| virtual Triple | getL7pc (void) const |
| Returns position of antenna L7 phase center with respect to ARP ([UEN]). | |
| virtual CorrectObservables & | setL7pc (const Triple &L7pc) |
| Sets position of antenna L7 phase center with respect to ARP ([UEN]). | |
| virtual Triple | getL8pc (void) const |
| Returns position of antenna L8 phase center with respect to ARP ([UEN]). | |
| virtual CorrectObservables & | setL8pc (const Triple &L8pc) |
| Sets position of antenna L8 phase center with respect to ARP ([UEN]). | |
| virtual Triple | getMonument (void) const |
| Returns vector from monument to ARP ([UEN]). | |
| virtual CorrectObservables & | setMonument (const Triple &monument) |
| Sets vector from monument to ARP ([UEN]). | |
| virtual Triple | getExtraBiases (void) const |
| Returns extra biases affecting monument, such as tidal effects ([UEN]). | |
| virtual CorrectObservables & | setExtraBiases (const Triple &extra) |
| Sets extra biases affecting monument, such as tidal effects ([UEN]). | |
| virtual Antenna | getAntenna (void) const |
| Returns the antenna object being used. | |
| virtual CorrectObservables & | setAntenna (const Antenna &antennaObj) |
| Sets the antenna object to be used. | |
| virtual bool | getUseAzimuth (void) const |
| Returns whether azimuth-dependent antenna patterns are being used. | |
| virtual CorrectObservables & | setUseAzimuth (bool useAzimuthPattern) |
| Sets whether azimuth-dependent antenna patterns will be used. | |
| virtual int | getIndex (void) const |
| Returns an index identifying this object. | |
| virtual std::string | getClassName (void) const |
| Returns a string identifying this object. | |
| virtual | ~CorrectObservables () |
| Destructor. | |
|
|
Default constructor.
Definition at line 115 of file CorrectObservables.hpp. |
|
|
Common constructor.
Definition at line 129 of file CorrectObservables.hpp. |
|
||||||||||||
|
Common constructor.
Definition at line 144 of file CorrectObservables.hpp. |
|
||||||||||||||||
|
Common constructor.
Definition at line 162 of file CorrectObservables.hpp. |
|
||||||||||||||||
|
Common constructor.
Definition at line 182 of file CorrectObservables.hpp. |
|
||||||||||||||||||||
|
Common constructor.
Definition at line 203 of file CorrectObservables.hpp. |
|
||||||||||||||||||||||||
|
Common constructor.
Definition at line 227 of file CorrectObservables.hpp. |
|
||||||||||||||||||||||||||||
|
Common constructor.
Definition at line 253 of file CorrectObservables.hpp. |
|
||||||||||||||||||||||||||||||||||||||||||||
|
Common constructor.
Definition at line 288 of file CorrectObservables.hpp. |
|
|
Destructor.
Definition at line 528 of file CorrectObservables.hpp. |
|
|
Returns the antenna object being used.
Definition at line 493 of file CorrectObservables.hpp. |
|
|
Returns a string identifying this object.
Implements ProcessingClass. Definition at line 48 of file CorrectObservables.cpp. |
|
|
Returns a pointer to the satellite ephemeris object currently in use.
Definition at line 353 of file CorrectObservables.hpp. |
|
|
Returns extra biases affecting monument, such as tidal effects ([UEN]).
Definition at line 478 of file CorrectObservables.hpp. |
|
|
Returns an index identifying this object.
Implements ProcessingClass. Definition at line 43 of file CorrectObservables.cpp. |
|
|
Returns position of antenna L1 phase center with respect to ARP ([UEN]).
Definition at line 368 of file CorrectObservables.hpp. |
|
|
Returns position of antenna L2 phase center with respect to ARP ([UEN]).
Definition at line 384 of file CorrectObservables.hpp. |
|
|
Returns position of antenna L5 phase center with respect to ARP ([UEN]).
Definition at line 400 of file CorrectObservables.hpp. |
|
|
Returns position of antenna L6 phase center with respect to ARP ([UEN]).
Definition at line 416 of file CorrectObservables.hpp. |
|
|
Returns position of antenna L7 phase center with respect to ARP ([UEN]).
Definition at line 432 of file CorrectObservables.hpp. |
|
|
Returns position of antenna L8 phase center with respect to ARP ([UEN]).
Definition at line 448 of file CorrectObservables.hpp. |
|
|
Returns vector from monument to ARP ([UEN]).
Definition at line 463 of file CorrectObservables.hpp. |
|
|
Returns nominal position of receiver station.
Definition at line 338 of file CorrectObservables.hpp. |
|
|
Returns whether azimuth-dependent antenna patterns are being used. When an Antenna is set, this parameter is true by default. Definition at line 507 of file CorrectObservables.hpp. |
|
|
Returns a gnnsRinex object, adding the new data generated when calling this object.
Implements ProcessingClass. Definition at line 332 of file CorrectObservables.hpp. |
|
|
Returns a gnnsSatTypeValue object, adding the new data generated when calling this object.
Implements ProcessingClass. Definition at line 322 of file CorrectObservables.hpp. |
|
||||||||||||
|
Returns a satTypeValueMap object, adding the new data generated when calling this object.
Definition at line 59 of file CorrectObservables.cpp. References Triple::dot(), GPSTK_THROW, Triple::R2(), Triple::R3(), gpstk::SatIDSet, Triple::theArray, and Triple::unitVector(). |
|
|
Sets the antenna object to be used.
Definition at line 501 of file CorrectObservables.hpp. |
|
|
Sets satellite ephemeris object to be used.
Definition at line 361 of file CorrectObservables.hpp. |
|
|
Sets extra biases affecting monument, such as tidal effects ([UEN]).
Definition at line 488 of file CorrectObservables.hpp. |
|
|
Sets position of antenna L1 phase center with respect to ARP ([UEN]).
Definition at line 377 of file CorrectObservables.hpp. |
|
|
Sets position of antenna L2 phase center with respect to ARP ([UEN]).
Definition at line 393 of file CorrectObservables.hpp. |
|
|
Sets position of antenna L5 phase center with respect to ARP ([UEN]).
Definition at line 409 of file CorrectObservables.hpp. |
|
|
Sets position of antenna L6 phase center with respect to ARP ([UEN]).
Definition at line 425 of file CorrectObservables.hpp. |
|
|
Sets position of antenna L7 phase center with respect to ARP ([UEN]).
Definition at line 441 of file CorrectObservables.hpp. |
|
|
Sets position of antenna L8 phase center with respect to ARP ([UEN]).
Definition at line 457 of file CorrectObservables.hpp. |
|
|
Sets vector from monument to ARP ([UEN]).
Definition at line 471 of file CorrectObservables.hpp. |
|
|
Sets nominal position of receiver station.
Definition at line 346 of file CorrectObservables.hpp. |
|
|
Sets whether azimuth-dependent antenna patterns will be used.
Definition at line 515 of file CorrectObservables.hpp. |
1.3.9.1