Package org.orekit.utils
Class CartesianCovarianceUtils
- java.lang.Object
-
- org.orekit.utils.CartesianCovarianceUtils
-
public class CartesianCovarianceUtils extends Object
Utility class for conversions related to Cartesian covariance matrices.- Since:
- 12.2
- Author:
- Romain Serra
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static 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 Detail
-
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 frameoutputFrame- output framecovarianceMatrix- position-velocity covariance matrix in reference framedate- epoch- 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:
position- position vector in reference framevelocity- velocity vector in reference framecovarianceMatrix- position-velocity covariance matrix in local framelofType- input local orbital frame- Returns:
- converted covariance matrix
-
-