Class Position

    • Constructor Detail

      • Position

        public Position​(AbsoluteDate date,
                        Vector3D position,
                        double sigmaPosition,
                        double baseWeight,
                        ObservableSatellite satellite)
        Constructor with one double for the standard deviation.

        The double is the position's standard deviation, common to the 3 position's components.

        The measurement must be in the orbit propagation frame.

        Parameters:
        date - date of the measurement
        position - position
        sigmaPosition - theoretical standard deviation on position components
        baseWeight - base weight
        satellite - satellite related to this measurement
        Since:
        9.3
      • Position

        public Position​(AbsoluteDate date,
                        Vector3D position,
                        double[] sigmaPosition,
                        double baseWeight,
                        ObservableSatellite satellite)
        Constructor with one vector for the standard deviation.

        The 3-sized vector represents the square root of the diagonal elements of the covariance matrix.

        The measurement must be in the orbit propagation frame.

        Parameters:
        date - date of the measurement
        position - position
        sigmaPosition - 3-sized vector of the standard deviations of the position
        baseWeight - base weight
        satellite - satellite related to this measurement
        Since:
        9.3
      • Position

        public Position​(AbsoluteDate date,
                        Vector3D position,
                        double[][] covarianceMatrix,
                        double baseWeight,
                        ObservableSatellite satellite)
        Constructor with full covariance matrix and all inputs.

        The fact that the covariance matrix is symmetric and positive definite is not checked.

        The measurement must be in the orbit propagation frame.

        Parameters:
        date - date of the measurement
        position - position
        covarianceMatrix - 3x3 covariance matrix of the position only measurement
        baseWeight - base weight
        satellite - satellite related to this measurement
        Since:
        9.3
    • Method Detail

      • getPosition

        public Vector3D getPosition()
        Get the position.
        Returns:
        position
      • getCovarianceMatrix

        public double[][] getCovarianceMatrix()
        Get the covariance matrix.
        Returns:
        the covariance matrix
      • getCorrelationCoefficientsMatrix

        public double[][] getCorrelationCoefficientsMatrix()
        Get the correlation coefficients matrix.

        This is the 3x3 matrix M such that:

        Mij = Pij/(σi.σj)

        Where:

        • P is the covariance matrix
        • σi is the i-th standard deviation (σi² = Pii)
        Returns:
        the correlation coefficient matrix (3x3)