Class Arc encapsulates information for both break points in the data, due to gaps, slips and the initial point, and also for the segment of the data from this break to the next break. It includes start index, number of good and total number of points, stats and a mark giving type of segment and history ("GFslip", "outlier", "bad", "WLslipfixed", etc). There will always be an Arc with index==0 and type BEG to begin the data. Note that the only thing connecting the Arc to the data is the index; npts and ngood are computed using the map<index,Arc> Arcs and recomputeArcs()
#include <gdc.hpp>
Classes | |
class | Arcinfo |
little class used to store information about one data array within this Arc More... | |
Public Member Functions | |
Arc () | |
empty c'tor More... | |
Arc (const Arc &right) | |
copy constructor More... | |
Arc (const FilterHit< double > &seg) | |
create an Arc from a FilterHit (filters returns a vector of FilterHit) More... | |
Arc (int ind, unsigned n, unsigned ng, unsigned m) | |
c'tor with minimum info More... | |
std::string | asString (const int prec=3) const |
std::string | brkString () const |
string giving brief summary of break info e.g. WLslip/GFslip/WLfix 445 pts 438 good More... | |
void | init () |
initialize (clear or empty) an Arc More... | |
std::string | markString () const |
Arc & | operator= (const Arc &right) |
operator= More... | |
Static Public Member Functions | |
static std::string | markString (const unsigned mark) |
convert one mark into a readable string More... | |
Public Attributes | |
Arcinfo | GFinfo |
int | index |
index in data arrays of beginning ("break") More... | |
unsigned | mark |
bitmap identifying actions that created or modified Arc More... | |
std::string | message |
readable description of whatever More... | |
unsigned | ngood |
number of good data points in the segment More... | |
unsigned | npts |
number of points in the segment -> last index More... | |
Arcinfo | WLinfo |
Arcinfo for each datatype. More... | |
Static Public Attributes | |
static const unsigned | BEG = 1 |
mark bitmap values for characterizing Arc: BEG, slips, fixes, etc; see init() More... | |
static const unsigned | GFFIX = 16 |
16 slip fixed on GF More... | |
static const unsigned | GFMARK = 64 |
32 slip suspected but not found on GF More... | |
static const unsigned | GFSLIP = 4 |
4 slip found on GF More... | |
static const std::map< unsigned, std::string > | markStr = Arc::create_mark_string_map() |
strings describing values used for Arc::mark More... | |
static const unsigned | REJ = 128 |
128 segment of bad data - returnMessage() only More... | |
static const unsigned | WLFIX = 8 |
8 slip fixed on WL More... | |
static const unsigned | WLMARK = 32 |
64 slip suspected but not found on WL More... | |
static const unsigned | WLSLIP = 2 |
2 slip found on WL More... | |
Static Private Member Functions | |
static std::map< unsigned, std::string > | create_mark_string_map () |
helper routine to initialize markStr map More... | |
Friends | |
class | gdc |
|
inline |
|
inline |
|
inline |
|
inlinestaticprivate |
|
inline |
|
inline |
|
inlinestatic |
|
static |
|
static |
|
static |
|
static |
int gnsstk::Arc::index |
unsigned gnsstk::Arc::mark |
|
static |
std::string gnsstk::Arc::message |
unsigned gnsstk::Arc::ngood |
unsigned gnsstk::Arc::npts |
|
static |
|
static |
|
static |
|
static |