public class LeastSquaresTleGenerationAlgorithm extends Object implements TleGenerationAlgorithm
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_MAX_ITERATIONS
Default value for maximum number of iterations.
|
Constructor and Description |
---|
LeastSquaresTleGenerationAlgorithm()
Default constructor.
|
LeastSquaresTleGenerationAlgorithm(int maxIterations)
Default constructor.
|
LeastSquaresTleGenerationAlgorithm(int maxIterations,
TimeScale utc,
Frame teme)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
<T extends org.hipparchus.CalculusFieldElement<T>> |
generate(FieldSpacecraftState<T> state,
FieldTLE<T> templateTLE)
Generate a TLE from a given spacecraft state and a template TLE.
|
TLE |
generate(SpacecraftState state,
TLE templateTLE)
Generate a TLE from a given spacecraft state and a template TLE.
|
double |
getRms()
Get the Root Mean Square of the TLE estimation.
|
public static final int DEFAULT_MAX_ITERATIONS
@DefaultDataContext public LeastSquaresTleGenerationAlgorithm()
Uses the default data context
as well as
DEFAULT_MAX_ITERATIONS
.
@DefaultDataContext public LeastSquaresTleGenerationAlgorithm(int maxIterations)
Uses the default data context
.
maxIterations
- maximum number of iterations for convergencepublic TLE generate(SpacecraftState state, TLE templateTLE)
The template TLE is only used to get identifiers like satellite number, launch year, etc. In other words, the keplerian elements contained in the generate TLE a based on the provided state and not the template TLE.
generate
in interface TleGenerationAlgorithm
state
- spacecraft statetemplateTLE
- template TLEpublic double getRms()
Be careful that the RMS is updated each time the
generate(SpacecraftState, TLE)
method is called.
public <T extends org.hipparchus.CalculusFieldElement<T>> FieldTLE<T> generate(FieldSpacecraftState<T> state, FieldTLE<T> templateTLE)
The template TLE is only used to get identifiers like satellite number, launch year, etc. In other words, the keplerian elements contained in the generate TLE a based on the provided state and not the template TLE.
generate
in interface TleGenerationAlgorithm
T
- type of the elementsstate
- spacecraft statetemplateTLE
- template TLECopyright © 2002-2023 CS GROUP. All rights reserved.