ssapy_toolkit.Orbital_Mechanics

Core orbital mechanics utilities (Keplerian, transfers, and fits).

Modules

all_orbit_quanities

burn_to_deltav(orbit, times, burn_ntw)

Compare continuous finite-duration NTW acceleration vs an instantaneous impulse applied at the mid-time of times.

calculate_finite_burn_acceleration(delta_v, ...)

Calculate the acceleration to approximate an instantaneous orbital transfer with a finite burn.

deltav_to_burn(orbit, times, delta_v_ntw)

Use a constant NTW acceleration across times such that a*duration = delta_v_ntw, and compare continuous vs impulsive results.

ellipse_fit(P1_m, P2_m, *[, a_m, e, F2_m, ...])

ellipse_from_rv(r, v[, num, f_span, t0])

Sample num points on the conic (ellipse / parabola / hyperbola) defined by state vector (r, v).

ellipse_inject(r, v, gamma)

equally_spaced_ta(n_samples[, orbit, a, e, ...])

Compute true anomalies (ta) for points approximately equally spaced by arc length around an elliptical orbit.

gamma_and_heading

keplerian

Keplerian orbital element conversions and utilities.

lagrange_points

launch_pads

dict() -> new empty dictionary dict(mapping) -> new dictionary initialized from a mapping object's (key, value) pairs dict(iterable) -> new dictionary initialized as if via: d = {} for k, v in iterable: d[k] = v dict(**kwargs) -> new dictionary initialized with the name=value pairs in the keyword argument list. For example: dict(one=1, two=2).

misc

orbital_accel_model_comparisons

SSAPy acceleration-ladder runner + accel-ladder-specific divergence dashboard.

orbital_comparison_stats

rv_to_ellipse(r, v, *[, t0, num, mu, R_body])

Return the ellipse-arc dictionary used by ellipse_arc.py.

synthetic_orbit_population(*[, M, N, dt, ...])

Create a synthetic ensemble (population) of SSAPy Orbit objects and sampled r(t), v(t) time series by perturbing all 6 classical Keplerian elements.

transfer_coplanar(*args[, r1, v1, r2, v2, ...])

Coplanar transfer shooter: enforces Δv lies in the plane of the initial orbit.

transfer_coplanar_continuous(r1, v1, r2[, ...])

Continuous‐thrust, coplanar transfer: thrust always lies in the initial orbital plane (normal = r1×v1), steering to rendezvous r2 (and optionally v2).

transfer_hohmann(*args[, r1, v1, r2, v2, ...])

Compute a Hohmann transfer between two orbits and return orbital parameters and delta-V.

transfer_inclination_continuous(r0, v0[, ...])

transfer_lambertian(*args[, r1, v1, r2, v2, ...])

Find transfer conic connecting r1 and r2, ensuring transfer arc stays above MIN_PERIGEE.

transfer_rendezvous(orbit1, orbit2[, tol, ...])

Finds the delta-v that leads to a transfer rendezvous with a moving target orbit.

transfer_shooter(*args[, r1, v1, r2, v2, ...])

Finds an initial delta-v that will lead to a transfer orbit with an arrival position within tol (in meters) of the target position r2.

transfer_shooter_continuous

transfer_velocity_and_inclination_continuous(r0, ...)

transfer_velocity_continuous(r0, v0[, ...])

Burn continuously in velocity direction until a specific accumulated delta_v magnitude is reached.