Package org.yamcs.time
Class TimeOfFlightEstimator.TofInterval
- java.lang.Object
-
- org.yamcs.time.TimeOfFlightEstimator.TofInterval
-
- Enclosing class:
- TimeOfFlightEstimator
public static class TimeOfFlightEstimator.TofInterval extends Object
Used for polynomial interpolation of time of flight based on ERT.Each interval has a start/stop and a set of polynomial coefficients.
The time of flight
tof
corresponding to a given earth reception timeert
is given by the formula:delta = ert - ertStart tof =c[0] + c[1]*delta + c[2]*delta^2 + ...
whereertStart
is the start of the interval andc
are the polynomial coefficients.delta
is the duration of the givenert
from the interval start.delta
as well astof
are expressed in seconds.
-
-
Constructor Summary
Constructors Constructor Description TofInterval(Instant ertStart, Instant ertStop, double[] polCoefficients)
-
-
-
Method Detail
-
fromTuple
public static TimeOfFlightEstimator.TofInterval fromTuple(Tuple tuple)
-
-