Class FieldGPSAlmanac<T extends CalculusFieldElement<T>>
java.lang.Object
org.orekit.propagation.analytical.gnss.data.GNSSOrbitalElementsDriversProvider
org.orekit.propagation.analytical.gnss.data.FieldGnssOrbitalElements<T,GPSAlmanac>
org.orekit.propagation.analytical.gnss.data.FieldCommonGnssData<T,GPSAlmanac>
org.orekit.propagation.analytical.gnss.data.FieldAbstractAlmanac<T,GPSAlmanac>
org.orekit.propagation.analytical.gnss.data.FieldGPSAlmanac<T>
- Type Parameters:
T- type of the field elements
- All Implemented Interfaces:
FieldGNSSClockElements<T>,FieldTimeStamped<T>,ParameterDriversProvider
public class FieldGPSAlmanac<T extends CalculusFieldElement<T>>
extends FieldAbstractAlmanac<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
-
Field Summary
Fields inherited from class org.orekit.propagation.analytical.gnss.data.GNSSOrbitalElementsDriversProvider
A_DOT, A_DOT_INDEX, CIC_INDEX, CIS_INDEX, CRC_INDEX, CRS_INDEX, CUC_INDEX, CUS_INDEX, DELTA_N0, DELTA_N0_DOT, DELTA_N0_DOT_INDEX, DELTA_N0_INDEX, I_DOT_INDEX, INCLINATION_COSINE, INCLINATION_RATE, INCLINATION_SINE, LATITUDE_COSINE, LATITUDE_SINE, LONGITUDE_RATE, OMEGA_DOT_INDEX, RADIUS_COSINE, RADIUS_SINE, SIZE, TIME, TIME_INDEX -
Constructor Summary
ConstructorsConstructorDescriptionFieldGPSAlmanac(Function<V, T> converter, FieldGPSAlmanac<V> original) Constructor from different field instance.FieldGPSAlmanac(Field<T> field, GPSAlmanac original) Constructor from non-field instance. -
Method Summary
Modifier and TypeMethodDescription<U extends CalculusFieldElement<U>,G extends FieldGnssOrbitalElements<U, GPSAlmanac>>
GchangeField(Function<T, U> converter) Create another field version of the instance.intGets 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.voidsetHealth(int health) Sets the health status.voidsetSatConfiguration(int satConfiguration) Sets the satellite configuration.voidSets the source of this GPS almanac.voidSetter for the Square Root of Semi-Major Axis (m^1/2).voidsetSVN(int svnNumber) Sets the "SVN" reference number.voidsetURA(int uraNumber) Sets the average URA number.Create a non-field version of the instance.Methods inherited from class org.orekit.propagation.analytical.gnss.data.FieldAbstractAlmanac
getPropagator, getPropagatorMethods inherited from class org.orekit.propagation.analytical.gnss.data.FieldCommonGnssData
getAf0, getAf1, getAf2, getTGD, getToc, setAf0, setAf1, setAf2, setTGD, setTocMethods inherited from class org.orekit.propagation.analytical.gnss.data.FieldGnssOrbitalElements
getDate, getE, getI0, getM0, getMeanMotion0, getMu, getOmega0, getPa, getSma, setE, setGnssDate, setI0, setM0, setOmega0, setPa, setSmaMethods inherited from class org.orekit.propagation.analytical.gnss.data.GNSSOrbitalElementsDriversProvider
copyNonKeplerian, copySelectionSettings, createDriver, getADot, getADotDriver, getAngularVelocity, getCic, getCicDriver, getCis, getCisDriver, getCrc, getCrcDriver, getCrs, getCrsDriver, getCuc, getCucDriver, getCus, getCusDriver, getCycleDuration, getDeltaN0, getDeltaN0Dot, getDeltaN0DotDriver, getDeltaN0Driver, getIDot, getIDotDriver, getOmegaDot, getOmegaDotDriver, getParametersDrivers, getPRN, getSystem, getTime, getTimeDriver, getTimeScales, getWeek, getWeeksInCycle, isCivilianMessage, setADot, setCic, setCis, setCrc, setCrs, setCuc, setCus, setDeltaN0, setDeltaN0Dot, setIDot, setOmegaDot, setPRN, setTime, setWeekMethods 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, getDateMethods inherited from interface org.orekit.utils.ParameterDriversProvider
getNbParametersDriversValue, getParameterDriver, getParameters, getParameters, getParameters, getParameters, getParametersAllValues, getParametersAllValues, isSupported
-
Constructor Details
-
FieldGPSAlmanac
Constructor from non-field instance.- Parameters:
field- field to which elements belongoriginal- regular non-field instance
-
FieldGPSAlmanac
Constructor from different field instance.- Type Parameters:
V- type of the old field elements- Parameters:
converter- for field elementsoriginal- regular non-field instance
-
-
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
-
changeField
public <U extends CalculusFieldElement<U>,G extends FieldGnssOrbitalElements<U, G changeFieldGPSAlmanac>> (Function<T, U> converter) Create another field version of the instance.- Specified by:
changeFieldin classFieldGnssOrbitalElements<T extends CalculusFieldElement<T>,GPSAlmanac> - Type Parameters:
U- type of the new field elementsG- type of the orbital elements (field version)- Parameters:
converter- for field elements- Returns:
- field version of the instance
-
setSqrtA
Setter for the Square Root of Semi-Major Axis (m^1/2).In addition, this method set the value of the Semi-Major Axis.
- Parameters:
sqrtA- the Square Root of Semi-Major Axis (m^1/2)
-
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
-
setSource
Sets the source of this GPS almanac.- Parameters:
source- the source of this GPS almanac
-
getSVN
public int getSVN()Gets the satellite "SVN" reference number.- Returns:
- the satellite "SVN" reference number
-
setSVN
public void setSVN(int svnNumber) Sets the "SVN" reference number.- Parameters:
svnNumber- the number to set
-
getHealth
public int getHealth()Gets the Health status.- Returns:
- the Health status
-
setHealth
public void setHealth(int health) Sets the health status.- Parameters:
health- the health status to set
-
getURA
public int getURA()Gets the average URA number.- Returns:
- the average URA number
-
setURA
public void setURA(int uraNumber) Sets the average URA number.- Parameters:
uraNumber- the URA number to set
-
getSatConfiguration
public int getSatConfiguration()Gets the satellite configuration.- Returns:
- the satellite configuration
-
setSatConfiguration
public void setSatConfiguration(int satConfiguration) Sets the satellite configuration.- Parameters:
satConfiguration- the satellite configuration to set
-