Class PythonComparableMeasurement
- java.lang.Object
-
- org.orekit.estimation.measurements.PythonComparableMeasurement
-
- All Implemented Interfaces:
Comparable<ComparableMeasurement>
,ComparableMeasurement
,TimeStamped
public class PythonComparableMeasurement extends Object implements ComparableMeasurement
-
-
Constructor Summary
Constructors Constructor Description PythonComparableMeasurement()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(ComparableMeasurement other)
Extension point for Python.void
finalize()
Part of JCC Python interface to objectAbsoluteDate
getDate()
Get the date.double[]
getObservedValue()
Get the observed value.void
pythonDecRef()
Part of JCC Python interface to objectlong
pythonExtension()
Part of JCC Python interface to objectvoid
pythonExtension(long pythonObject)
Part of JCC Python interface to object-
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.orekit.time.TimeStamped
durationFrom
-
-
-
-
Method Detail
-
pythonExtension
public void pythonExtension(long pythonObject)
Part of JCC Python interface to object
-
pythonExtension
public long pythonExtension()
Part of JCC Python interface to object
-
finalize
public void finalize() throws Throwable
Part of JCC Python interface to object
-
pythonDecRef
public void pythonDecRef()
Part of JCC Python interface to object
-
getObservedValue
public double[] getObservedValue()
Get the observed value.The observed value is the value that was measured by the instrument.
- Specified by:
getObservedValue
in interfaceComparableMeasurement
- Returns:
- observed value (array of size
#getDimension()
-
compareTo
public int compareTo(ComparableMeasurement other)
Measurements comparison is primarily chronological, but measurements with the same date are sorted based on the observed value. Even if they have the same value too, they will not be considered equal if they correspond to different instances. This allows to store measurements in
Extension point for Python.SortedSet
without losing any measurements, even redundant ones.Measurements comparison is primarily chronological, but measurements with the same date are sorted based on the observed value. Even if they have the same value too, they will not be considered equal if they correspond to different instances. This allows to store measurements in
SortedSet
without losing any measurements, even redundant ones.- Specified by:
compareTo
in interfaceComparable<ComparableMeasurement>
- Specified by:
compareTo
in interfaceComparableMeasurement
- Parameters:
other
-
-
getDate
public AbsoluteDate getDate()
Get the date. Extension point for Python.- Specified by:
getDate
in interfaceTimeStamped
- Returns:
- date attached to the object
-
-