Class FieldGPSAlmanac<T extends CalculusFieldElement<T>>
java.lang.Object
org.orekit.propagation.analytical.gnss.data.FieldGnssOrbitalElements<T,GPSAlmanac>
org.orekit.propagation.analytical.gnss.data.FieldGPSAlmanac<T>
- Type Parameters:
T- type of the field elements
- All Implemented Interfaces:
FieldOrbitalParameters<T>,FieldGNSSClockElements<T>,FieldTimeStamped<T>
public class FieldGPSAlmanac<T extends CalculusFieldElement<T>>
extends FieldGnssOrbitalElements<T,GPSAlmanac>
This class holds a GPS almanac as read from SEM or YUMA files.
Depending on the source (SEM or YUMA), some fields may be filled in or not. An almanac read from a YUMA file doesn't hold SVN number, average URA and satellite configuration.
- Since:
- 13.0
- Author:
- Luc Maisonobe
-
Constructor Summary
ConstructorsConstructorDescriptionFieldGPSAlmanac(double angularVelocity, int weeksInCycle, TimeScales timeScales, String type, int prn, FieldGNSSDate<T> toe, FieldKeplerianOrbit<T> orbit, T[] nonKeplerian, T tgd, FieldGNSSDate<T> toc, String source, int svn, int health, int ura, int satConfiguration) Creates a new instance. -
Method Summary
Modifier and TypeMethodDescriptionintGets the Health status.intGets the satellite configuration.Gets the source of this GPS almanac.intgetSVN()Gets the satellite "SVN" reference number.intgetURA()Gets the average URA number.<U extends CalculusFieldElement<U>>
FieldGPSAlmanac<U> toField(FieldKeplerianOrbit<U> orbit, U[] nonKeplerian, Function<T, U> converter) Create another field version of the instance.Create a non-field version of the instance.Methods inherited from class org.orekit.propagation.analytical.gnss.data.FieldGnssOrbitalElements
getADot, getAf0, getAf1, getAf2, getAngularVelocity, getCic, getCis, getCrc, getCrs, getCuc, getCus, getCycleDuration, getDate, getDeltaN0, getDeltaN0Dot, getIDot, getOmegaDot, getOrbit, getPrn, getTgd, getTimeOfClock, getTimeOfEphemeris, getTimeScales, getType, getWeeksInCycle, isCivilianMessage, toArrayMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.orekit.time.FieldTimeStamped
durationFrom, durationFrom
-
Constructor Details
-
FieldGPSAlmanac
public FieldGPSAlmanac(double angularVelocity, int weeksInCycle, TimeScales timeScales, String type, int prn, FieldGNSSDate<T> toe, FieldKeplerianOrbit<T> orbit, T[] nonKeplerian, T tgd, FieldGNSSDate<T> toc, String source, int svn, int health, int ura, int satConfiguration) Creates a new instance.- Parameters:
angularVelocity- mean angular velocity of the Earth for the GNSS modelweeksInCycle- number of weeks in the GNSS cycletimeScales- known time scalestype- type (null if not a navigation message)prn- PRN number of the satellitetoe- time of ephemeris (must be consistent withorbit)orbit- Keplerian orbit in Earth-frozen framenonKeplerian- 15 non-Keplerian parameters (in the order given byNonKeplerianDriversFactorytgd- group delay differential TGD for L1-L2 correctiontoc- time of clocksource- source of the almanacsvn- SVN numberhealth- health statusura- average URAsatConfiguration- satellite configuration- Since:
- 14.0
-
-
Method Details
-
toNonField
Create a non-field version of the instance.- Specified by:
toNonFieldin classFieldGnssOrbitalElements<T extends CalculusFieldElement<T>,GPSAlmanac> - Returns:
- non-field version of the instance
-
toField
public <U extends CalculusFieldElement<U>> FieldGPSAlmanac<U> toField(FieldKeplerianOrbit<U> orbit, U[] nonKeplerian, Function<T, U> converter) Create another field version of the instance.- Specified by:
toFieldin classFieldGnssOrbitalElements<T extends CalculusFieldElement<T>,GPSAlmanac> - Type Parameters:
U- type of the new field elements- Parameters:
orbit- orbit in the correct gradient fieldnonKeplerian- non-Keplerian parametersconverter- converter for remaining elements- Returns:
- field version of the instance
-
getSource
Gets the source of this GPS almanac.Sources can be SEM or YUMA, when the almanac is read from a file.
- Returns:
- the source of this GPS almanac
-
getSVN
public int getSVN()Gets the satellite "SVN" reference number.- Returns:
- the satellite "SVN" reference number
-
getHealth
public int getHealth()Gets the Health status.- Returns:
- the Health status
-
getURA
public int getURA()Gets the average URA number.- Returns:
- the average URA number
-
getSatConfiguration
public int getSatConfiguration()Gets the satellite configuration.- Returns:
- the satellite configuration
-