Package org.orekit.time
Class PythonTimeInterpolable<T extends TimeInterpolable<T>>
- java.lang.Object
-
- org.orekit.time.PythonTimeInterpolable<T>
-
- All Implemented Interfaces:
TimeInterpolable<T>
public class PythonTimeInterpolable<T extends TimeInterpolable<T>> extends Object implements TimeInterpolable<T>
-
-
Constructor Summary
Constructors Constructor Description PythonTimeInterpolable()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
finalize()
Part of JCC Python interface to objectT
interpolate(AbsoluteDate date, Stream<T> sample)
Get an interpolated instance.void
pythonDecRef()
Part of JCC Python interface to objectlong
pythonExtension()
Part of JCC Python interface to objectvoid
pythonExtension(long pythonObject)
Part of JCC Python interface to object-
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.orekit.time.TimeInterpolable
interpolate
-
-
-
-
Method Detail
-
pythonExtension
public void pythonExtension(long pythonObject)
Part of JCC Python interface to object
-
pythonExtension
public long pythonExtension()
Part of JCC Python interface to object
-
finalize
public void finalize() throws Throwable
Part of JCC Python interface to object
-
pythonDecRef
public void pythonDecRef()
Part of JCC Python interface to object
-
interpolate
public T interpolate(AbsoluteDate date, Stream<T> sample)
Get an interpolated instance.Note that the state of the current instance may not be used in the interpolation process, only its type and non interpolable fields are used (for example central attraction coefficient or frame when interpolating orbits). The interpolable fields taken into account are taken only from the states of the sample points. So if the state of the instance must be used, the instance should be included in the sample points.
Note that this method is designed for small samples only (say up to about 10-20 points) so it can be implemented using polynomial interpolation (typically Hermite interpolation). Using too much points may induce Runge's phenomenon and numerical problems (including NaN appearing).
- Specified by:
interpolate
in interfaceTimeInterpolable<T extends TimeInterpolable<T>>
- Parameters:
date
- interpolation datesample
- sample points on which interpolation should be done- Returns:
- a new instance, interpolated at specified date
- Since:
- 9.0
-
-