public class OrbitHermiteInterpolator extends AbstractOrbitInterpolator
Depending on given sample orbit type, the interpolation may differ :
In any case, 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).
Orbit
,
HermiteInterpolator
AbstractTimeInterpolator.InterpolationData
DEFAULT_EXTRAPOLATION_THRESHOLD_SEC, DEFAULT_INTERPOLATION_POINTS
Constructor and Description |
---|
OrbitHermiteInterpolator(Frame outputInertialFrame)
Constructor with :
Default number of interpolation points of
DEFAULT_INTERPOLATION_POINTS
Default extrapolation threshold value (DEFAULT_EXTRAPOLATION_THRESHOLD_SEC s)
Use of position and two time derivatives during interpolation
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). |
OrbitHermiteInterpolator(int interpolationPoints,
double extrapolationThreshold,
Frame outputInertialFrame,
CartesianDerivativesFilter pvaFilter)
Constructor.
|
OrbitHermiteInterpolator(int interpolationPoints,
Frame outputInertialFrame)
Constructor with :
Default extrapolation threshold value (
DEFAULT_EXTRAPOLATION_THRESHOLD_SEC s)
Use of position and two time derivatives during interpolation
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). |
OrbitHermiteInterpolator(int interpolationPoints,
Frame outputInertialFrame,
CartesianDerivativesFilter pvaFilter)
Constructor with default extrapolation threshold value (
DEFAULT_EXTRAPOLATION_THRESHOLD_SEC s). |
Modifier and Type | Method and Description |
---|---|
CartesianDerivativesFilter |
getPVAFilter()
Get filter for derivatives from the sample to use in position-velocity-acceleration interpolation.
|
protected Orbit |
interpolate(AbstractTimeInterpolator.InterpolationData interpolationData)
Interpolate instance from given interpolation data.
|
checkOrbitsConsistency, getOutputInertialFrame, interpolate
addOptionalSubInterpolatorIfDefined, checkInterpolatorCompatibilityWithSampleSize, getCentralDate, getExtrapolationThreshold, getNbInterpolationPoints, getSubInterpolators, getTimeParameter, interpolate
public OrbitHermiteInterpolator(Frame outputInertialFrame)
DEFAULT_INTERPOLATION_POINTS
DEFAULT_EXTRAPOLATION_THRESHOLD_SEC
s)outputInertialFrame
- output inertial framepublic OrbitHermiteInterpolator(int interpolationPoints, Frame outputInertialFrame)
DEFAULT_EXTRAPOLATION_THRESHOLD_SEC
s)interpolationPoints
- number of interpolation pointsoutputInertialFrame
- output inertial framepublic OrbitHermiteInterpolator(int interpolationPoints, Frame outputInertialFrame, CartesianDerivativesFilter pvaFilter)
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).
interpolationPoints
- number of interpolation pointsoutputInertialFrame
- output inertial framepvaFilter
- filter for derivatives from the sample to use in position-velocity-acceleration interpolation. Used
only when interpolating Cartesian orbits.public OrbitHermiteInterpolator(int interpolationPoints, double extrapolationThreshold, Frame outputInertialFrame, CartesianDerivativesFilter pvaFilter)
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).
interpolationPoints
- number of interpolation pointsextrapolationThreshold
- extrapolation threshold beyond which the propagation will failoutputInertialFrame
- output inertial framepvaFilter
- filter for derivatives from the sample to use in position-velocity-acceleration interpolation. Used
only when interpolating Cartesian orbits.public CartesianDerivativesFilter getPVAFilter()
protected Orbit interpolate(AbstractTimeInterpolator.InterpolationData interpolationData)
Depending on given sample orbit type, the interpolation may differ :
Ephemeris
class is a better way than using this
low-level interpolation. The Ephemeris class automatically handles selection of
a neighboring sub-sample with a predefined number of point from a large global sample
in a thread-safe way.interpolate
in class AbstractTimeInterpolator<Orbit>
interpolationData
- interpolation dataCopyright © 2002-2023 CS GROUP. All rights reserved.