Class FixedPointTleGenerationAlgorithm
- java.lang.Object
-
- org.orekit.propagation.analytical.tle.generation.FixedPointTleGenerationAlgorithm
-
- All Implemented Interfaces:
TleGenerationAlgorithm
public class FixedPointTleGenerationAlgorithm extends Object implements 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
Fields Modifier and Type Field 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 Summary
Constructors Constructor Description FixedPointTleGenerationAlgorithm()
Default constructor.FixedPointTleGenerationAlgorithm(double epsilon, int maxIterations, double scale)
Constructor.FixedPointTleGenerationAlgorithm(double epsilon, int maxIterations, double scale, TimeScale utc, Frame teme)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <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.TLE
generate(SpacecraftState state, TLE templateTLE)
Generate a TLE from a given spacecraft state and a template TLE.
-
-
-
Field Detail
-
EPSILON_DEFAULT
public static final double EPSILON_DEFAULT
Default value for epsilon.- See Also:
- Constant Field Values
-
MAX_ITERATIONS_DEFAULT
public static final int MAX_ITERATIONS_DEFAULT
Default value for maxIterations.- See Also:
- Constant Field Values
-
SCALE_DEFAULT
public static final double SCALE_DEFAULT
Default value for scale.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
FixedPointTleGenerationAlgorithm
@DefaultDataContext public FixedPointTleGenerationAlgorithm()
Default constructor.Uses the
default data context
as well asEPSILON_DEFAULT
,MAX_ITERATIONS_DEFAULT
,SCALE_DEFAULT
for 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 Detail
-
generate
public TLE generate(SpacecraftState state, TLE 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 generate TLE a based on the provided state and not the template TLE.
- Specified by:
generate
in 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 generate TLE a based on the provided state and not the template TLE.
- Specified by:
generate
in interfaceTleGenerationAlgorithm
- Type Parameters:
T
- type of the elements- Parameters:
state
- spacecraft statetemplateTLE
- template TLE- Returns:
- a TLE corresponding to the given state
-
-