ssapy_toolkit.Accelerations.accel_deltav
- ssapy_toolkit.Accelerations.accel_deltav(dv: float, thrust_accel: float, center_idx: int, dt: float = 1.0) dict[source]
Build a Δv-based along-track accel profile centered at a given step.
- Parameters:
dv (float) – Signed total Δv to deliver (m/s). (Only its sign matters.)
thrust_accel (float) – Available constant acceleration magnitude (m/s²). Must be > 0.
center_idx (int) – Index in your time array where the burn is centered.
dt (float, optional) – Uniform timestep between your indices (s). Defaults to 1 s.
- Returns:
profile –
- A dict with keys:
’thrust’ : signed acceleration (m/s²)
’start’ : start index (int)
’end’ : end index (int)
which you can pass directly to leapfrog(…, velocity=profile).
- Return type: