Class PythonPropagatorConverter

    • Constructor Detail

      • PythonPropagatorConverter

        public PythonPropagatorConverter()
    • Method Detail

      • pythonExtension

        public void pythonExtension​(long pythonObject)
        Part of JCC Python interface to object
      • pythonExtension

        public long pythonExtension()
        Part of JCC Python interface to object
      • pythonDecRef

        public void pythonDecRef()
        Part of JCC Python interface to object
      • convert

        public Propagator convert​(Propagator source,
                                  double timeSpan,
                                  int nbPoints,
                                  List<String> freeParameters)
        Convert a propagator into another one.
        Specified by:
        convert in interface PropagatorConverter
        Parameters:
        source - propagator to convert
        timeSpan - time span considered for conversion
        nbPoints - number of points for sampling over the time span
        freeParameters - names of the free parameters
        Returns:
        adapted propagator
      • convert

        public Propagator convert​(Propagator source,
                                  double timeSpan,
                                  int nbPoints,
                                  String... freeParameters)
        Convert a propagator into another one.
        Specified by:
        convert in interface PropagatorConverter
        Parameters:
        source - propagator to convert
        timeSpan - time span considered for conversion
        nbPoints - number of points for sampling over the time span
        freeParameters - names of the free parameters
        Returns:
        adapted propagator
      • convert

        public Propagator convert​(List<SpacecraftState> states,
                                  boolean positionOnly,
                                  List<String> freeParameters)
        Find the propagator that minimize the mean square error for a sample of states.
        Specified by:
        convert in interface PropagatorConverter
        Parameters:
        states - spacecraft states sample to fit
        positionOnly - if true, consider only position data otherwise both position and velocity are used
        freeParameters - names of the free parameters
        Returns:
        adapted propagator
      • convert

        public Propagator convert​(List<SpacecraftState> states,
                                  boolean positionOnly,
                                  String... freeParameters)
        Find the propagator that minimize the mean square error for a sample of states.
        Specified by:
        convert in interface PropagatorConverter
        Parameters:
        states - spacecraft states sample to fit
        positionOnly - if true, consider only position data otherwise both position and velocity are used
        freeParameters - names of the free parameters
        Returns:
        adapted propagator