public class ShiftingTransformProvider extends Object implements TransformProvider
The shifts take derivatives into account, up to user specified order.
GenericTimeStampedCache
,
InterpolatingTransformProvider
,
Serialized FormConstructor and Description |
---|
ShiftingTransformProvider(TransformProvider rawProvider,
CartesianDerivativesFilter cFilter,
AngularDerivativesFilter aFilter,
int gridPoints,
double step,
int maxSlots,
double maxSpan,
double newSlotInterval)
Simple constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
getGridPoints()
Get the number of interpolation grid points.
|
TransformProvider |
getRawProvider()
Get the underlying provider for raw (non-interpolated) transforms.
|
double |
getStep()
Get the grid points time step.
|
Transform |
getTransform(AbsoluteDate date)
Get the
Transform corresponding to specified date. |
<T extends RealFieldElement<T>> |
getTransform(FieldAbsoluteDate<T> date)
Get the
FieldTransform corresponding to specified date. |
public ShiftingTransformProvider(TransformProvider rawProvider, CartesianDerivativesFilter cFilter, AngularDerivativesFilter aFilter, int gridPoints, double step, int maxSlots, double maxSpan, double newSlotInterval)
rawProvider
- provider for raw (non-interpolated) transformscFilter
- filter for derivatives from the sample to use in interpolationaFilter
- filter for derivatives from the sample to use in interpolationgridPoints
- number of interpolation grid pointsstep
- grid points time stepmaxSlots
- maximum number of independent cached time slots
in the time-stamped cache
maxSpan
- maximum duration span in seconds of one slot
in the time-stamped cache
newSlotInterval
- time interval above which a new slot is created
in the time-stamped cache
public TransformProvider getRawProvider()
public int getGridPoints()
public double getStep()
public Transform getTransform(AbsoluteDate date)
Transform
corresponding to specified date.getTransform
in interface TransformProvider
date
- current datepublic <T extends RealFieldElement<T>> FieldTransform<T> getTransform(FieldAbsoluteDate<T> date)
FieldTransform
corresponding to specified date.getTransform
in interface TransformProvider
T
- type of the field elementsdate
- current dateCopyright © 2002-2020 CS GROUP. All rights reserved.