Package org.orekit.frames
Class GTODProvider
- java.lang.Object
-
- org.orekit.frames.GTODProvider
-
- All Implemented Interfaces:
Serializable
,EOPBasedTransformProvider
,TransformProvider
public class GTODProvider extends Object implements EOPBasedTransformProvider
Greenwich True Of Date Frame, also known as True of Date Rotating frame (TDR) or Greenwich Rotating Coordinate frame (GCR).This frame handles the sidereal time according to IAU-82 model.
Its parent frame is the
TODProvider
.The pole motion is not applied here.
- Author:
- Pascal Parraud, Thierry Ceolin
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
GTODProvider(IERSConventions conventions, EOPHistory eopHistory)
Simple constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EOPHistory
getEOPHistory()
Get the EOP history.GTODProvider
getNonInterpolatingProvider()
Get a version of the provider that does not cache tidal corrections.Transform
getTransform(AbsoluteDate date)
Get theTransform
corresponding to specified date.<T extends org.hipparchus.RealFieldElement<T>>
FieldTransform<T>getTransform(FieldAbsoluteDate<T> date)
Get theFieldTransform
corresponding to specified date.
-
-
-
Constructor Detail
-
GTODProvider
protected GTODProvider(IERSConventions conventions, EOPHistory eopHistory)
Simple constructor.- Parameters:
conventions
- IERS conventions to useeopHistory
- EOP history (may be null)
-
-
Method Detail
-
getEOPHistory
public EOPHistory getEOPHistory()
Get the EOP history.- Specified by:
getEOPHistory
in interfaceEOPBasedTransformProvider
- Returns:
- EOP history
-
getNonInterpolatingProvider
public GTODProvider getNonInterpolatingProvider()
Get a version of the provider that does not cache tidal corrections.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.- Specified by:
getNonInterpolatingProvider
in interfaceEOPBasedTransformProvider
- Returns:
- version of the provider that does not cache tidal corrections
- See Also:
FramesFactory.getNonInterpolatingTransform(Frame, Frame, AbsoluteDate)
-
getTransform
public Transform getTransform(AbsoluteDate date)
Get theTransform
corresponding to specified date.- Specified by:
getTransform
in interfaceTransformProvider
- Parameters:
date
- current date- Returns:
- transform at specified date
-
getTransform
public <T extends org.hipparchus.RealFieldElement<T>> FieldTransform<T> getTransform(FieldAbsoluteDate<T> date)
Get theFieldTransform
corresponding to specified date.- Specified by:
getTransform
in interfaceTransformProvider
- Type Parameters:
T
- type of the field elements- Parameters:
date
- current date- Returns:
- transform at specified date
-
-