Package org.orekit.utils
Class CartesianCovarianceUtils
java.lang.Object
org.orekit.utils.CartesianCovarianceUtils
Utility class for conversions related to Cartesian covariance matrices.
- Since:
- 12.2
- Author:
- Romain Serra
-
Method Summary
Modifier and TypeMethodDescriptionstatic RealMatrixchangeReferenceFrame(Frame inputFrame, RealMatrix covarianceMatrix, AbsoluteDate date, Frame outputFrame) Convert input position-velocity covariance matrix between reference frames.static RealMatrixconvertFromLofType(LOFType lofType, RealMatrix covarianceMatrix, Vector3D position, Vector3D velocity) Convert input position-velocity covariance matrix from local frame to reference one.static RealMatrixconvertToLofType(Vector3D position, Vector3D velocity, RealMatrix covarianceMatrix, LOFType lofType) Convert input position-velocity covariance matrix from reference frame to local one.
-
Method Details
-
changeReferenceFrame
public static RealMatrix changeReferenceFrame(Frame inputFrame, RealMatrix covarianceMatrix, AbsoluteDate date, Frame outputFrame) Convert input position-velocity covariance matrix between reference frames.- Parameters:
inputFrame- input framecovarianceMatrix- position-velocity covariance matrix in reference framedate- epochoutputFrame- output frame- Returns:
- converted covariance matrix
-
convertToLofType
public static RealMatrix convertToLofType(Vector3D position, Vector3D velocity, RealMatrix covarianceMatrix, LOFType lofType) Convert input position-velocity covariance matrix from reference frame to local one.- Parameters:
position- position vector in reference framevelocity- velocity vector in reference framecovarianceMatrix- position-velocity covariance matrix in reference framelofType- output local orbital frame- Returns:
- converted covariance matrix
-
convertFromLofType
public static RealMatrix convertFromLofType(LOFType lofType, RealMatrix covarianceMatrix, Vector3D position, Vector3D velocity) Convert input position-velocity covariance matrix from local frame to reference one.- Parameters:
lofType- input local orbital framecovarianceMatrix- position-velocity covariance matrix in local frameposition- position vector in reference framevelocity- velocity vector in reference frame- Returns:
- converted covariance matrix
-