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


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:
RinexObsStream rin("ebre0300.02o"); gnssRinex gRin; ComputeLI getLI; LICSDetector markCSLI; while(rin >> gRin) { gRin >> getLI >> markCSLI; }
The "LICSDetector" object will visit every satellite in the GNSS data structure that is "gRin" and will decide if a cycle slip has happened in the given observable.
The algorithm will use LI observables, and the LLI1 and LLI2 indexes. The result (a 1 if a cycle slip is found, 0 otherwise) will be stored in the data structure both as the CSL1 and CSL2 indexes.
This algorithm will use some values as maximum interval of time between two successive epochs, minimum threshold to declare cycle slip and LI combination limit drift.
The default values are usually fine, but you may change them with the appropriate methods. This is of special importance for the maximum interval time, that should be adjusted for your sampling rate. It is 61 seconds by default, which is appropriate for 30 seconds per sample RINEX observation files.
When used with the ">>" operator, this class returns the same incoming data structure with the cycle slip indexes inserted along their corresponding satellites. Be warned that if a given satellite does not have the observations required, it will be summarily deleted from the data structure.
Be aware that some combinations of cycle slips in L1 and L2 may result in a false negative when using a cycle slip detector based on LI. Therefore, to be on the safe side you should complement this with another kind of detector, such as one based on the Melbourne-Wubbena combination.
Definition at line 103 of file LICSDetector.hpp.
Public Member Functions | |
| LICSDetector () | |
| Default constructor, setting default parameters. | |
| LICSDetector (const double &mThr, const double &drift, const double &dtMax=61.0, const bool &use=true) | |
| Common constructor. | |
| virtual satTypeValueMap & | Process (const DayTime &epoch, satTypeValueMap &gData, const short &epochflag=0) throw (ProcessingException) |
| Returns a satTypeValueMap object, adding the new data generated when calling this object. | |
| virtual double | getDeltaTMax () const |
| Method to get the maximum interval of time allowed between two successive epochs, in seconds. | |
| virtual LICSDetector & | setDeltaTMax (const double &maxDelta) |
| Method to set the maximum interval of time allowed between two successive epochs. | |
| virtual double | getMinThreshold () const |
| Method to get the minimum threshold for cycle slip detection, in meters. | |
| virtual LICSDetector & | setMinThreshold (const double &mThr) |
| Method to set the minimum threshold for cycle slip detection, in meters. | |
| virtual double | getLIDrift () const |
| Method to get the LI combination limit drift, in meters/second. | |
| virtual LICSDetector & | setLIDrift (const double &drift) |
| Method to set the LI combination limit drift, in meters/second. | |
| virtual bool | getUseLLI () const |
| Method to know if the LLI check is enabled or disabled. | |
| virtual LICSDetector & | setUseLLI (const bool &use) |
| Method to set whether the LLI indexes will be used as an aid or not. | |
| 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 (void) const |
| Returns an index identifying this object. | |
| virtual std::string | getClassName (void) const |
| Returns a string identifying this object. | |
| virtual | ~LICSDetector () |
| Destructor. | |
|
|
Default constructor, setting default parameters.
Definition at line 108 of file LICSDetector.hpp. |
|
||||||||||||||||||||
|
Common constructor.
Definition at line 58 of file LICSDetector.cpp. References LICSDetector::setDeltaTMax(), LICSDetector::setLIDrift(), and LICSDetector::setMinThreshold(). |
|
|
Destructor.
Definition at line 227 of file LICSDetector.hpp. |
|
|
Returns a string identifying this object.
Implements ProcessingClass. Definition at line 47 of file LICSDetector.cpp. |
|
|
Method to get the maximum interval of time allowed between two successive epochs, in seconds.
Definition at line 145 of file LICSDetector.hpp. |
|
|
Returns an index identifying this object.
Implements ProcessingClass. Definition at line 42 of file LICSDetector.cpp. |
|
|
Method to get the LI combination limit drift, in meters/second.
Definition at line 174 of file LICSDetector.hpp. |
|
|
Method to get the minimum threshold for cycle slip detection, in meters.
Definition at line 160 of file LICSDetector.hpp. |
|
|
Method to know if the LLI check is enabled or disabled.
Definition at line 186 of file LICSDetector.hpp. |
|
|
Returns a gnnsRinex object, adding the new data generated when calling this object.
Implements ProcessingClass. Definition at line 254 of file LICSDetector.cpp. References GPSTK_THROW. |
|
|
Returns a gnnsSatTypeValue object, adding the new data generated when calling this object.
Implements ProcessingClass. Definition at line 204 of file LICSDetector.hpp. |
|
||||||||||||||||
|
Returns a satTypeValueMap object, adding the new data generated when calling this object.
Definition at line 79 of file LICSDetector.cpp. References GPSTK_THROW, and gpstk::SatIDSet. |
|
|
Method to set the maximum interval of time allowed between two successive epochs.
Definition at line 185 of file LICSDetector.cpp. Referenced by LICSDetector::LICSDetector(). |
|
|
Method to set the LI combination limit drift, in meters/second.
Definition at line 231 of file LICSDetector.cpp. Referenced by LICSDetector::LICSDetector(). |
|
|
Method to set the minimum threshold for cycle slip detection, in meters.
Definition at line 209 of file LICSDetector.cpp. Referenced by LICSDetector::LICSDetector(). |
|
|
Method to set whether the LLI indexes will be used as an aid or not.
Definition at line 195 of file LICSDetector.hpp. |
1.3.9.1