Class Position
- java.lang.Object
-
- org.orekit.estimation.measurements.AbstractMeasurement<Position>
-
- org.orekit.estimation.measurements.Position
-
- All Implemented Interfaces:
Comparable<ComparableMeasurement>
,ComparableMeasurement
,ObservedMeasurement<Position>
,TimeStamped
,ParameterDriversProvider
public class Position extends AbstractMeasurement<Position>
Class modeling a position only measurement.For position-velocity measurement see
PV
.- Since:
- 9.3
- Author:
- Luc Maisonobe
- See Also:
PV
-
-
Field Summary
Fields Modifier and Type Field Description static String
MEASUREMENT_TYPE
Type of the measurement.
-
Constructor Summary
Constructors Constructor Description Position(AbsoluteDate date, Vector3D position, double[][] covarianceMatrix, double baseWeight, ObservableSatellite satellite)
Constructor with full covariance matrix and all inputs.Position(AbsoluteDate date, Vector3D position, double[] sigmaPosition, double baseWeight, ObservableSatellite satellite)
Constructor with one vector for the standard deviation.Position(AbsoluteDate date, Vector3D position, double sigmaPosition, double baseWeight, ObservableSatellite satellite)
Constructor with one double for the standard deviation.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double[][]
getCorrelationCoefficientsMatrix()
Get the correlation coefficients matrix.double[][]
getCovarianceMatrix()
Get the covariance matrix.Vector3D
getPosition()
Get the position.protected EstimatedMeasurement<Position>
theoreticalEvaluation(int iteration, int evaluation, SpacecraftState[] states)
Estimate the theoretical value.protected EstimatedMeasurementBase<Position>
theoreticalEvaluationWithoutDerivatives(int iteration, int evaluation, SpacecraftState[] states)
Estimate the theoretical value without derivatives.-
Methods inherited from class org.orekit.estimation.measurements.AbstractMeasurement
addModifier, addParameterDriver, estimate, estimateWithoutDerivatives, getBaseWeight, getCoordinates, getDate, getDimension, getModifiers, getObservedValue, getParametersDrivers, getSatellites, getTheoreticalStandardDeviation, isEnabled, setEnabled, setObservedValue, signalTimeOfFlightAdjustableEmitter, signalTimeOfFlightAdjustableEmitter, signalTimeOfFlightAdjustableEmitter, signalTimeOfFlightAdjustableEmitter, signalTimeOfFlightAdjustableReceiver, signalTimeOfFlightAdjustableReceiver, signalTimeOfFlightAdjustableReceiver, signalTimeOfFlightAdjustableReceiver
-
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.estimation.measurements.ObservedMeasurement
estimateWithoutDerivatives, getMeasurementType
-
Methods inherited from interface org.orekit.utils.ParameterDriversProvider
getNbParametersDriversValue, getParameterDriver, getParameters, getParameters, getParameters, getParameters, getParametersAllValues, getParametersAllValues, isSupported
-
Methods inherited from interface org.orekit.time.TimeStamped
durationFrom
-
-
-
-
Field Detail
-
MEASUREMENT_TYPE
public static final String MEASUREMENT_TYPE
Type of the measurement.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Position
public Position(AbsoluteDate date, Vector3D position, double sigmaPosition, double baseWeight, ObservableSatellite satellite)
Constructor with one double for the standard deviation.The double is the position's standard deviation, common to the 3 position's components.
The measurement must be in the orbit propagation frame.
- Parameters:
date
- date of the measurementposition
- positionsigmaPosition
- theoretical standard deviation on position componentsbaseWeight
- base weightsatellite
- satellite related to this measurement- Since:
- 9.3
-
Position
public Position(AbsoluteDate date, Vector3D position, double[] sigmaPosition, double baseWeight, ObservableSatellite satellite)
Constructor with one vector for the standard deviation.The 3-sized vector represents the square root of the diagonal elements of the covariance matrix.
The measurement must be in the orbit propagation frame.
- Parameters:
date
- date of the measurementposition
- positionsigmaPosition
- 3-sized vector of the standard deviations of the positionbaseWeight
- base weightsatellite
- satellite related to this measurement- Since:
- 9.3
-
Position
public Position(AbsoluteDate date, Vector3D position, double[][] covarianceMatrix, double baseWeight, ObservableSatellite satellite)
Constructor with full covariance matrix and all inputs.The fact that the covariance matrix is symmetric and positive definite is not checked.
The measurement must be in the orbit propagation frame.
- Parameters:
date
- date of the measurementposition
- positioncovarianceMatrix
- 3x3 covariance matrix of the position only measurementbaseWeight
- base weightsatellite
- satellite related to this measurement- Since:
- 9.3
-
-
Method Detail
-
getPosition
public Vector3D getPosition()
Get the position.- Returns:
- position
-
getCovarianceMatrix
public double[][] getCovarianceMatrix()
Get the covariance matrix.- Returns:
- the covariance matrix
-
getCorrelationCoefficientsMatrix
public double[][] getCorrelationCoefficientsMatrix()
Get the correlation coefficients matrix.This is the 3x3 matrix M such that:
Mij = Pij/(σi.σj)
Where:
- P is the covariance matrix
- σi is the i-th standard deviation (σi² = Pii)
- Returns:
- the correlation coefficient matrix (3x3)
-
theoreticalEvaluationWithoutDerivatives
protected EstimatedMeasurementBase<Position> theoreticalEvaluationWithoutDerivatives(int iteration, int evaluation, SpacecraftState[] states)
Estimate the theoretical value without derivatives. The default implementation uses the computation with derivatives and ought to be overwritten for performance.The theoretical value does not have any modifiers applied.
- Overrides:
theoreticalEvaluationWithoutDerivatives
in classAbstractMeasurement<Position>
- Parameters:
iteration
- iteration numberevaluation
- evaluation numberstates
- orbital states at measurement date- Returns:
- theoretical value
- See Also:
AbstractMeasurement.estimate(int, int, SpacecraftState[])
-
theoreticalEvaluation
protected EstimatedMeasurement<Position> theoreticalEvaluation(int iteration, int evaluation, SpacecraftState[] states)
Estimate the theoretical value.The theoretical value does not have any modifiers applied.
- Specified by:
theoreticalEvaluation
in classAbstractMeasurement<Position>
- Parameters:
iteration
- iteration numberevaluation
- evaluation numberstates
- orbital states at measurement date- Returns:
- theoretical value
- See Also:
AbstractMeasurement.estimate(int, int, SpacecraftState[])
-
-