Class FixedPointTleGenerationAlgorithm
java.lang.Object
org.orekit.propagation.analytical.tle.generation.FixedPointTleGenerationAlgorithm
- All Implemented Interfaces:
TleGenerationAlgorithm
Fixed Point method to reverse SGP4 and SDP4 propagation algorithm
and generate a usable TLE from a spacecraft state.
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.
- Since:
- 12.0
- Author:
- Thomas Paulet, Bryan Cazabonne
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final doubleDefault value for epsilon.static final intDefault value for maxIterations.static final doubleDefault value for scale. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.FixedPointTleGenerationAlgorithm(double epsilon, int maxIterations, double scale) Constructor.FixedPointTleGenerationAlgorithm(double epsilon, int maxIterations, double scale, TimeScale utc, Frame teme) Constructor. -
Method Summary
Modifier and TypeMethodDescription<T extends CalculusFieldElement<T>>
FieldTLE<T> generate(FieldSpacecraftState<T> state, FieldTLE<T> templateTLE) Generate a TLE from a given spacecraft state and a template TLE.generate(SpacecraftState state, TLE templateTLE) Generate a TLE from a given spacecraft state and a template TLE.
-
Field Details
-
EPSILON_DEFAULT
public static final double EPSILON_DEFAULTDefault value for epsilon.- See Also:
-
MAX_ITERATIONS_DEFAULT
public static final int MAX_ITERATIONS_DEFAULTDefault value for maxIterations.- See Also:
-
SCALE_DEFAULT
public static final double SCALE_DEFAULTDefault value for scale.- See Also:
-
-
Constructor Details
-
FixedPointTleGenerationAlgorithm
Default constructor.Uses the
default data contextas well asEPSILON_DEFAULT,MAX_ITERATIONS_DEFAULT,SCALE_DEFAULTfor method convergence. -
FixedPointTleGenerationAlgorithm
@DefaultDataContext public FixedPointTleGenerationAlgorithm(double epsilon, int maxIterations, double scale) Constructor.Uses the
default data context.- Parameters:
epsilon- used to compute threshold for convergence checkmaxIterations- maximum number of iterations for convergencescale- scale factor of the Fixed Point algorithm
-
FixedPointTleGenerationAlgorithm
public FixedPointTleGenerationAlgorithm(double epsilon, int maxIterations, double scale, TimeScale utc, Frame teme) Constructor.- Parameters:
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 frame
-
-
Method Details
-
generate
Generate a TLE from a given spacecraft state and a template TLE.The template TLE is only used to get identifiers like satellite number, launch year, etc. In other words, the keplerian elements contained in the generated TLE are based on the provided state and not the template TLE.
- Specified by:
generatein interfaceTleGenerationAlgorithm- Parameters:
state- spacecraft statetemplateTLE- template TLE- Returns:
- a TLE corresponding to the given state
-
generate
public <T extends CalculusFieldElement<T>> FieldTLE<T> generate(FieldSpacecraftState<T> state, FieldTLE<T> templateTLE) Generate a TLE from a given spacecraft state and a template TLE.The template TLE is only used to get identifiers like satellite number, launch year, etc. In other words, the keplerian elements contained in the generated TLE are based on the provided state and not the template TLE.
- Specified by:
generatein interfaceTleGenerationAlgorithm- Type Parameters:
T- type of the elements- Parameters:
state- spacecraft statetemplateTLE- template TLE- Returns:
- a TLE corresponding to the given state
-