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(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 measurement
with respect to a parameter.double[]
getParameterDerivatives(ParameterDriver driver, AbsoluteDate date)
Get the partial derivatives of thesimulated measurement
with respect to a parameter.double[][]
getStateDerivatives(int index)
Get the partial derivatives of thesimulated measurement
with respect to state Cartesian coordinates.int
getStateSize()
Get state size.void
setParameterDerivatives(ParameterDriver driver, AbsoluteDate date, double... parameterDerivatives)
Set the partial derivatives of thesimulated measurement
with respect to parameter.void
setParameterDerivatives(ParameterDriver driver, TimeSpanMap<double[]> parameterDerivativesMap)
Set the partial derivatives of thesimulated measurement
with respect to parameter.void
setStateDerivatives(int index, double[]... derivatives)
Set the partial derivatives of thesimulated measurement
with respect to state Cartesian coordinates.-
Methods inherited from class org.orekit.estimation.measurements.EstimatedMeasurementBase
getCount, getDate, getEstimatedValue, getIteration, getObservedMeasurement, getObservedValue, getParticipants, getStates, getStatus, getTimeOffset, setEstimatedValue, 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
-
-
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 measurement
with respect to state Cartesian coordinates.- Parameters:
index
- index of the state, according to thestates
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 thesimulated measurement
with respect to state Cartesian coordinates.- Parameters:
index
- index of the state, according to thestates
passed 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 measurement
with 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 measurement
with 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 measurement
with 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 measurement
with respect to parameter.- Parameters:
driver
- driver for the parameterparameterDerivativesMap
- partial derivatives with respect to parameter
-
-