public class GTODProvider extends Object implements EOPBasedTransformProvider
This frame handles the sidereal time according to IAU-82 model.
Its parent frame is the TODProvider
.
The pole motion is not applied here.
Modifier | Constructor and Description |
---|---|
protected |
GTODProvider(IERSConventions conventions,
EOPHistory eopHistory,
TimeScales timeScales)
Simple constructor.
|
Modifier and Type | Method and Description |
---|---|
EOPHistory |
getEOPHistory()
Get the EOP history.
|
GTODProvider |
getNonInterpolatingProvider()
Get a version of the provider that does not cache tidal corrections.
|
StaticTransform |
getStaticTransform(AbsoluteDate date)
Get a transform for only rotations and translations on the specified date.
|
Transform |
getTransform(AbsoluteDate date)
Get the
Transform corresponding to specified date. |
<T extends CalculusFieldElement<T>> |
getTransform(FieldAbsoluteDate<T> date)
Get the
FieldTransform corresponding to specified date. |
protected GTODProvider(IERSConventions conventions, EOPHistory eopHistory, TimeScales timeScales)
conventions
- IERS conventions to useeopHistory
- EOP history (may be null)timeScales
- set of time scales to use.public EOPHistory getEOPHistory()
getEOPHistory
in interface EOPBasedTransformProvider
public GTODProvider getNonInterpolatingProvider()
This method removes the performance enhancing interpolation features that are
used by default in EOP-based provider, in order to focus on accuracy. The
interpolation features are intended to save processing time by avoiding doing
tidal correction evaluation at each time step and caching some results. This
method can be used to avoid this (it is automatically called by FramesFactory.getNonInterpolatingTransform(Frame, Frame, AbsoluteDate)
, when
very high accuracy is desired, or for testing purposes. It should be used with
care, as doing the full computation is really costly.
getNonInterpolatingProvider
in interface EOPBasedTransformProvider
FramesFactory.getNonInterpolatingTransform(Frame, Frame, AbsoluteDate)
public Transform getTransform(AbsoluteDate date)
Transform
corresponding to specified date.getTransform
in interface TransformProvider
date
- current datepublic StaticTransform getStaticTransform(AbsoluteDate date)
The default implementation returns TransformProvider.getTransform(AbsoluteDate)
but implementations may override it for better performance.
getStaticTransform
in interface TransformProvider
date
- current date.public <T extends CalculusFieldElement<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-2022 CS GROUP. All rights reserved.