Package gov.nasa.jpl.lighttime
Interface LightTimeProvider
- All Known Implementing Classes:
SPKLightTimeProvider
public interface LightTimeProvider
This interface provides a downleg and upleg duration given a time, the two objects, and which frame the duration
should be expressed in. The idea is that information from SPICE itself, a 'light time file' for SEQGEN, or Monte
can all be injected in and provide the values that underlie the time frame conversion functions.
-
Method Summary
-
Method Details
-
downleg
- Parameters:
t
- The time at which the light time is desiredsc_id
- The SPICE ID of the spacecraftbody_id
- The SPICE ID where one wants the downleg totime_reference
- Either 'ETT', 'ERT', or 'SCET', depending on the desired frame- Returns:
- The time it takes light to travel from the spacecraft to the body_id
-
upleg
- Parameters:
t
- The time at which the light time is desiredsc_id
- The SPICE ID of the spacecraftbody_id
- The SPICE ID where one wants the downleg totime_reference
- Either 'ETT', 'ERT', or 'SCET', depending on the desired frame- Returns:
- The time it takes light to travel from the body_id to the spacecraft
-