Class KalmanModel

    • Constructor Detail

      • KalmanModel

        public KalmanModel​(List<PropagatorBuilder> propagatorBuilders,
                           List<CovarianceMatrixProvider> covarianceMatricesProviders,
                           ParameterDriversList estimatedMeasurementParameters,
                           CovarianceMatrixProvider measurementProcessNoiseMatrix)
        Kalman process model constructor.
        Parameters:
        propagatorBuilders - propagators builders used to evaluate the orbits.
        covarianceMatricesProviders - providers for covariance matrices
        estimatedMeasurementParameters - measurement parameters to estimate
        measurementProcessNoiseMatrix - provider for measurement process noise matrix
    • Method Detail

      • updateReferenceTrajectories

        protected void updateReferenceTrajectories​(Propagator[] propagators)
        Update the reference trajectories using the propagators as input.
        Parameters:
        propagators - The new propagators to use
      • finalizeEstimation

        public void finalizeEstimation​(ObservedMeasurement<?> observedMeasurement,
                                       ProcessEstimate estimate)
        Finalize estimation.
        Parameters:
        observedMeasurement - measurement that has just been processed
        estimate - corrected estimate
      • getReferenceTrajectories

        public Propagator[] getReferenceTrajectories()
        Getter for the reference trajectories.
        Returns:
        the referencetrajectories
      • setReferenceTrajectories

        public void setReferenceTrajectories​(Propagator[] referenceTrajectories)
        Setter for the reference trajectories.
        Parameters:
        referenceTrajectories - the reference trajectories to be setted
      • getPhysicalStateTransitionMatrix

        public RealMatrix getPhysicalStateTransitionMatrix()
        Get physical state transition matrix between previous state and estimated (but not yet corrected) state.
        Specified by:
        getPhysicalStateTransitionMatrix in interface KalmanEstimation
        Returns:
        state transition matrix between previous state and estimated state (but not yet corrected) (may be null for initial process estimate)
      • getPhysicalMeasurementJacobian

        public RealMatrix getPhysicalMeasurementJacobian()
        Get the physical Jacobian of the measurement with respect to the state (H matrix).
        Specified by:
        getPhysicalMeasurementJacobian in interface KalmanEstimation
        Returns:
        physical Jacobian of the measurement with respect to the state (may be null for initial process estimate or if the measurement has been ignored)
      • getPhysicalInnovationCovarianceMatrix

        public RealMatrix getPhysicalInnovationCovarianceMatrix()
        Get the physical innovation covariance matrix.
        Specified by:
        getPhysicalInnovationCovarianceMatrix in interface KalmanEstimation
        Returns:
        physical innovation covariance matrix (may be null for initial process estimate or if the measurement has been ignored)
      • getPhysicalKalmanGain

        public RealMatrix getPhysicalKalmanGain()
        Get the physical Kalman gain matrix.
        Specified by:
        getPhysicalKalmanGain in interface KalmanEstimation
        Returns:
        Kalman gain matrix (may be null for initial process estimate or if the measurement has been ignored)
      • getCurrentMeasurementNumber

        public int getCurrentMeasurementNumber()
        Get the current measurement number.
        Specified by:
        getCurrentMeasurementNumber in interface KalmanEstimation
        Returns:
        current measurement number
      • getEstimate

        public ProcessEstimate getEstimate()
        Get the current corrected estimate.
        Returns:
        current corrected estimate
      • getBuilders

        public List<PropagatorBuilder> getBuilders()
        Getter for the propagators.
        Returns:
        the propagators
      • getEstimatedPropagators

        public Propagator[] getEstimatedPropagators()
        Get the propagators estimated with the values set in the propagators builders.
        Returns:
        propagators based on the current values in the builder
      • getNormalizedProcessNoise

        protected RealMatrix getNormalizedProcessNoise​(int stateDimension)
      • getOrbitsStartColumns

        protected int[] getOrbitsStartColumns()
      • getPropagationParameterColumns

        protected Map<String,​Integer> getPropagationParameterColumns()
      • getMeasurementParameterColumns

        protected Map<String,​Integer> getMeasurementParameterColumns()
      • getEstimatedPropagationParametersArray

        protected ParameterDriversList[] getEstimatedPropagationParametersArray()
      • getEstimatedOrbitalParametersArray

        protected ParameterDriversList[] getEstimatedOrbitalParametersArray()
      • getCovarianceIndirection

        protected int[][] getCovarianceIndirection()
      • getScale

        protected double[] getScale()
      • setCorrectedEstimate

        protected void setCorrectedEstimate​(ProcessEstimate correctedEstimate)
      • getReferenceDate

        protected AbsoluteDate getReferenceDate()
      • incrementCurrentMeasurementNumber

        protected void incrementCurrentMeasurementNumber()
      • setCurrentDate

        public void setCurrentDate​(AbsoluteDate currentDate)
      • setCorrectedSpacecraftState

        protected void setCorrectedSpacecraftState​(SpacecraftState correctedSpacecraftState,
                                                   int index)
      • setPredictedSpacecraftState

        protected void setPredictedSpacecraftState​(SpacecraftState predictedSpacecraftState,
                                                   int index)
      • setPredictedMeasurement

        protected void setPredictedMeasurement​(EstimatedMeasurement<?> predictedMeasurement)
      • setCorrectedMeasurement

        protected void setCorrectedMeasurement​(EstimatedMeasurement<?> correctedMeasurement)