T
- the type of the measurementComparable<T>
, ComparableMeasurement
, TimeStamped
public class EstimatedMeasurement<T extends ObservedMeasurement<T>> extends Object implements ComparableMeasurement
observed measurement
.Modifier and Type | Class | Description |
---|---|---|
static class |
EstimatedMeasurement.Status |
Enumerate for the status of the measurement.
|
Constructor | Description |
---|---|
EstimatedMeasurement(T observedMeasurement,
int iteration,
int count,
SpacecraftState[] states,
TimeStampedPVCoordinates[] participants) |
Simple constructor.
|
Modifier and Type | Method | Description |
---|---|---|
int |
getCount() |
Get the evaluations counter.
|
double[] |
getCurrentWeight() |
Deprecated.
as of 9.2, weight should not be changed anymore,
rejected measurements are identified by their
status |
AbsoluteDate |
getDate() |
Get the date.
|
Stream<ParameterDriver> |
getDerivativesDrivers() |
Get all the drivers with set derivatives.
|
double[] |
getEstimatedValue() |
Get the estimated value.
|
int |
getIteration() |
Get the iteration number.
|
T |
getObservedMeasurement() |
Get the associated observed measurement.
|
double[] |
getObservedValue() |
Get the observed value.
|
double[] |
getParameterDerivatives(ParameterDriver driver) |
Get the partial derivatives of the
simulated measurement with respect to a parameter. |
TimeStampedPVCoordinates[] |
getParticipants() |
Get the coordinates of the measurements participants in signal travel order.
|
double[][] |
getStateDerivatives(int index) |
Get the partial derivatives of the
simulated measurement with respect to state Cartesian coordinates. |
SpacecraftState[] |
getStates() |
Get the states of the spacecrafts.
|
EstimatedMeasurement.Status |
getStatus() |
Get the status.
|
double |
getTimeOffset() |
Get the time offset from first state date to measurement date.
|
void |
setCurrentWeight(double... currentWeight) |
Deprecated.
as of 9.2, weight should not be changed anymore,
rejected measurements are identified by their
status |
void |
setEstimatedValue(double... estimatedValue) |
Set the estimated value.
|
void |
setParameterDerivatives(ParameterDriver driver,
double... parameterDerivatives) |
Set the partial derivatives of the
simulated measurement with respect to parameter. |
void |
setStateDerivatives(int index,
double[]... derivatives) |
Set the partial derivatives of the
simulated measurement with respect to state Cartesian coordinates. |
void |
setStatus(EstimatedMeasurement.Status status) |
Set the status.
|
compareTo
public EstimatedMeasurement(T observedMeasurement, int iteration, int count, SpacecraftState[] states, TimeStampedPVCoordinates[] participants)
observedMeasurement
- associated observed measurementiteration
- iteration numbercount
- evaluations counterstates
- states of the spacecraftsparticipants
- coordinates of the participants in signal travel order
in inertial framepublic T getObservedMeasurement()
public AbsoluteDate getDate()
getDate
in interface TimeStamped
public int getIteration()
public int getCount()
public SpacecraftState[] getStates()
public TimeStampedPVCoordinates[] getParticipants()
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).
public double getTimeOffset()
public double[] getObservedValue()
The observed value is the value that was measured by the instrument.
getObservedValue
in interface ComparableMeasurement
#getDimension()
public double[] getEstimatedValue()
public void setEstimatedValue(double... estimatedValue)
estimatedValue
- estimated value@Deprecated public double[] getCurrentWeight()
status
By default, the current weight is measurement base weight
.
@Deprecated public void setCurrentWeight(double... currentWeight)
status
currentWeight
- current weightpublic EstimatedMeasurement.Status getStatus()
The status is set to PROCESSED
at construction, and
can be reset to REJECTED
later on, typically by
OutlierFilter
or DynamicOutlierFilter
public void setStatus(EstimatedMeasurement.Status status)
status
- status to setpublic double[][] getStateDerivatives(int index)
simulated measurement
with respect to state Cartesian coordinates.index
- index of the state, according to the states
passed at constructiondimension
x 6)public void setStateDerivatives(int index, double[]... derivatives)
simulated measurement
with respect to state Cartesian coordinates.index
- index of the state, according to the states
passed at constructionderivatives
- partial derivatives with respect to statepublic Stream<ParameterDriver> getDerivativesDrivers()
public double[] getParameterDerivatives(ParameterDriver driver) throws OrekitIllegalArgumentException
simulated measurement
with respect to a parameter.driver
- driver for the parameterOrekitIllegalArgumentException
- if parameter is unknownpublic void setParameterDerivatives(ParameterDriver driver, double... parameterDerivatives)
simulated measurement
with respect to parameter.driver
- driver for the parameterparameterDerivatives
- partial derivatives with respect to parameterCopyright © 2002-2018 CS Systèmes d'information. All rights reserved.