Class 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 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​(double epsilon,
                                                int maxIterations,
                                                double scale)
        Constructor.

        Uses the default data context.

        Parameters:
        epsilon - used to compute threshold for convergence check
        maxIterations - maximum number of iterations for convergence
        scale - 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 check
        maxIterations - maximum number of iterations for convergence
        scale - scale factor of the Fixed Point algorithm
        utc - UTC time scale
        teme - 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 interface TleGenerationAlgorithm
        Parameters:
        state - spacecraft state
        templateTLE - 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 interface TleGenerationAlgorithm
        Type Parameters:
        T - type of the elements
        Parameters:
        state - spacecraft state
        templateTLE - template TLE
        Returns:
        a TLE corresponding to the given state