fr.cnes.sirius.patrius.utils
Class GPSAlmanacParameters

java.lang.Object
  extended by fr.cnes.sirius.patrius.utils.AlmanacParameter
      extended by fr.cnes.sirius.patrius.utils.GPSAlmanacParameters

public class GPSAlmanacParameters
extends AlmanacParameter

This class is a simple container for GPS almanac parameters.

Since:
3.2
Version:
$Id: GPSAlmanacParameters.java 16023 2016-05-11 07:12:57Z bignon $
Author:
galpint
Concurrency :
immutable

Field Summary
static int ROLL_OVER_WEEK_GPS
          Roll-over week number for GPS parameters.
 
Constructor Summary
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.
 
Method Summary
 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.
 
Methods inherited from class fr.cnes.sirius.patrius.utils.AlmanacParameter
getEccentricity, getI, getMeanAnomalyInit, getOmegaInit, getOmegaRate, getSqrtA, gettRef, getW, getWeekRef
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ROLL_OVER_WEEK_GPS

public static final int ROLL_OVER_WEEK_GPS
Roll-over week number for GPS parameters.

See Also:
Constant Field Values
Constructor Detail

GPSAlmanacParameters

public 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.

Parameters:
refDuration - time applicability of GPS almanac
week - week of the GPS almanac
m0 - Initial Mean anomaly
e - Eccentricity
squareRootA - Semi major axis square root
omega0 - Initial Right ascencion
i0 - Orbital inclination
w0 - Argument of perigee
rateRa - Rate of right ascension
Method Detail

getRolloverWeeks

public int getRolloverWeeks()
Description copied from class: AlmanacParameter
Returns almanach unambiguous week number. Example: GPS week is coded over 10 Bytes => 1024 possibles weeks. Hence 1024 is returned.

Specified by:
getRolloverWeeks in class AlmanacParameter
Returns:
the roll-over week number

getDate

public AbsoluteDate getDate(int weekNumber,
                            double milliInWeek)
Description copied from class: AlmanacParameter
Returns GNSS date given a week number and second in the week.

Specified by:
getDate in class AlmanacParameter
Parameters:
weekNumber - week number taking roll-over into account
milliInWeek - millisecond in week
Returns:
GNSS date given a week number and milliseconds in the week


Copyright © 2016 CNES. All Rights Reserved.