Class QuadraticClockModel
- java.lang.Object
-
- org.orekit.estimation.measurements.QuadraticClockModel
-
- All Implemented Interfaces:
ClockModel
public class QuadraticClockModel extends Object implements ClockModel
Quadratic clock model.- Since:
- 12.1
- Author:
- Luc Maisonobe
-
-
Constructor Summary
Constructors Constructor Description QuadraticClockModel(AbsoluteDate referenceDate, double a0, double a1, double a2)
Simple constructor.QuadraticClockModel(ParameterDriver a0, ParameterDriver a1, ParameterDriver a2)
Simple constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClockOffset
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.AbsoluteDate
getValidityEnd()
Get validity end.AbsoluteDate
getValidityStart()
Get validity start.QuadraticFieldClockModel<Gradient>
toGradientModel(int freeParameters, Map<String,Integer> indices, AbsoluteDate date)
Convert to gradient model.
-
-
-
Constructor Detail
-
QuadraticClockModel
public QuadraticClockModel(AbsoluteDate referenceDate, double a0, double a1, double a2)
Simple constructor.- Parameters:
referenceDate
- reference datea0
- constant terma1
- linear terma2
- quadratic term
-
QuadraticClockModel
public QuadraticClockModel(ParameterDriver a0, ParameterDriver a1, ParameterDriver a2)
Simple constructor.- Parameters:
a0
- constant terma1
- linear terma2
- quadratic term
-
-
Method Detail
-
getValidityStart
public AbsoluteDate getValidityStart()
Get validity start.- Specified by:
getValidityStart
in interfaceClockModel
- Returns:
- model validity start
-
getValidityEnd
public AbsoluteDate getValidityEnd()
Get validity end.- Specified by:
getValidityEnd
in interfaceClockModel
- Returns:
- model validity end
-
getOffset
public ClockOffset getOffset(AbsoluteDate date)
Get the clock offset at date.- Specified by:
getOffset
in interfaceClockModel
- Parameters:
date
- date at which offset is requested- Returns:
- clock offset at specified date
-
getOffset
public <T extends CalculusFieldElement<T>> FieldClockOffset<T> getOffset(FieldAbsoluteDate<T> date)
Get the clock offset at date.- Specified by:
getOffset
in 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
-
-