Class TLETheory

  • All Implemented Interfaces:
    MeanTheory

    public class TLETheory
    extends Object
    implements MeanTheory
    TLE, i.e. SGP4/SDP4, theory for osculating to mean orbit conversion.
    Since:
    13.0
    Author:
    Pascal Parraud
    • Constructor Detail

      • TLETheory

        @DefaultDataContext
        public TLETheory()
        Constructor with default data context and default TLE template.
      • TLETheory

        @DefaultDataContext
        public TLETheory​(TLE template)
        Constructor with default data context.
        Parameters:
        template - template TLE
      • TLETheory

        @DefaultDataContext
        public TLETheory​(FieldTLE<T> template)
        Constructor with default data context.
        Type Parameters:
        T - type of the elements
        Parameters:
        template - template TLE
      • TLETheory

        public TLETheory​(DataContext dataContext)
        Constructor with default TLE template.
        Parameters:
        dataContext - data context
      • TLETheory

        public TLETheory​(TimeScale utc,
                         Frame teme)
        Constructor.
        Parameters:
        utc - UTC scale
        teme - TEME frame scale
      • TLETheory

        public TLETheory​(TLE template,
                         DataContext dataContext)
        Constructor.
        Parameters:
        template - template TLE
        dataContext - data context
      • TLETheory

        public TLETheory​(TLE template,
                         TimeScale utc,
                         Frame teme)
        Constructor.
        Parameters:
        template - template TLE
        utc - UTC scale
        teme - TEME frame scale
      • TLETheory

        public TLETheory​(FieldTLE<T> template,
                         DataContext dataContext)
        Constructor.
        Type Parameters:
        T - type of the elements
        Parameters:
        template - template TLE
        dataContext - data context
      • TLETheory

        public TLETheory​(FieldTLE<T> template,
                         TimeScale utc,
                         Frame teme)
        Constructor.
        Type Parameters:
        T - type of the elements
        Parameters:
        template - template TLE
        utc - UTC scale
        teme - TEME frame scale
    • Method Detail

      • getTheoryName

        public String getTheoryName()
        Gets the name of the theory used for osculating to mean conversion.
        Specified by:
        getTheoryName in interface MeanTheory
        Returns:
        the actual theory
      • getReferenceRadius

        public double getReferenceRadius()
        Gets reference radius of the central body (m).
        Specified by:
        getReferenceRadius in interface MeanTheory
        Returns:
        reference radius of the central body
      • preprocessing

        public Orbit preprocessing​(Orbit osculating)
        Pre-treatment of the osculating orbit to be converted.

        The osculating orbit is transformed to TEME frame.

        Specified by:
        preprocessing in interface MeanTheory
        Parameters:
        osculating - the osculating orbit to be treated
        Returns:
        preprocessed osculating orbit
      • meanToOsculating

        public Orbit meanToOsculating​(Orbit mean)
        Gets osculating orbit from mean orbit.
        Specified by:
        meanToOsculating in interface MeanTheory
        Parameters:
        mean - mean orbit
        Returns:
        osculating orbit
      • postprocessing

        public Orbit postprocessing​(Orbit osculating,
                                    Orbit mean)
        Post-treatment of the converted mean orbit.

        The mean orbit returned is a Keplerian orbit in TEME frame.

        Specified by:
        postprocessing in interface MeanTheory
        Parameters:
        osculating - the osculating orbit to be converted
        mean - the converted mean orbit
        Returns:
        postprocessed mean orbit
      • preprocessing

        public <T extends CalculusFieldElement<T>> FieldOrbit<T> preprocessing​(FieldOrbit<T> osculating)
        Pre-treatment of the osculating orbit to be converted.

        The osculating orbit is transformed to TEME frame.

        Specified by:
        preprocessing in interface MeanTheory
        Type Parameters:
        T - type of the field elements
        Parameters:
        osculating - the osculating orbit to be treated
        Returns:
        preprocessed osculating orbit
      • postprocessing

        public <T extends CalculusFieldElement<T>> FieldOrbit<T> postprocessing​(FieldOrbit<T> osculating,
                                                                                FieldOrbit<T> mean)
        Post-treatment of the converted mean orbit.

        The mean orbit returned is a Keplerian orbit in TEME frame.

        Specified by:
        postprocessing in interface MeanTheory
        Type Parameters:
        T - type of the field elements
        Parameters:
        osculating - the osculating orbit to be converted
        mean - the converted mean orbit
        Returns:
        postprocessed mean orbit