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


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:
gnssRinex gRin; CorrectCodeBiases corr; coor.setDCBFile("P1P21001_ALL.DCB", "P1C11001.DCB"); 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 75 of file CorrectCodeBiases.hpp.
Public Member Functions | |
| CorrectCodeBiases () | |
| Default constructor. | |
| virtual | ~CorrectCodeBiases () |
| Default deconstructor. | |
| virtual CorrectCodeBiases & | setDCBFile (const string &fileP1P2, const string &fileP1C1) |
| Sets name of file containing DCBs data. | |
| virtual CorrectCodeBiases & | setUsingC1 (const bool &useC1) |
| Set if C1 has been used as P1 to calculate some combinations. | |
| virtual CorrectCodeBiases & | setReceiver (const string &receiver) |
| Set receiver name. | |
| 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 int | getIndex () const |
| Returns an index identifying this object. | |
| virtual std::string | getClassName () const |
| Returns a string identifying this object. | |
Protected Member Functions | |
| virtual double | getDCBCorrection (const string &receiver, const SatID &sat, const TypeID &type, const bool &useC1=false) |
| get DCB(Differental Code Biases) corrections | |
Protected Attributes | |
| DCBDataReader | dcbP1P2 |
| DCBDataReader | dcbP1C1 |
| bool | usingC1 |
| if C1 is used as P1 to calculate some combination | |
| std::string | receiverName |
| receiver name | |
| bool | crossCorrelationReceiver |
| If it's a cross-correlation receiver, set it true. | |
|
|
Default constructor.
Definition at line 76 of file CorrectCodeBiases.cpp. |
|
|
Default deconstructor.
Definition at line 83 of file CorrectCodeBiases.cpp. References CorrectCodeBiases::dcbP1C1, and CorrectCodeBiases::dcbP1P2. |
|
|
Returns a string identifying this object.
Implements ProcessingClass. Definition at line 72 of file CorrectCodeBiases.cpp. |
|
||||||||||||||||||||
|
get DCB(Differental Code Biases) corrections
Definition at line 165 of file CorrectCodeBiases.cpp. References gpstk::C_GPS_M, CorrectCodeBiases::dcbP1C1, CorrectCodeBiases::dcbP1P2, and DCBDataReader::getDCB(). |
|
|
Returns an index identifying this object.
Implements ProcessingClass. Definition at line 67 of file CorrectCodeBiases.cpp. |
|
|
Returns a gnnsRinex object, adding the new data generated when calling this object.
Implements ProcessingClass. Definition at line 132 of file CorrectCodeBiases.hpp. |
|
|
Returns a gnnsSatTypeValue object, adding the new data generated when calling this object.
Implements ProcessingClass. Definition at line 122 of file CorrectCodeBiases.hpp. |
|
||||||||||||
|
Returns a satTypeValueMap object, adding the new data generated when calling this object.
Definition at line 109 of file CorrectCodeBiases.cpp. References GPSTK_THROW, and gpstk::SatIDSet. |
|
||||||||||||
|
Sets name of file containing DCBs data.
Definition at line 94 of file CorrectCodeBiases.cpp. References CorrectCodeBiases::dcbP1C1, CorrectCodeBiases::dcbP1P2, and DCBDataReader::open(). |
|
|
Set receiver name.
Definition at line 102 of file CorrectCodeBiases.hpp. |
|
|
Set if C1 has been used as P1 to calculate some combinations.
Definition at line 95 of file CorrectCodeBiases.hpp. |
|
|
If it's a cross-correlation receiver, set it true.
Definition at line 163 of file CorrectCodeBiases.hpp. |
|
|
Definition at line 153 of file CorrectCodeBiases.hpp. Referenced by CorrectCodeBiases::getDCBCorrection(), CorrectCodeBiases::setDCBFile(), and CorrectCodeBiases::~CorrectCodeBiases(). |
|
|
Definition at line 152 of file CorrectCodeBiases.hpp. Referenced by CorrectCodeBiases::getDCBCorrection(), CorrectCodeBiases::setDCBFile(), and CorrectCodeBiases::~CorrectCodeBiases(). |
|
|
receiver name
Definition at line 159 of file CorrectCodeBiases.hpp. |
|
|
if C1 is used as P1 to calculate some combination
Definition at line 156 of file CorrectCodeBiases.hpp. |
1.3.9.1