public class FixedPointTleGenerationAlgorithm extends Object implements TleGenerationAlgorithm
Using this algorithm, the B* value is not computed. In other words, the B* value from the template TLE is set to the generated one.
Modifier and Type | Field and Description |
---|---|
static double |
EPSILON_DEFAULT
Default value for epsilon.
|
static int |
MAX_ITERATIONS_DEFAULT
Default value for maxIterations.
|
static double |
SCALE_DEFAULT
Default value for scale.
|
Constructor and Description |
---|
FixedPointTleGenerationAlgorithm()
Default constructor.
|
FixedPointTleGenerationAlgorithm(double epsilon,
int maxIterations,
double scale)
Constructor.
|
FixedPointTleGenerationAlgorithm(double epsilon,
int maxIterations,
double scale,
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.
|
public static final double EPSILON_DEFAULT
public static final int MAX_ITERATIONS_DEFAULT
public static final double SCALE_DEFAULT
@DefaultDataContext public FixedPointTleGenerationAlgorithm()
Uses the default data context
as well as EPSILON_DEFAULT
, MAX_ITERATIONS_DEFAULT
,
SCALE_DEFAULT
for method convergence.
@DefaultDataContext public FixedPointTleGenerationAlgorithm(double epsilon, int maxIterations, double scale)
Uses the default data context
.
epsilon
- used to compute threshold for convergence checkmaxIterations
- maximum number of iterations for convergencescale
- scale factor of the Fixed Point algorithmpublic FixedPointTleGenerationAlgorithm(double epsilon, int maxIterations, double scale, TimeScale utc, Frame teme)
epsilon
- used to compute threshold for convergence checkmaxIterations
- maximum number of iterations for convergencescale
- scale factor of the Fixed Point algorithmutc
- UTC time scaleteme
- TEME framepublic 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 <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.