Package org.orekit.files.rinex.clock
Class RinexClock.ClockDataLine
- java.lang.Object
-
- org.orekit.files.rinex.clock.RinexClock.ClockDataLine
-
- Enclosing class:
- RinexClock
public class RinexClock.ClockDataLine extends Object
Clock data for a single station.Data epoch is not linked to any time system in order to pars files with missing lines. Though, the default version of the getEpoch() method links the data time components with the clock file object time scale. The latter can be set with a default value (UTC). Caution is recommanded.
-
-
Constructor Summary
Constructors Constructor Description ClockDataLine(RinexClock.ClockDataType type, String name, DateComponents dateComponents, TimeComponents timeComponents, int numberOfValues, double clockBias, double clockBiasSigma, double clockRate, double clockRateSigma, double clockAcceleration, double clockAccelerationSigma)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
getClockAcceleration()
Getter for the clock acceleration.double
getClockAccelerationSigma()
Getter for the clock acceleration sigma.double
getClockBias()
Getter for the clock bias.double
getClockBiasSigma()
Getter for the clock bias sigma.double
getClockRate()
Getter for the clock rate.double
getClockRateSigma()
Getter for the clock rate sigma.RinexClock.ClockDataType
getDataType()
Getter for the clock data type.AbsoluteDate
getEpoch()
Get data line epoch.AbsoluteDate
getEpoch(TimeScale epochTimeScale)
Get data line epoch.String
getName()
Getter for the receiver/satellite name.int
getNumberOfValues()
Getter for the number of values to follow.
-
-
-
Constructor Detail
-
ClockDataLine
public ClockDataLine(RinexClock.ClockDataType type, String name, DateComponents dateComponents, TimeComponents timeComponents, int numberOfValues, double clockBias, double clockBiasSigma, double clockRate, double clockRateSigma, double clockAcceleration, double clockAccelerationSigma)
Constructor.- Parameters:
type
- the clock data typename
- the receiver/satellite namedateComponents
- the epoch date componentstimeComponents
- the epoch time componentsnumberOfValues
- the number of values to followclockBias
- the clock bias in secondsclockBiasSigma
- the clock bias sigma in secondsclockRate
- the clock rateclockRateSigma
- the clock rate sigmaclockAcceleration
- the clock acceleration in seconds^-1clockAccelerationSigma
- the clock acceleration in seconds^-1
-
-
Method Detail
-
getDataType
public RinexClock.ClockDataType getDataType()
Getter for the clock data type.- Returns:
- the clock data type
-
getName
public String getName()
Getter for the receiver/satellite name.- Returns:
- the receiver/satellite name
-
getNumberOfValues
public int getNumberOfValues()
Getter for the number of values to follow.- Returns:
- the number of values to follow
-
getEpoch
public AbsoluteDate getEpoch()
Get data line epoch. This method should be used if Time System ID line is present in the clock file. If it is missing, UTC time scale will be applied. To specify tim scale, usegetEpoch(TimeScale)
method.- Returns:
- the data line epoch
-
getEpoch
public AbsoluteDate getEpoch(TimeScale epochTimeScale)
Get data line epoch. This method should be used in case Time System ID line is missing. Otherwise, it is adviced to rather usegetEpoch()
method.- Parameters:
epochTimeScale
- the time scale in which the epoch is defined- Returns:
- the data line epoch set in the specified time scale
-
getClockBias
public double getClockBias()
Getter for the clock bias.- Returns:
- the clock bias in seconds
-
getClockBiasSigma
public double getClockBiasSigma()
Getter for the clock bias sigma.- Returns:
- the clock bias sigma in seconds
-
getClockRate
public double getClockRate()
Getter for the clock rate.- Returns:
- the clock rate
-
getClockRateSigma
public double getClockRateSigma()
Getter for the clock rate sigma.- Returns:
- the clock rate sigma
-
getClockAcceleration
public double getClockAcceleration()
Getter for the clock acceleration.- Returns:
- the clock acceleration in seconds^-1
-
getClockAccelerationSigma
public double getClockAccelerationSigma()
Getter for the clock acceleration sigma.- Returns:
- the clock acceleration sigma in seconds^-1
-
-