|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.orekit.utils.SecularAndHarmonic
public class SecularAndHarmonic
Class for fitting evolution of osculating orbital parameters.
This class allows conversion from osculating parameters to mean parameters.
Constructor Summary | |
---|---|
SecularAndHarmonic(int secularDegree,
double... pulsations)
Simple constructor. |
Method Summary | |
---|---|
void |
addPoint(AbsoluteDate date,
double osculatingValue)
Add a fitting point. |
double[] |
approximateAsPolynomialOnly(int combinedDegree,
AbsoluteDate combinedReference,
int meanDegree,
int meanHarmonics,
AbsoluteDate start,
AbsoluteDate end,
double step)
Approximate an already fitted model to polynomial only terms. |
void |
fit()
Fit parameters. |
double[] |
getFittedParameters()
Get a copy of the last fitted parameters. |
double |
getHarmonicAmplitude()
Get an upper bound of the fitted harmonic amplitude. |
AbsoluteDate |
getReferenceDate()
Get the reference date. |
double |
meanDerivative(AbsoluteDate date,
int degree,
int harmonics)
Get mean derivative, truncated to first components. |
double |
meanSecondDerivative(AbsoluteDate date,
int degree,
int harmonics)
Get mean second derivative, truncated to first components. |
double |
meanValue(AbsoluteDate date,
int degree,
int harmonics)
Get mean value, truncated to first components. |
double |
osculatingDerivative(AbsoluteDate date)
Get fitted osculating derivative. |
double |
osculatingSecondDerivative(AbsoluteDate date)
Get fitted osculating second derivative. |
double |
osculatingValue(AbsoluteDate date)
Get fitted osculating value. |
void |
resetFitting(AbsoluteDate date,
double... initialGuess)
Reset fitting. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SecularAndHarmonic(int secularDegree, double... pulsations)
secularDegree
- degree of polynomial secular partpulsations
- pulsations of harmonic partMethod Detail |
---|
public void resetFitting(AbsoluteDate date, double... initialGuess)
date
- reference dateinitialGuess
- initial guess for the parametersgetReferenceDate()
public void addPoint(AbsoluteDate date, double osculatingValue)
date
- date of the pointosculatingValue
- osculating valuepublic AbsoluteDate getReferenceDate()
resetFitting(AbsoluteDate, double...)
public double getHarmonicAmplitude()
public void fit()
getFittedParameters()
public double[] getFittedParameters()
fit()
public double osculatingValue(AbsoluteDate date)
date
- current date
public double osculatingDerivative(AbsoluteDate date)
date
- current date
public double osculatingSecondDerivative(AbsoluteDate date)
date
- current date
public double meanValue(AbsoluteDate date, int degree, int harmonics)
date
- current datedegree
- degree of polynomial secular part to considerharmonics
- number of harmonics terms to consider
public double meanDerivative(AbsoluteDate date, int degree, int harmonics)
date
- current datedegree
- degree of polynomial secular part to considerharmonics
- number of harmonics terms to consider
public double[] approximateAsPolynomialOnly(int combinedDegree, AbsoluteDate combinedReference, int meanDegree, int meanHarmonics, AbsoluteDate start, AbsoluteDate end, double step)
This method is mainly used in order to combine the large amplitude long
periods with the secular part as a new approximate polynomial model over
some time range. This should be used rather than simply extracting the
polynomial coefficients from getFittedParameters()
when some
periodic terms amplitudes are large (for example Sun resonance effects
on local solar time in sun synchronous orbits). In theses cases, the pure
polynomial secular part in the coefficients may be far from the mean model.
combinedDegree
- desired degree for the combined polynomialcombinedReference
- desired reference date for the combined polynomialmeanDegree
- degree of polynomial secular part to considermeanHarmonics
- number of harmonics terms to considerstart
- start date of the approximation time rangeend
- end date of the approximation time rangestep
- sampling step
public double meanSecondDerivative(AbsoluteDate date, int degree, int harmonics)
date
- current datedegree
- degree of polynomial secular partharmonics
- number of harmonics terms to consider
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |