fr.cnes.sirius.patrius.utils
Class GalileoAlmanacParameters

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

public class GalileoAlmanacParameters
extends AlmanacParameter

This class is a simple container for galileo almanac parameters.

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

Field Summary
static int ROLL_OVER_WEEK_GALILEO
          Roll-over week number for Galileo parameters.
 
Constructor Summary
GalileoAlmanacParameters(double refDuration, int week, double m0, double e, double squareRootA, double omega0, double i0, double w0, double rateRa)
          Creates an instance of Galileo 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_GALILEO

public static final int ROLL_OVER_WEEK_GALILEO
Roll-over week number for Galileo parameters.

See Also:
Constant Field Values
Constructor Detail

GalileoAlmanacParameters

public GalileoAlmanacParameters(double refDuration,
                                int week,
                                double m0,
                                double e,
                                double squareRootA,
                                double omega0,
                                double i0,
                                double w0,
                                double rateRa)
Creates an instance of Galileo Almanac parameters

Parameters:
refDuration - time applicability of Galiléo almanac
week - week of the Galileo 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.