Functions
gnsstk::ord Namespace Reference

Functions

gnsstk::Xvt getSvXvt (const gnsstk::SatID &satId, const gnsstk::CommonTime &time, NavLibrary &ephemeris)
 
double IonosphereFreeRange (const std::vector< double > &frequencies, const std::vector< double > &pseudoranges)
 
double IonosphereModelCorrection (const gnsstk::IonoModelStore &ionoModel, const gnsstk::CommonTime &time, CarrierBand band, const gnsstk::Position &rxLoc, const gnsstk::Xvt &svXvt)
 
double RawRange1 (const Position &rxLoc, const SatID &satId, const CommonTime &timeReceived, NavLibrary &ephemeris, Xvt &svXvt)
 
double RawRange2 (double pseudorange, const Position &rxLoc, const SatID &satId, const CommonTime &time, NavLibrary &ephemeris, Xvt &svXvt)
 
double RawRange3 (double pseudorange, const gnsstk::Position &rxLoc, const gnsstk::SatID &satId, const gnsstk::CommonTime &time, NavLibrary &ephemeris, gnsstk::Xvt &svXvt)
 
double RawRange4 (const gnsstk::Position &rxLoc, const gnsstk::SatID &satId, const gnsstk::CommonTime &time, NavLibrary &ephemeris, gnsstk::Xvt &svXvt)
 
double SvClockBiasCorrection (const gnsstk::Xvt &svXvt)
 
double SvRelativityCorrection (gnsstk::Xvt &svXvt)
 
double TroposphereCorrection (const gnsstk::TropModel &tropModel, const gnsstk::Position &rxLoc, const gnsstk::Xvt &svXvt)
 

Function Documentation

◆ getSvXvt()

gnsstk::Xvt gnsstk::ord::getSvXvt ( const gnsstk::SatID sat_id,
const gnsstk::CommonTime time,
NavLibrary ephemeris 
)

Given a satellite id, a time, and an ephemeris store, retrieves the satellite location/velocity in xvt instance. This is a relatively thin wrapper for NavLibrary.getXvt() to bring the method into the same namespace as the other range calculations.

Parameters
sat_idIdentifier for the satellite
timeThe time of interest.
ephemerisThe ephemeris to query against.
Returns
Xvt instance containing satellite location/velocity
Todo:
getXvt was expected to throw an exception on failure in the past. This assert more or less mimics that behavior. Refactoring is needed.

Definition at line 107 of file ord.cpp.

◆ IonosphereFreeRange()

double gnsstk::ord::IonosphereFreeRange ( const std::vector< double > &  frequencies,
const std::vector< double > &  pseudoranges 
)

Given a set of frequency and pseudorange pairs, attempts to compensate for ionospheric effects. Vectors are used because they carry a size parameter, another collection type may be more appropriate.

Parameters
frequenciesSignal frequencies.
pseudorangesPseudorange values for frequencies.
Returns
Corrected pseudorange in meters

Definition at line 60 of file ord.cpp.

◆ IonosphereModelCorrection()

double gnsstk::ord::IonosphereModelCorrection ( const gnsstk::IonoModelStore ionoModel,
const gnsstk::CommonTime time,
CarrierBand  band,
const gnsstk::Position rxLoc,
const gnsstk::Xvt svXvt 
)

Given an ionosphere model, and locations of receiver and satellite, range correction due to ionospheric effects.

Parameters
ionoModelClass that encapsulates ionospheric models
timeThe time of interest.
frequencyFrequency of interest - see note above.
rxLocThe location of the receiver.
svXvtThe location of the satellite at time of interest.
Returns
Range correction (delta) in meters

Definition at line 94 of file ord.cpp.

◆ RawRange1()

double gnsstk::ord::RawRange1 ( const gnsstk::Position rx_loc,
const gnsstk::SatID sat_id,
const gnsstk::CommonTime time,
NavLibrary ephemeris,
gnsstk::Xvt sv_xvt 
)

Calculate the raw range at RECEIVE time per RECEIVER clock.

Deprecated:
This function is deprecated as of the December 2022 release Use RawRange::fromReceive() instead
See also
CorrectedEphemerisRange::ComputeAtReceiveTime()
Parameters
rx_locThe location of the receiver.
sat_idIdentifier for the satellite
timeThe nominal receive time.
ephemerisThe ephemeris to query against.
sv_xvtFinal SV Position/Velocity returned here.
Returns
Range in meters

