Class EstimatedMeasurementBase<T extends ObservedMeasurement<T>>

    • Constructor Detail

      • EstimatedMeasurementBase

        public EstimatedMeasurementBase​(T observedMeasurement,
                                        int iteration,
                                        int count,
                                        SpacecraftState[] states,
                                        TimeStampedPVCoordinates[] participants)
        Simple constructor.
        Parameters:
        observedMeasurement - associated observed measurement
        iteration - iteration number
        count - evaluations counter
        states - states of the spacecrafts
        participants - coordinates of the participants in signal travel order in inertial frame of first state
    • Method Detail

      • getObservedMeasurement

        public T getObservedMeasurement()
        Get the associated observed measurement.
        Returns:
        associated observed measurement
      • getIteration

        public int getIteration()
        Get the iteration number.
        Returns:
        iteration number
      • getCount

        public int getCount()
        Get the evaluations counter.
        Returns:
        evaluations counter
      • getStates

        public SpacecraftState[] getStates()
        Get the states of the spacecrafts.
        Returns:
        states of the spacecrafts
      • getParticipants

        public TimeStampedPVCoordinates[] getParticipants()
        Get the coordinates of the measurements participants in signal travel order.

        First participant (at index 0) emits the signal (it is for example a ground station for two-way range measurement). Last participant receives the signal (it is also the ground station for two-way range measurement, but a few milliseconds later). Intermediate participants relfect the signal (it is the spacecraft for two-way range measurement).

        Returns:
        coordinates of the measurements participants in signal travel order in inertial frame of first state
      • getTimeOffset

        public double getTimeOffset()
        Get the time offset from first state date to measurement date.
        Returns:
        time offset from first state date to measurement date
      • getObservedValue

        public double[] getObservedValue()
        Get the observed value.

        The observed value is the value that was measured by the instrument.

        Specified by:
        getObservedValue in interface ComparableMeasurement
        Returns:
        observed value
      • setObservedValue

        public void setObservedValue​(double[] observed)
        Set the observed value.

        The observed value is the value that was measured by the instrument.

        Specified by:
        setObservedValue in interface ComparableMeasurement
        Parameters:
        observed - observed value
      • getOriginalEstimatedValue

        public double[] getOriginalEstimatedValue()
        Get the original estimated value prior to any modification.
        Returns:
        original estimated value prior to any modification
        Since:
        12.1
      • getAppliedEffects

        public Map<EstimationModifier<T>,​double[]> getAppliedEffects()
        Get the applied effects of modifiers.

        The effects have already accounted for in getEstimatedValue()

        Returns:
        applied modifier effects
        Since:
        12.1
      • getEstimatedValue

        public double[] getEstimatedValue()
        Get the estimated value.
        Returns:
        estimated value
      • modifyEstimatedValue

        public void modifyEstimatedValue​(EstimationModifier<T> modifier,
                                         double... newEstimatedValue)
        Modify the estimated value.
        Parameters:
        modifier - modifier that generates this estimated value
        newEstimatedValue - new estimated value
        Since:
        12.1