ssapy_toolkit.Accelerations.accel_sun
Functions
|
Point-mass solar gravity in GCRF, given raw_time (same input as leapfrog). |
- ssapy_toolkit.Accelerations.accel_sun.accel_point_sun(r: ndarray, time) ndarray[source]
Point-mass solar gravity in GCRF, given raw_time (same input as leapfrog).
- Parameters:
r (array_like, shape (3,)) – Satellite position vector in GCRF (m), Earth-centered.
time (float or datetime-like or array_like) – The time array element from leapfrog (same type you passed into leapfrog).
- Returns:
a_sun – Acceleration from the Sun (m/s²).
- Return type:
ndarray, shape (3,)