Class PythonPropagatorConverter
- java.lang.Object
-
- org.orekit.propagation.conversion.PythonPropagatorConverter
-
- All Implemented Interfaces:
PropagatorConverter
public class PythonPropagatorConverter extends Object implements PropagatorConverter
-
-
Constructor Summary
Constructors Constructor Description PythonPropagatorConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Propagator
convert(List<SpacecraftState> states, boolean positionOnly, String... freeParameters)
Find the propagator that minimize the mean square error for a sample ofstates
.Propagator
convert(List<SpacecraftState> states, boolean positionOnly, List<String> freeParameters)
Find the propagator that minimize the mean square error for a sample ofstates
.Propagator
convert(Propagator source, double timeSpan, int nbPoints, String... freeParameters)
Convert a propagator into another one.Propagator
convert(Propagator source, double timeSpan, int nbPoints, List<String> freeParameters)
Convert a propagator into another one.void
finalize()
Part of JCC Python interface to objectvoid
pythonDecRef()
Part of JCC Python interface to objectlong
pythonExtension()
Part of JCC Python interface to objectvoid
pythonExtension(long pythonObject)
Part of JCC Python interface to object
-
-
-
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
-
finalize
public void finalize() throws Throwable
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 interfacePropagatorConverter
- Parameters:
source
- propagator to converttimeSpan
- time span considered for conversionnbPoints
- number of points for sampling over the time spanfreeParameters
- 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 interfacePropagatorConverter
- Parameters:
source
- propagator to converttimeSpan
- time span considered for conversionnbPoints
- number of points for sampling over the time spanfreeParameters
- 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 ofstates
.- Specified by:
convert
in interfacePropagatorConverter
- Parameters:
states
- spacecraft states sample to fitpositionOnly
- if true, consider only position data otherwise both position and velocity are usedfreeParameters
- 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 ofstates
.- Specified by:
convert
in interfacePropagatorConverter
- Parameters:
states
- spacecraft states sample to fitpositionOnly
- if true, consider only position data otherwise both position and velocity are usedfreeParameters
- names of the free parameters- Returns:
- adapted propagator
-
-