satkit.time.time
AbsoluteDate extended class.
Classes
|
Extends the Orekit AbsoluteDate class with added functionality. |
- class AbsoluteDateExt(*args, **kwargs)[source]
Extends the Orekit AbsoluteDate class with added functionality.
Extends the Orekit AbsoluteDate class with added functionality.
Input can be an AbsoluteDate, datetime or the usual
AbsoluteDateinitialisation options.- durationFrom(other)[source]
This is equivalent to self.durationFrom(otherDate). Output in seconds as a Quantity object.
- Return type
Quantity- Parameters
other (type[org.orekit.time.AbsoluteDate]) –
- isCloseTo(other_date, tolerance)[source]
Check if the instance time is close to another.
- Return type
- Parameters
other_date (TimeStamped) – the instant to compare this date to
tolerance (float or Quantity) – the separation, in seconds, under which the two instants will be considered close to each other
- Returns
true if the duration between the instance and the argument is strictly below the tolerance
- Return type