ssapy_toolkit.SSAPy_wrappers.ssapy_orbits

Functions

get_similar_orbits(r0, v0[, rad, ...])

Generate similar trajectories by perturbing the initial position on a circle (via ssapy.utils.points_on_circle).

ssapy_orbit([orbit, a, e, i, pa, raan, ta, ...])

Always returns (r_out, v_out, t_out).

ssapy_orbit_incremented([orbit, a, e, i, ...])

Incremental propagation (step-by-step).

ssapy_toolkit.SSAPy_wrappers.ssapy_orbits.get_similar_orbits(r0, v0, rad=100000.0, num_orbits=4, duration=(90, 'day'), freq=(1, 'hour'), t0='2025-01-01', mass=250.0, CD=2.3, CR=1.3, area=None, integration_timestep=10.0, prop=None)[source]

Generate similar trajectories by perturbing the initial position on a circle (via ssapy.utils.points_on_circle).

Returns:

trajectories: array of shape (n_times, 6, num_orbits) where [:,0:3,:]=r and [:,3:6,:]=v t_out: times (Astropy Time array)

ssapy_toolkit.SSAPy_wrappers.ssapy_orbits.ssapy_orbit(orbit=None, a=None, e=0, i=0, pa=0, raan=0, ta=0, r=None, v=None, duration=(1, 'day'), freq=(1, 'min'), t0='2025-01-01', t=None, prop=None, propkw=None, integration_timestep=None, mass=250.0, area=0.022, CD=2.3, CR=1.3)[source]

Always returns (r_out, v_out, t_out).

  • If t is provided, it is used directly and returned as t_out.

  • If t is None, it is generated via get_times(duration,freq,t0) and returned.

IMPORTANT: prop defaults to None (do not call ssapy_prop() in the signature). If prop is None, this function will call ssapy_prop(…) from your module.

ssapy_toolkit.SSAPy_wrappers.ssapy_orbits.ssapy_orbit_incremented(orbit=None, a=None, e=0, i=0, pa=0, raan=0, ta=0, r=None, v=None, duration=(30, 'day'), freq=(1, 'hr'), t0='2025-01-01', t=None, prop=None, propkw=None, integration_timestep=None, mass=250.0, area=0.022, CD=2.3, CR=1.3, plot=False)[source]

Incremental propagation (step-by-step).

Always returns (r_hist, v_hist, t_out).

  • If t is provided, it is used directly and returned as t_out.

  • If t is None, it is generated via get_times(duration,freq,t0) and returned.