Class SingleParameterFitter
- All Implemented Interfaces:
Serializable
- Since:
- 12.0
- Author:
- Luc Maisonobe
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final doubleMoon pulsation (one Moon draconic period).static final doubleSun pulsation, one year period. -
Constructor Summary
ConstructorsConstructorDescriptionSingleParameterFitter(double timeConstant, double convergence, int degree, double... pulsations) Simple constructor. -
Method Summary
Modifier and TypeMethodDescriptionstatic SingleParameterFitterCreate fitter with default parameters adapted for fitting orientation parameters dUT1 and LOD for long term prediction.static SingleParameterFitterCreate fitter with default parameters adapted for fitting orientation parameters dUT1 and LOD for short term prediction.static SingleParameterFitterCreate fitter with default parameters adapted for fitting nutation parameters dx and dy for long term prediction.static SingleParameterFitterCreate fitter with default parameters adapted for fitting nutation parameters dx and dy for long term prediction.static SingleParameterFitterCreate fitter with default parameters adapted for fitting pole parameters Xp and Yp for long term prediction.static SingleParameterFitterCreate fitter with default parameters adapted for fitting pole parameters Xp and Yp for long term prediction.fit(EOPHistory rawHistory, ToDoubleFunction<EOPEntry> extractor) Perform secular and harmonic fitting.
-
Field Details
-
SUN_PULSATION
public static final double SUN_PULSATIONSun pulsation, one year period.- See Also:
-
MOON_DRACONIC_PULSATION
public static final double MOON_DRACONIC_PULSATIONMoon pulsation (one Moon draconic period).- See Also:
-
-
Constructor Details
-
SingleParameterFitter
public SingleParameterFitter(double timeConstant, double convergence, int degree, double... pulsations) Simple constructor.- Parameters:
timeConstant- time constant \(\tau\) of the exponential decay weight, point weight is \(e^{\frac{t-t_0}{\tau}}\), i.e. points far in the past before \(t_0\) have smaller weightsconvergence- convergence on fitted parameterdegree- degree of the polynomial modelpulsations- pulsations of harmonic part (rad/s)- Since:
- 12.0.1
- See Also:
-
-
Method Details
-
fit
Perform secular and harmonic fitting.- Parameters:
rawHistory- EOP history to fitextractor- extractor for Earth Orientation Parameter- Returns:
- configured fitter
-
createDefaultDut1FitterShortTermPrediction
Create fitter with default parameters adapted for fitting orientation parameters dUT1 and LOD for short term prediction.The main difference between these settings and
the settings for long predictionis the much smaller \(\tau\). This means more weight is set to the points at the end of the history, hence forcing the fitted prediction model to be closer to these points, hence the prediction error to be smaller just after raw history end. On the other hand, this implies that the model will diverge on long term. These settings are intended when prediction is used for at most 5 days after raw EOP end.- time constant \(\tau\) of the exponential decay set to 6
days - convergence set to 10⁻¹² s
- polynomial part set to degree 3
- one harmonic term at
SUN_PULSATION} - one harmonic term at 2 times
SUN_PULSATION} - one harmonic term at 3 times
SUN_PULSATION} - one harmonic term at
MOON_DRACONIC_PULSATION} - one harmonic term at 2 times
MOON_DRACONIC_PULSATION} - one harmonic term at 3 times
MOON_DRACONIC_PULSATION}
- Returns:
- fitter with default configuration for orientation parameters dUT1 and LOD
- See Also:
- time constant \(\tau\) of the exponential decay set to 6
-
createDefaultDut1FitterLongTermPrediction
Create fitter with default parameters adapted for fitting orientation parameters dUT1 and LOD for long term prediction.The main difference between these settings and
the settings for short predictionis the much larger \(\tau\). This means weight is spread throughout history, hence forcing the fitted prediction model to be remain very stable on the long term. On the other hand, this implies that the model will start with already a much larger error just after raw history end. These settings are intended when prediction is used for 5 days after raw EOP end or more.- time constant \(\tau\) of the exponential decay set to 60
days - convergence set to 10⁻¹² s
- polynomial part set to degree 3
- one harmonic term at
SUN_PULSATION} - one harmonic term at 2 times
SUN_PULSATION} - one harmonic term at 3 times
SUN_PULSATION} - one harmonic term at
MOON_DRACONIC_PULSATION} - one harmonic term at 2 times
MOON_DRACONIC_PULSATION} - one harmonic term at 3 times
MOON_DRACONIC_PULSATION}
- Returns:
- fitter with default configuration for orientation parameters dUT1 and LOD
- See Also:
- time constant \(\tau\) of the exponential decay set to 60
-
createDefaultPoleFitterShortTermPrediction
Create fitter with default parameters adapted for fitting pole parameters Xp and Yp for long term prediction.The main difference between these settings and
the settings for long predictionis the much smaller \(\tau\). This means more weight is set to the points at the end of the history, hence forcing the fitted prediction model to be closer to these points, hence the prediction error to be smaller just after raw history end. On the other hand, this implies that the model will diverge on long term. These settings are intended when prediction is used for at most 5 days after raw EOP end.- time constant \(\tau\) of the exponential decay set to 12
days - convergence set to 10⁻¹² rad
- polynomial part set to degree 3
- one harmonic term at
SUN_PULSATION} - one harmonic term at 2 times
SUN_PULSATION} - one harmonic term at 3 times
SUN_PULSATION} - one harmonic term at
MOON_DRACONIC_PULSATION} - one harmonic term at 2 times
MOON_DRACONIC_PULSATION} - one harmonic term at 3 times
MOON_DRACONIC_PULSATION}
- Returns:
- fitter with default configuration for pole parameters Xp and Yp
- time constant \(\tau\) of the exponential decay set to 12
-
createDefaultPoleFitterLongTermPrediction
Create fitter with default parameters adapted for fitting pole parameters Xp and Yp for long term prediction.The main difference between these settings and
the settings for short predictionis the much larger \(\tau\). This means weight is spread throughout history, hence forcing the fitted prediction model to be remain very stable on the long term. On the other hand, this implies that the model will start with already a much larger error just after raw history end. These settings are intended when prediction is used for 5 days after raw EOP end or more.- time constant \(\tau\) of the exponential decay set to 60
days - convergence set to 10⁻¹² rad
- polynomial part set to degree 3
- one harmonic term at
SUN_PULSATION} - one harmonic term at 2 times
SUN_PULSATION} - one harmonic term at 3 times
SUN_PULSATION} - one harmonic term at
MOON_DRACONIC_PULSATION} - one harmonic term at 2 times
MOON_DRACONIC_PULSATION} - one harmonic term at 3 times
MOON_DRACONIC_PULSATION}
- Returns:
- fitter with default configuration for pole parameters Xp and Yp
- time constant \(\tau\) of the exponential decay set to 60
-
createDefaultNutationFitterShortTermPrediction
Create fitter with default parameters adapted for fitting nutation parameters dx and dy for long term prediction.The main difference between these settings and
the settings for long predictionis the much smaller \(\tau\). This means more weight is set to the points at the end of the history, hence forcing the fitted prediction model to be closer to these points, hence the prediction error to be smaller just after raw history end. On the other hand, this implies that the model will diverge on long term. These settings are intended when prediction is used for at most 5 days after raw EOP end.- time constant \(\tau\) of the exponential decay set to 12
days - convergence set to 10⁻¹² s
- polynomial part set to degree 3
- one harmonic term at
SUN_PULSATION} - one harmonic term at 2 times
SUN_PULSATION} - one harmonic term at 3 times
SUN_PULSATION} - one harmonic term at
MOON_DRACONIC_PULSATION} - one harmonic term at 2 times
MOON_DRACONIC_PULSATION} - one harmonic term at 3 times
MOON_DRACONIC_PULSATION}
- Returns:
- fitter with default configuration for pole nutation parameters dx and dy
- time constant \(\tau\) of the exponential decay set to 12
-
createDefaultNutationFitterLongTermPrediction
Create fitter with default parameters adapted for fitting nutation parameters dx and dy for long term prediction.The main difference between these settings and
the settings for short predictionis the much larger \(\tau\). This means weight is spread throughout history, hence forcing the fitted prediction model to be remain very stable on the long term. On the other hand, this implies that the model will start with already a much larger error just after raw history end. These settings are intended when prediction is used for 5 days after raw EOP end or more.- time constant \(\tau\) of the exponential decay set to 60
days - convergence set to 10⁻¹² s
- polynomial part set to degree 3
- one harmonic term at
SUN_PULSATION} - one harmonic term at 2 times
SUN_PULSATION} - one harmonic term at 3 times
SUN_PULSATION} - one harmonic term at
MOON_DRACONIC_PULSATION} - one harmonic term at 2 times
MOON_DRACONIC_PULSATION} - one harmonic term at 3 times
MOON_DRACONIC_PULSATION}
- Returns:
- fitter with default configuration for pole nutation parameters dx and dy
- time constant \(\tau\) of the exponential decay set to 60
-