Package org.orekit.time.clocks
Class QuadraticClockModel
java.lang.Object
org.orekit.time.clocks.QuadraticClockModel
- All Implemented Interfaces:
ClockModel
Quadratic clock model.
- Since:
- 12.1
- Author:
- Luc Maisonobe
-
Constructor Summary
ConstructorsConstructorDescriptionQuadraticClockModel(AbsoluteDate referenceDate, double a0, double a1, double a2) Simple constructor.Simple constructor. -
Method Summary
Modifier and TypeMethodDescriptionGet clock acceleration driver.Get clock bias driver.Get clock drift driver.getOffset(AbsoluteDate date) Get the clock offset at date.<T extends CalculusFieldElement<T>>
FieldClockOffset<T> getOffset(FieldAbsoluteDate<T> date) Get the clock offset at date.Get validity end.Get validity start.toGradientModel(int freeParameters, Map<String, Integer> indices, AbsoluteDate date) Convert to gradient model.
-
Constructor Details
-
QuadraticClockModel
Simple constructor.- Parameters:
referenceDate- reference datea0- constant terma1- linear terma2- quadratic term
-
QuadraticClockModel
Simple constructor.- Parameters:
a0- constant terma1- linear terma2- quadratic term
-
-
Method Details
-
getValidityStart
Get validity start.- Specified by:
getValidityStartin interfaceClockModel- Returns:
- model validity start
-
getValidityEnd
Get validity end.- Specified by:
getValidityEndin interfaceClockModel- Returns:
- model validity end
-
getOffset
Get the clock offset at date.- Specified by:
getOffsetin interfaceClockModel- Parameters:
date- date at which offset is requested- Returns:
- clock offset at specified date
-
getClockBiasDriver
Get clock bias driver.- Returns:
- bias parameter driver (constant)
-
getClockDriftDriver
Get clock drift driver.- Returns:
- drift parameter driver (linear)
-
getClockAccelerationDriver
Get clock acceleration driver.- Returns:
- acceleration parameter driver (quadratic)
-
getOffset
Get the clock offset at date.- Specified by:
getOffsetin interfaceClockModel- Type Parameters:
T- type of the field elements- Parameters:
date- date at which offset is requested- Returns:
- clock offset at specified date
-
toGradientModel
public QuadraticFieldClockModel<Gradient> toGradientModel(int freeParameters, Map<String, Integer> indices, AbsoluteDate date) Convert to gradient model.- Parameters:
freeParameters- total number of free parameters in the gradientindices- indices of the differentiation parameters in derivatives computations, must be span name and not driver namedate- date at which model must be valid- Returns:
- converted clock model
-