Public Member Functions | Private Attributes | Friends | List of all members
gnsstk::LinearClockModel Class Reference

Detailed Description

Definition at line 62 of file LinearClockModel.hpp.

#include <LinearClockModel.hpp>

Inheritance diagram for gnsstk::LinearClockModel:
Inheritance graph
[legend]

Public Member Functions

virtual void addEpoch (const ORDEpoch &oe)
 
void dump (std::ostream &s, short detail=1) const noexcept
 
virtual double getOffset (const gnsstk::CommonTime &t) const noexcept
 
virtual bool isOffsetValid (const gnsstk::CommonTime &t) const noexcept
 
 LinearClockModel (double sigma=2, double elmask=0, SvMode mode=ALWAYS)
 
void reset () noexcept
 Reset the accumulated statistics on the clock. More...
 
- Public Member Functions inherited from gnsstk::ObsClockModel
double getElevationMask () const noexcept
 
double getSigmaMultiplier () const noexcept
 
SvMode getSvMode (const SatID &svid) const
 
const SvModeMapgetSvModeMap () const noexcept
 
SvStatus getSvStatus (const SatID &svid) const
 
const SvStatusMapgetSvStatusMap () const noexcept
 
bool getUseWonkyData () const noexcept
 
 ObsClockModel (double sigma=2, double elmask=0, SvMode mode=ALWAYS)
 
ObsClockModelsetElevationMask (double right) noexcept
 
ObsClockModelsetSigmaMultiplier (double right) noexcept
 
ObsClockModelsetSvMode (const SatID &svid, const SvMode &mode) noexcept
 
ObsClockModelsetSvMode (const SvMode &mode) noexcept
 
ObsClockModelsetSvModeMap (const SvModeMap &right) noexcept
 
ObsClockModelsetUseWonkyData (bool right) noexcept
 
Stats< double > simpleOrdClock (const ORDEpoch &oe)
 
- Public Member Functions inherited from gnsstk::ClockModel
 ClockModel () noexcept
 

Private Attributes

gnsstk::CommonTime baseTime
 
gnsstk::TwoSampleStats< double > clockModel
 
std::multimap< double, double > clockObs
 
gnsstk::CommonTime endTime
 
std::map< gnsstk::CommonTime, SvStatusMapprnStatus
 
gnsstk::CommonTime startTime
 
unsigned long tossCount
 

Friends

std::ostream & operator<< (std::ostream &s, const LinearClockModel &r)
 

Additional Inherited Members

- Public Types inherited from gnsstk::ObsClockModel
enum  SvMode { IGNORE, HEALTHY, ALWAYS }
 
typedef std::map< SatID, SvModeSvModeMap
 defines a store for each SV's SvMode More...
 
enum  SvStatus {
  USED, MANUAL, SVHEALTH, ELEVATION,
  WONKY, SIGMA
}
 
typedef std::map< SatID, SvStatusSvStatusMap
 defines a store for each SV's SvStatus More...
 
- Protected Attributes inherited from gnsstk::ObsClockModel
double elvmask
 elevation mask angle for ORD stripping More...
 
SvModeMap modes
 map of modes to use ORDs in bias computation More...
 
double sigmam
 sigma multiple value for ORD stripping More...
 
SvStatusMap status
 map of ORD usage in bias computation More...
 
bool useWonkyData
 set to use ords that are flagged wonky More...
 

Constructor & Destructor Documentation

◆ LinearClockModel()

gnsstk::LinearClockModel::LinearClockModel ( double  sigma = 2,
double  elmask = 0,
SvMode  mode = ALWAYS 
)
inline

Definition at line 65 of file LinearClockModel.hpp.

Member Function Documentation

◆ addEpoch()

void gnsstk::LinearClockModel::addEpoch ( const ORDEpoch oe)
virtual

Add in the given ord to the clock model.

Exceptions
InvalidValue
InvalidValue

Implements gnsstk::ObsClockModel.

Definition at line 67 of file LinearClockModel.cpp.

◆ dump()

void gnsstk::LinearClockModel::dump ( std::ostream &  s,
short  detail = 1 
) const
virtualnoexcept

Reimplemented from gnsstk::ObsClockModel.

Definition at line 144 of file LinearClockModel.cpp.

◆ getOffset()

virtual double gnsstk::LinearClockModel::getOffset ( const gnsstk::CommonTime t) const
inlinevirtualnoexcept

Implements gnsstk::ClockModel.

Definition at line 68 of file LinearClockModel.hpp.

◆ isOffsetValid()

virtual bool gnsstk::LinearClockModel::isOffsetValid ( const gnsstk::CommonTime t) const
inlinevirtualnoexcept

Implements gnsstk::ClockModel.

Definition at line 77 of file LinearClockModel.hpp.

◆ reset()

void gnsstk::LinearClockModel::reset ( )
noexcept

Reset the accumulated statistics on the clock.

Definition at line 54 of file LinearClockModel.cpp.

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  s,
const LinearClockModel r 
)
friend

Definition at line 90 of file LinearClockModel.hpp.

Member Data Documentation

◆ baseTime

gnsstk::CommonTime gnsstk::LinearClockModel::baseTime
private

Definition at line 97 of file LinearClockModel.hpp.

◆ clockModel

gnsstk::TwoSampleStats<double> gnsstk::LinearClockModel::clockModel
private

Definition at line 91 of file LinearClockModel.hpp.

◆ clockObs

std::multimap<double,double> gnsstk::LinearClockModel::clockObs
private

Definition at line 107 of file LinearClockModel.hpp.

◆ endTime

gnsstk::CommonTime gnsstk::LinearClockModel::endTime
private

Definition at line 97 of file LinearClockModel.hpp.

◆ prnStatus

std::map<gnsstk::CommonTime, SvStatusMap> gnsstk::LinearClockModel::prnStatus
private

Definition at line 103 of file LinearClockModel.hpp.

◆ startTime

gnsstk::CommonTime gnsstk::LinearClockModel::startTime
private

Definition at line 97 of file LinearClockModel.hpp.

◆ tossCount

unsigned long gnsstk::LinearClockModel::tossCount
private

Definition at line 99 of file LinearClockModel.hpp.


The documentation for this class was generated from the following files:


gnsstk
Author(s):
autogenerated on Wed Oct 25 2023 02:40:45