Class PythonMatricesHarvester
- java.lang.Object
-
- org.orekit.propagation.PythonMatricesHarvester
-
- All Implemented Interfaces:
MatricesHarvester
public class PythonMatricesHarvester extends Object implements MatricesHarvester
-
-
Constructor Summary
Constructors Constructor Description PythonMatricesHarvester()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
finalize()
Part of JCC Python interface to objectList<String>
getJacobiansColumnsNames()
Get the names of the parameters in the matrix returned bygetParametersJacobian(org.orekit.propagation.SpacecraftState)
.OrbitType
getOrbitType()
Get the orbit type used for the matrix computation.RealMatrix
getParametersJacobian(SpacecraftState state)
Get the Jacobian with respect to propagation parameters.PositionAngleType
getPositionAngleType()
Get the position angle used for the matrix computation.RealMatrix
getStateTransitionMatrix(SpacecraftState state)
Extract state transition matrix from state.void
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 objectvoid
setReferenceState(SpacecraftState reference)
Set up reference state.
-
-
-
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
-
setReferenceState
public void setReferenceState(SpacecraftState reference)
Set up reference state.This method is called whenever the global propagation reference state changes. This corresponds to the start of propagation in batch least squares orbit determination or at prediction step for each measurement in Kalman filtering. Its goal is to allow the harvester to compute some internal data. Analytical models like TLE use it to compute analytical derivatives, semi-analytical models like DSST use it to compute short periodic terms, numerical models do not use it at all.
- Specified by:
setReferenceState
in interfaceMatricesHarvester
- Parameters:
reference
- reference state to set
-
getStateTransitionMatrix
public RealMatrix getStateTransitionMatrix(SpacecraftState state)
Extract state transition matrix from state.- Specified by:
getStateTransitionMatrix
in interfaceMatricesHarvester
- Parameters:
state
- spacecraft state- Returns:
- state transition matrix, with semantics consistent with propagation,
or null if no state transition matrix is available
orbit type
.
-
getParametersJacobian
public RealMatrix getParametersJacobian(SpacecraftState state)
Get the Jacobian with respect to propagation parameters.- Specified by:
getParametersJacobian
in interfaceMatricesHarvester
- Parameters:
state
- spacecraft state- Returns:
- Jacobian with respect to propagation parameters, or null if there are no parameters
-
getJacobiansColumnsNames
public List<String> getJacobiansColumnsNames()
Get the names of the parameters in the matrix returned bygetParametersJacobian(org.orekit.propagation.SpacecraftState)
.Beware that the names of the parameters are fully known only once all force models have been set up and their parameters properly selected. Applications that retrieve the matrices harvester first and select the force model parameters to retrieve afterwards (but obviously before starting propagation) must take care to wait until the parameters have been set up before they call this method. Calling the method too early would return wrong results.
The names are returned in the Jacobians matrix columns order
- Specified by:
getJacobiansColumnsNames
in interfaceMatricesHarvester
- Returns:
- names of the parameters (i.e. columns) of the Jacobian matrix
-
getOrbitType
public OrbitType getOrbitType()
Description copied from interface:MatricesHarvester
Get the orbit type used for the matrix computation.- Specified by:
getOrbitType
in interfaceMatricesHarvester
- Returns:
- the orbit type used for the matrix computation
-
getPositionAngleType
public PositionAngleType getPositionAngleType()
Description copied from interface:MatricesHarvester
Get the position angle used for the matrix computation.Irrelevant if
MatricesHarvester.getOrbitType()
returnsOrbitType.CARTESIAN
.- Specified by:
getPositionAngleType
in interfaceMatricesHarvester
- Returns:
- the position angle used for the matrix computation
-
-