Definition at line 117 of file ord.cpp.

◆ RawRange2()

double gnsstk::ord::RawRange2 ( double  pseudorange,
const gnsstk::Position rx_loc,
const gnsstk::SatID sat_id,
const gnsstk::CommonTime time,
NavLibrary ephemeris,
gnsstk::Xvt sv_xvt 
)

Calculate the raw range at TRANSMIT time per the RECEIVER clock.

Deprecated:
This function is deprecated as of the December 2022 release Use RawRange::fromNominalReceiveWithObs() instead
See also
CorrectedEphemerisRange::ComputeAtTransmitTime(const CommonTime&, const double&, const Position&, const SatID, NavLibrary&, NavSearchOrder, SVHealth, NavValidityType)
Parameters
pseudorangePseudorange in meters to seed the calculation.
rx_locThe location of the receiver.
sat_idIdentifier for the satellite
timeThe nominal receive time.
ephemerisThe ephemeris to query against.
sv_xvtFinal SV Position/Velocity returned here.
Returns
Range in meters

Definition at line 136 of file ord.cpp.

◆ RawRange3()

double gnsstk::ord::RawRange3 ( double  pseudorange,
const gnsstk::Position rx_loc,
const gnsstk::SatID sat_id,
const gnsstk::CommonTime time,
NavLibrary ephemeris,
gnsstk::Xvt sv_xvt 
)

Calculate the raw range at TRANSMIT time per the SATELLITE clock

Deprecated:
This function is deprecated as of the December 2022 release Use RawRange::fromSvTransmitWithObs() instead
See also
CorrectedEphemerisRange::ComputeAtTransmitSvTime()
Parameters
pseudorangePseudorange in meters to seed the calculation.
rx_locThe location of the receiver.
sat_idIdentifier for the satellite
timeThe transmit time reported by satellite.
ephemerisThe ephemeris to query against.
sv_xvtFinal SV Position/Velocity returned here.
Returns
Range in meters

Definition at line 151 of file ord.cpp.

◆ RawRange4()

double gnsstk::ord::RawRange4 ( const gnsstk::Position rx_loc,
const gnsstk::SatID sat_id,
const gnsstk::CommonTime time,
NavLibrary ephemeris,
gnsstk::Xvt sv_xvt 
)

Calculate the raw range at TRANSMIT time per RECEIVER clock, without seeding the pseudorange.

Deprecated:
This function is deprecated as of the December 2022 release Use RawRange::fromNominalReceive() instead
See also
CorrectedEphemerisRange::ComputeAtTransmitTime(const CommonTime& trNom, const Position&, const SatID, NavLibrary&, NavSearchOrder, SVHealth, NavValidityType)
Parameters
rx_locThe location of the receiver.
sat_idIdentifier for the satellite
timeThe nominal receive time.
ephemerisThe ephemeris to query against.
sv_xvtFinal SV Position/Velocity returned here.
Returns
Range in meters

Definition at line 165 of file ord.cpp.

◆ SvClockBiasCorrection()

double gnsstk::ord::SvClockBiasCorrection ( const gnsstk::Xvt svXvt)

Calculate the range delta due to clock bias. Note: Most of the work is actually done by the Xvt object.

Parameters
svXvtSatellite location/velocity
Returns
Range correction (delta) in meters

Definition at line 204 of file ord.cpp.

◆ SvRelativityCorrection()

double gnsstk::ord::SvRelativityCorrection ( gnsstk::Xvt svXvt)
Parameters
svXvtSatellite location/velocity
Returns
Range correction (delta) in meters

Definition at line 210 of file ord.cpp.

◆ TroposphereCorrection()

double gnsstk::ord::TroposphereCorrection ( const gnsstk::TropModel trop_model,
const gnsstk::Position rx_loc,
const gnsstk::Xvt sv_xvt 
)

Given a troposphere model, and locations of receiver and satellite, calculates tropospheric effects.

Parameters
trop_modelClass that encapsulates troposphere models
rx_locThe location of the receiver.
sv_xvtThe location of the satellite at time of interest.
Returns
Range correction (delta) in meters

Definition at line 215 of file ord.cpp.



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