public class GPSAlmanacParameters extends AlmanacParameter
This class is a simple container for GPS almanac parameters.
Modifier and Type | Field and Description |
---|---|
static int |
ROLL_OVER_WEEK_GPS
Roll-over week number for GPS parameters.
|
Constructor and Description |
---|
GPSAlmanacParameters(double refDuration,
int week,
double m0,
double e,
double squareRootA,
double omega0,
double i0,
double w0,
double rateRa)
Creates an instance of GPS Almanac parameters.
|
Modifier and Type | Method and Description |
---|---|
AbsoluteDate |
getDate(int weekNumber,
double milliInWeek)
Returns GNSS date given a week number and second in the week.
|
int |
getRolloverWeeks()
Returns almanach unambiguous week number.
|
getEccentricity, getI, getMeanAnomalyInit, getOmegaInit, getOmegaRate, getSqrtA, gettRef, getW, getWeekRef
public static final int ROLL_OVER_WEEK_GPS
public GPSAlmanacParameters(double refDuration, int week, double m0, double e, double squareRootA, double omega0, double i0, double w0, double rateRa)
refDuration
- time applicability of GPS almanacweek
- week of the GPS almanacm0
- Initial Mean anomalye
- EccentricitysquareRootA
- Semi major axis square rootomega0
- Initial Right ascencioni0
- Orbital inclinationw0
- Argument of perigeerateRa
- Rate of right ascensionpublic int getRolloverWeeks()
getRolloverWeeks
in class AlmanacParameter
public AbsoluteDate getDate(int weekNumber, double milliInWeek)
getDate
in class AlmanacParameter
weekNumber
- week number taking roll-over into accountmilliInWeek
- millisecond in weekCopyright © 2021 CNES. All rights reserved.