Class MeasurementDecorator

  • All Implemented Interfaces:
    org.hipparchus.filtering.kalman.Measurement

    public class MeasurementDecorator
    extends Object
    implements org.hipparchus.filtering.kalman.Measurement
    Decorator adding Measurement API to an ObservedMeasurement.
    Since:
    9.2
    Author:
    Luc Maisonobe
    • Constructor Detail

      • MeasurementDecorator

        public MeasurementDecorator​(ObservedMeasurement<?> observedMeasurement,
                                    org.hipparchus.linear.RealMatrix covariance,
                                    AbsoluteDate reference)
        Simple constructor.
        Parameters:
        observedMeasurement - observed measurement
        covariance - measurement covariance
        reference - reference date
    • Method Detail

      • getObservedMeasurement

        public ObservedMeasurement<?> getObservedMeasurement()
        Get the observed measurement.
        Returns:
        observed measurement
      • getTime

        public double getTime()
        Specified by:
        getTime in interface org.hipparchus.filtering.kalman.Measurement
      • getValue

        public org.hipparchus.linear.RealVector getValue()
        Specified by:
        getValue in interface org.hipparchus.filtering.kalman.Measurement
      • getCovariance

        public org.hipparchus.linear.RealMatrix getCovariance()
        Specified by:
        getCovariance in interface org.hipparchus.filtering.kalman.Measurement