Package org.orekit.files.ilrs
Class CRD.RangeMeasurement
- java.lang.Object
-
- org.orekit.files.ilrs.CRD.RangeMeasurement
-
- All Implemented Interfaces:
TimeStamped
- Enclosing class:
- CRD
public static class CRD.RangeMeasurement extends Object implements TimeStamped
Range record.
-
-
Constructor Summary
Constructors Constructor Description RangeMeasurement(AbsoluteDate date, double timeOfFlight, int epochEvent)
Constructor.RangeMeasurement(AbsoluteDate date, double timeOfFlight, int epochEvent, double snr)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AbsoluteDate
getDate()
Get the date.int
getEpochEvent()
Get the indicator for the time event reference.double
getSnr()
Get the signal to noise ratio.double
getTimeOfFlight()
Get the time-of-flight.
-
-
-
Constructor Detail
-
RangeMeasurement
public RangeMeasurement(AbsoluteDate date, double timeOfFlight, int epochEvent)
Constructor.- Parameters:
date
- data epochtimeOfFlight
- time of flight in secondsepochEvent
- indicates the time event reference
-
RangeMeasurement
public RangeMeasurement(AbsoluteDate date, double timeOfFlight, int epochEvent, double snr)
Constructor.- Parameters:
date
- data epochtimeOfFlight
- time of flight in secondsepochEvent
- indicates the time event referencesnr
- signal to noise ratio (can be Double.NaN if unkonwn)
-
-
Method Detail
-
getTimeOfFlight
public double getTimeOfFlight()
Get the time-of-flight.- Returns:
- the time-of-flight in seconds
-
getEpochEvent
public int getEpochEvent()
Get the indicator for the time event reference.- 0 = ground receive time (at SRP) (two-way)
- 1 = spacecraft bounce time (two-way)
- 2 = ground transmit time (at SRP) (two-way)
- 3 = spacecraft receive time (one-way)
- 4 = spacecraft transmit time (one-way)
- 5 = ground transmit time (at SRP) and spacecraft receive time (one-way)
- 6 = spacecraft transmit time and ground receive time (at SRP) (one-way)
- Returns:
- the indicator for the time event reference
-
getSnr
public double getSnr()
Get the signal to noise ratio.- Returns:
- the signal to noise ratio
-
getDate
public AbsoluteDate getDate()
Get the date.- Specified by:
getDate
in interfaceTimeStamped
- Returns:
- date attached to the object
-
-