Class FieldClockOffsetHermiteInterpolator<T extends CalculusFieldElement<T>>

    • Constructor Detail

      • FieldClockOffsetHermiteInterpolator

        public FieldClockOffsetHermiteInterpolator​(int interpolationPoints)
        Constructor with default extrapolation threshold value (DEFAULT_EXTRAPOLATION_THRESHOLD_SEC s).

        As this implementation of interpolation is polynomial, it should be used only with small number of interpolation points (about 10-20 points) in order to avoid Runge's phenomenon and numerical problems (including NaN appearing).

        If the number of interpolation points or derivatives availability is not sufficient, the rate and acceleration of interpolated offset will be silently set to 0 (i.e. model will be constant or linear only).

        Parameters:
        interpolationPoints - number of interpolation points
      • FieldClockOffsetHermiteInterpolator

        public FieldClockOffsetHermiteInterpolator​(int interpolationPoints,
                                                   double extrapolationThreshold)
        Constructor.

        As this implementation of interpolation is polynomial, it should be used only with small number of interpolation points (about 10-20 points) in order to avoid Runge's phenomenon and numerical problems (including NaN appearing).

        If the number of interpolation points or derivatives availability is not sufficient, the rate and acceleration of interpolated offset will be silently set to 0 (i.e. model will be constant or linear only).

        Parameters:
        interpolationPoints - number of interpolation points
        extrapolationThreshold - extrapolation threshold beyond which the propagation will fail