Class EstimatedMeasurementBase<T extends ObservedMeasurement<T>>
java.lang.Object
org.orekit.estimation.measurements.EstimatedMeasurementBase<T>
- Type Parameters:
T- the type of the measurement
- All Implemented Interfaces:
Comparable<ComparableMeasurement>,ComparableMeasurement,TimeStamped
- Direct Known Subclasses:
EstimatedMeasurement
public class EstimatedMeasurementBase<T extends ObservedMeasurement<T>>
extends Object
implements ComparableMeasurement
Class holding an estimated theoretical value associated to an
observed measurement.- Since:
- 8.0
- Author:
- Luc Maisonobe
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumEnumerate for the status of the measurement. -
Constructor Summary
ConstructorsConstructorDescriptionEstimatedMeasurementBase(T observedMeasurement, int iteration, int count, SpacecraftState[] states, TimeStampedPVCoordinates[] participants) Simple constructor. -
Method Summary
Modifier and TypeMethodDescriptionMap<EstimationModifier<T>, double[]> Get the applied effects of modifiers.intgetCount()Get the evaluations counter.getDate()Get the date.double[]Get the estimated value.intGet the iteration number.Get the associated observed measurement.double[]Get the observed value.double[]Get the original estimated value prior to any modification.Get the coordinates of the measurements participants in signal travel order.Get the states of the spacecrafts.Get the status.doubleGet the time offset from first state date to measurement date.voidmodifyEstimatedValue(EstimationModifier<T> modifier, double... newEstimatedValue) Modify the estimated value.voidsetEstimatedValue(double... estimatedValue) Set the estimated value.voidsetObservedValue(double[] observed) Set the observed value.voidSet the status.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.orekit.estimation.measurements.ComparableMeasurement
compareToMethods inherited from interface org.orekit.time.TimeStamped
durationFrom
-
Constructor Details
-
EstimatedMeasurementBase
public EstimatedMeasurementBase(T observedMeasurement, int iteration, int count, SpacecraftState[] states, TimeStampedPVCoordinates[] participants) Simple constructor.- Parameters:
observedMeasurement- associated observed measurementiteration- iteration numbercount- evaluations counterstates- states of the spacecraftsparticipants- coordinates of the participants in signal travel order in inertial frame of first state
-
-
Method Details
-
getObservedMeasurement
Get the associated observed measurement.- Returns:
- associated observed measurement
-
getDate
Get the date.- Specified by:
getDatein interfaceTimeStamped- Returns:
- date attached to the object
-
getIteration
public int getIteration()Get the iteration number.- Returns:
- iteration number
-
getCount
public int getCount()Get the evaluations counter.- Returns:
- evaluations counter
-
getStates
Get the states of the spacecrafts.- Returns:
- states of the spacecrafts
-
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:
getObservedValuein interfaceComparableMeasurement- 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:
setObservedValuein interfaceComparableMeasurement- 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
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
-
setEstimatedValue
public void setEstimatedValue(double... estimatedValue) Set the estimated value.- Parameters:
estimatedValue- estimated value- See Also:
-
modifyEstimatedValue
Modify the estimated value.- Parameters:
modifier- modifier that generates this estimated valuenewEstimatedValue- new estimated value- Since:
- 12.1
-
getStatus
Get the status.The status is set to
PROCESSEDat construction, and can be reset toREJECTEDlater on, typically byOutlierFilterorDynamicOutlierFilter- Returns:
- status
-
setStatus
Set the status.- Parameters:
status- status to set
-