From 5a1539eac5bedc92388ea12ea760edbcf4d14083 Mon Sep 17 00:00:00 2001 From: GC <865-g.c@users.noreply.gitlab.orekit.org> Date: Thu, 21 Jul 2022 17:30:30 +0200 Subject: [PATCH 1/2] Added description to RTN covariance --- .../java/org/orekit/files/ccsds/ndm/cdm/RTNCovariance.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/java/org/orekit/files/ccsds/ndm/cdm/RTNCovariance.java b/src/main/java/org/orekit/files/ccsds/ndm/cdm/RTNCovariance.java index d602d3a89..a1a308fc4 100644 --- a/src/main/java/org/orekit/files/ccsds/ndm/cdm/RTNCovariance.java +++ b/src/main/java/org/orekit/files/ccsds/ndm/cdm/RTNCovariance.java @@ -25,6 +25,8 @@ import org.orekit.files.ccsds.section.CommentsContainer; * attribute which can be acces with getRTNCovariaxMatrix method. Beware that * there are thus 2 ways to modify the RTN covariance : setC... ( setCrr, * setCtr ...) which should be prioritized and getRTNCovariaxMatrix.setEntry(row, col, value). + *
The RTN Covariance Matrix is provided in the 9×9 Lower Triangular Form. All parameters of the 6×6 position/velocity submatrix + * are mandatory. The remaining elements will return NaN if not provided.
* @author Melina Vanel * @since 11.2 */ @@ -90,6 +92,8 @@ public class RTNCovariance extends CommentsContainer { /** * Get the RTN covariance matrix. + *The RTN Covariance Matrix is provided in the 9×9 Lower Triangular Form. All parameters of the 6×6 position/velocity submatrix + * are mandatory. The remaining elements will return NaN if not provided.
* @return the RTN covariance matrix */ public RealMatrix getRTNCovarianceMatrix() { -- GitLab From d180244ba16225863709829940631260ba2bef24 Mon Sep 17 00:00:00 2001 From: GC <865-g.c@users.noreply.gitlab.orekit.org> Date: Fri, 22 Jul 2022 09:40:49 +0200 Subject: [PATCH 2/2] Updates to RTNCovariance javadoc. --- src/main/java/org/orekit/files/ccsds/ndm/cdm/CdmData.java | 2 ++ src/main/java/org/orekit/files/ccsds/ndm/cdm/RTNCovariance.java | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/main/java/org/orekit/files/ccsds/ndm/cdm/CdmData.java b/src/main/java/org/orekit/files/ccsds/ndm/cdm/CdmData.java index b158c457b..b6b3cb707 100644 --- a/src/main/java/org/orekit/files/ccsds/ndm/cdm/CdmData.java +++ b/src/main/java/org/orekit/files/ccsds/ndm/cdm/CdmData.java @@ -104,6 +104,8 @@ public class CdmData implements Data { } /** Get the covariance matrix logical block. + *The RTN Covariance Matrix is provided in the 9×9 Lower Triangular Form. All parameters of the 6×6 position/velocity submatrix + * are mandatory. The remaining elements will return NaN if not provided.
* @return covariance matrix block */ public RTNCovariance getRTNCovarianceBlock() { diff --git a/src/main/java/org/orekit/files/ccsds/ndm/cdm/RTNCovariance.java b/src/main/java/org/orekit/files/ccsds/ndm/cdm/RTNCovariance.java index a1a308fc4..a827c9723 100644 --- a/src/main/java/org/orekit/files/ccsds/ndm/cdm/RTNCovariance.java +++ b/src/main/java/org/orekit/files/ccsds/ndm/cdm/RTNCovariance.java @@ -38,6 +38,8 @@ public class RTNCovariance extends CommentsContainer { /** Simple constructor. To update matrix value there are 2 ways to modify the RTN * covariance : setC... ( setCrr, setCtr ...) which should be prioritized and * getRTNCovariaxMatrix.setEntry(row, col, value). + *The RTN Covariance Matrix is provided in the 9×9 Lower Triangular Form. All parameters of the 6×6 position/velocity submatrix + * are mandatory. The remaining elements will return NaN if not provided.
*/ public RTNCovariance() { covarianceMatrix = MatrixUtils.createRealMatrix(9, 9); -- GitLab