Class EstimatedMeasurement<T extends ObservedMeasurement<T>>
- java.lang.Object
-
- org.orekit.estimation.measurements.EstimatedMeasurementBase<T>
-
- org.orekit.estimation.measurements.EstimatedMeasurement<T>
-
- Type Parameters:
T- the type of the measurement
- All Implemented Interfaces:
Comparable<ComparableMeasurement>,ComparableMeasurement,TimeStamped
public class EstimatedMeasurement<T extends ObservedMeasurement<T>> extends EstimatedMeasurementBase<T>
Class holding an estimated theoretical value associated to anobserved measurement.- Since:
- 8.0
- Author:
- Luc Maisonobe
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.orekit.estimation.measurements.EstimatedMeasurementBase
EstimatedMeasurementBase.Status
-
-
Constructor Summary
Constructors Constructor Description EstimatedMeasurement(EstimatedMeasurementBase<T> estimatedMeasurementBase)Constructor from measurement base.EstimatedMeasurement(T observedMeasurement, int iteration, int count, SpacecraftState[] states, TimeStampedPVCoordinates[] participants)Simple constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stream<ParameterDriver>getDerivativesDrivers()Get all the drivers with set derivatives.double[]getParameterDerivatives(ParameterDriver driver)Get the partial derivatives of thesimulated measurementwith respect to a parameter.double[]getParameterDerivatives(ParameterDriver driver, AbsoluteDate date)Get the partial derivatives of thesimulated measurementwith respect to a parameter.double[][]getStateDerivatives(int index)Get the partial derivatives of thesimulated measurementwith respect to state Cartesian coordinates.intgetStateSize()Get state size.voidsetParameterDerivatives(ParameterDriver driver, AbsoluteDate date, double... parameterDerivatives)Set the partial derivatives of thesimulated measurementwith respect to parameter.voidsetParameterDerivatives(ParameterDriver driver, TimeSpanMap<double[]> parameterDerivativesMap)Set the partial derivatives of thesimulated measurementwith respect to parameter.voidsetStateDerivatives(int index, double[]... derivatives)Set the partial derivatives of thesimulated measurementwith respect to state Cartesian coordinates.-
Methods inherited from class org.orekit.estimation.measurements.EstimatedMeasurementBase
getAppliedEffects, getCount, getDate, getEstimatedValue, getIteration, getObservedMeasurement, getObservedValue, getOriginalEstimatedValue, getParticipants, getStates, getStatus, getTimeOffset, modifyEstimatedValue, setEstimatedValue, setObservedValue, setStatus
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.orekit.estimation.measurements.ComparableMeasurement
compareTo
-
Methods inherited from interface org.orekit.time.TimeStamped
durationFrom
-
-
-
-
Constructor Detail
-
EstimatedMeasurement
public EstimatedMeasurement(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
-
EstimatedMeasurement
public EstimatedMeasurement(EstimatedMeasurementBase<T> estimatedMeasurementBase)
Constructor from measurement base.- Parameters:
estimatedMeasurementBase- estimated measurement base- Since:
- 12.1.3
-
-
Method Detail
-
getStateSize
public int getStateSize()
Get state size.Warning, the
setStateDerivatives(int, double[][])method must have been called before this method is called.- Returns:
- state size
- Since:
- 10.1
-
getStateDerivatives
public double[][] getStateDerivatives(int index)
Get the partial derivatives of thesimulated measurementwith respect to state Cartesian coordinates.- Parameters:
index- index of the state, according to thestatespassed at construction- Returns:
- partial derivatives of the simulated value (array of size
dimensionx 6)
-
setStateDerivatives
public void setStateDerivatives(int index, double[]... derivatives)Set the partial derivatives of thesimulated measurementwith respect to state Cartesian coordinates.- Parameters:
index- index of the state, according to thestatespassed at constructionderivatives- 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
-
getParameterDerivatives
public double[] getParameterDerivatives(ParameterDriver driver) throws OrekitIllegalArgumentException
Get the partial derivatives of thesimulated measurementwith respect to a parameter.- Parameters:
driver- name of the span of the driver for the parameter for which the derivative wants to be known.- Returns:
- partial derivatives of the simulated value
- Throws:
OrekitIllegalArgumentException- if parameter is unknown or OrekitIllegalStateException if this function is used on a PDriver having several values driven, in this case the methodgetParameterDerivatives(ParameterDriver, AbsoluteDate)must be called
-
getParameterDerivatives
public double[] getParameterDerivatives(ParameterDriver driver, AbsoluteDate date) throws OrekitIllegalArgumentException
Get the partial derivatives of thesimulated measurementwith respect to a parameter.- Parameters:
driver- name of the span of the driver for the parameter for which the derivative wants to be known.date- date at which the parameter derivatives wants to be known- Returns:
- partial derivatives of the simulated value
- Throws:
OrekitIllegalArgumentException- if parameter is unknown
-
setParameterDerivatives
public void setParameterDerivatives(ParameterDriver driver, AbsoluteDate date, double... parameterDerivatives)
Set the partial derivatives of thesimulated measurementwith respect to parameter.- Parameters:
driver- name of the span of the driver for the parameter for which the derivative wants to be known.date- date at which the parameterDerivative wants to be setparameterDerivatives- partial derivatives with respect to parameter
-
setParameterDerivatives
public void setParameterDerivatives(ParameterDriver driver, TimeSpanMap<double[]> parameterDerivativesMap)
Set the partial derivatives of thesimulated measurementwith respect to parameter.- Parameters:
driver- driver for the parameterparameterDerivativesMap- partial derivatives with respect to parameter
-
-