fr.cnes.sirius.patrius.utils
Class AlmanacParameter

java.lang.Object
  extended by fr.cnes.sirius.patrius.utils.AlmanacParameter
Direct Known Subclasses:
GalileoAlmanacParameters, GPSAlmanacParameters

public abstract class AlmanacParameter
extends Object

This class is a simple container for generic almanac parameters.

Since:
3.1
Version:
$Id: AlmanacParameter.java 16023 2016-05-11 07:12:57Z bignon $
Author:
chabaudp
Concurrency :
immutable

Constructor Summary
AlmanacParameter(double refDuration, int week, double m0, double e, double squareRootA, double omega0, double i0, double w0, double rateRa)
          Creates an instance of AlmanacParameter
 
Method Summary
abstract  AbsoluteDate getDate(int weekNumber, double milliInWeek)
          Returns GNSS date given a week number and second in the week.
 double getEccentricity()
           
 double getI()
           
 double getMeanAnomalyInit()
           
 double getOmegaInit()
           
 double getOmegaRate()
           
abstract  int getRolloverWeeks()
          Returns almanach unambiguous week number.
 double getSqrtA()
           
 double gettRef()
           
 double getW()
           
 int getWeekRef()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AlmanacParameter

public AlmanacParameter(double refDuration,
                        int week,
                        double m0,
                        double e,
                        double squareRootA,
                        double omega0,
                        double i0,
                        double w0,
                        double rateRa)
Creates an instance of AlmanacParameter

Parameters:
refDuration - time applicability of the almanac
week - week of the 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
Since:
3.1
Method Detail

getMeanAnomalyInit

public double getMeanAnomalyInit()
Returns:
the initial mean anomaly

getEccentricity

public double getEccentricity()
Returns:
the eccentricity

getSqrtA

public double getSqrtA()
Returns:
the square root of the semi-major axis

getOmegaInit

public double getOmegaInit()
Returns:
the initial right ascension of ascending node

getI

public double getI()
Returns:
the orbital inclination

getW

public double getW()
Returns:
the Argument of perigee

getOmegaRate

public double getOmegaRate()
Returns:
the Rate of right ascension

getWeekRef

public int getWeekRef()
Returns:
the week number

gettRef

public double gettRef()
Returns:
the number of seconds in the week

getRolloverWeeks

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

Returns:
the roll-over week number

getDate

public abstract AbsoluteDate getDate(int weekNumber,
                                     double milliInWeek)
Returns GNSS date given a week number and second in the week.

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.