Class EstimatedMeasurement<T extends ObservedMeasurement<T>>

    • Constructor Detail

      • EstimatedMeasurement

        public EstimatedMeasurement​(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
    • 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
      • 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
      • getEstimatedValue

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

        public void setEstimatedValue​(double... estimatedValue)
        Set the estimated value.
        Parameters:
        estimatedValue - estimated value
      • getCurrentWeight

        @Deprecated
        public double[] getCurrentWeight()
        Deprecated.
        as of 9.2, weight should not be changed anymore, rejected measurements are identified by their status
        Get the current weight.

        By default, the current weight is measurement base weight.

        Returns:
        current weight
      • setCurrentWeight

        @Deprecated
        public void setCurrentWeight​(double... currentWeight)
        Deprecated.
        as of 9.2, weight should not be changed anymore, rejected measurements are identified by their status
        Set the current weight.
        Parameters:
        currentWeight - current weight
      • getStateDerivatives

        public double[][] getStateDerivatives​(int index)
        Get the partial derivatives of the simulated measurement with respect to state Cartesian coordinates.
        Parameters:
        index - index of the state, according to the states passed at construction
        Returns:
        partial derivatives of the simulated value (array of size dimension x 6)
      • setStateDerivatives

        public void setStateDerivatives​(int index,
                                        double[]... derivatives)
        Set the partial derivatives of the simulated measurement with respect to state Cartesian coordinates.
        Parameters:
        index - index of the state, according to the states passed at construction
        derivatives - partial derivatives with respect to state
      • getDerivativesDrivers

        public Stream<ParameterDriver> getDerivativesDrivers()
        Get all the drivers with set derivatives.
        Returns:
        all the drivers with set derivatives
        Since:
        9.0
      • setParameterDerivatives

        public void setParameterDerivatives​(ParameterDriver driver,
                                            double... parameterDerivatives)
        Set the partial derivatives of the simulated measurement with respect to parameter.
        Parameters:
        driver - driver for the parameter
        parameterDerivatives - partial derivatives with respect to parameter