ssapy_toolkit.Integrators.int_utils
Functions
|
Build an (n,) acceleration-magnitude profile aligned to t_arr. |
|
Precompute an interpolated position function for a third body (Moon/Sun/etc.). |
- ssapy_toolkit.Integrators.int_utils.build_profile(profile, t_arr)[source]
Build an (n,) acceleration-magnitude profile aligned to t_arr.
Supports: - None -> zeros - scalar -> constant - array-like length n -> pass-through - dict or list of dict segments with keys:
start, end, thrust (or accel)
where start/end can be indices or times (searched in t_arr).
tuple segments: (start, thrust) or (start, end, thrust)