Interface FieldTimeInterpolator<T extends FieldTimeStamped<KK>,KK extends CalculusFieldElement<KK>>
- Type Parameters:
T- type of the interpolated instanceKK- type of the field element
- All Known Implementing Classes:
AbstractFieldOrbitInterpolator,AbstractFieldTimeInterpolator,FieldAbsolutePVCoordinatesHermiteInterpolator,FieldAttitudeInterpolator,FieldClockOffsetHermiteInterpolator,FieldOrbitBlender,FieldOrbitHermiteInterpolator,FieldSpacecraftStateInterpolator,TimeStampedFieldAngularCoordinatesHermiteInterpolator,TimeStampedFieldHermiteInterpolator,TimeStampedFieldPVCoordinatesHermiteInterpolator
- Author:
- Vincent Cucchietti
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiondoubleGet the extrapolation threshold.intGet the number of interpolation points.List<FieldTimeInterpolator<? extends FieldTimeStamped<KK>, KK>> Get all lowest level interpolators implemented by this instance, otherwise return a list with this instance only.default Tinterpolate(AbsoluteDate interpolationDate, Collection<T> sample) Get an interpolated instance.default Tinterpolate(AbsoluteDate interpolationDate, Stream<T> sample) Get an interpolated instance.interpolate(FieldAbsoluteDate<KK> interpolationDate, Collection<T> sample) Get an interpolated instance.interpolate(FieldAbsoluteDate<KK> interpolationDate, Stream<T> sample) Get an interpolated instance.
-
Method Details
-
interpolate
Get an interpolated instance.The stream must yield elements in chronological order. Passing an unsorted stream yields undefined neighbors and may throw
TimeStampedCacheException.- Parameters:
interpolationDate- interpolation datesample- time stamped sample (chronologically sorted)- Returns:
- a new instance, interpolated at specified date
- See Also:
-
interpolate
Get an interpolated instance.The sample must be in chronological order. Passing an unsorted sample yields undefined neighbors and may throw
TimeStampedCacheException.- Parameters:
interpolationDate- interpolation datesample- time stamped sample (chronologically sorted)- Returns:
- a new instance, interpolated at specified date
-
interpolate
Get an interpolated instance.The stream must yield elements in chronological order. Passing an unsorted stream yields undefined neighbors and may throw
TimeStampedCacheException.- Parameters:
interpolationDate- interpolation datesample- time stamped sample (chronologically sorted)- Returns:
- a new instance, interpolated at specified date
- See Also:
-
interpolate
Get an interpolated instance.The sample must be in chronological order. Passing an unsorted sample yields undefined neighbors and may throw
TimeStampedCacheException.- Parameters:
interpolationDate- interpolation datesample- time stamped sample (chronologically sorted)- Returns:
- a new instance, interpolated at specified date
-
getSubInterpolators
List<FieldTimeInterpolator<? extends FieldTimeStamped<KK>,KK>> getSubInterpolators()Get all lowest level interpolators implemented by this instance, otherwise return a list with this instance only.An example would be the spacecraft state interpolator which can use different interpolators for each of its attributes (orbit, absolute position-velocity-acceleration coordinates, mass...). In this case, it would return the list of all of these interpolators (or possibly all of their sub-interpolators if they were to use multiple interpolators themselves).
- Returns:
- list of interpolators
-
getNbInterpolationPoints
int getNbInterpolationPoints()Get the number of interpolation points. In the specific case where this interpolator contains multiple sub-interpolators, this method will return the maximum number of interpolation points required among all sub-interpolators.- Returns:
- the number of interpolation points
- Since:
- 12.0.1
-
getExtrapolationThreshold
double getExtrapolationThreshold()Get the extrapolation threshold.- Returns:
- get the extrapolation threshold.
-