ssapy.simple

Functions to simplify certain aspects of SSAPy. For when you want a quick answer and do not need want to use high fidelity defaults.

Functions

best_prop([integration_timestep, kwargs])

Create and return an RK78Propagator with a comprehensive set of accelerations.

fourbody_prop([integration_timestep])

Create and return an RK78Propagator with a set of accelerations for a four-body problem.

get_body(name[, model])

Get a Body object for a named body.

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

Generate similar orbits by varying the initial position.

get_times(duration, freq[, t0])

Calculate a list of times spaced equally apart over a specified duration.

keplerian_prop([integration_timestep])

Create and return an RK78Propagator for a Keplerian orbit.

points_on_circle(r, v, rad[, num_points])

Generate points on a circle in 3D space.

rv(orbit, time[, propagator])

Calculate positions and velocities on the outer product of all supplied orbits and times.

ssapy_kwargs([mass, area, CD, CR])

Generate a dictionary of default parameters for a space object used in simulations.

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

Compute the orbit of a spacecraft given either Keplerian elements or position and velocity vectors.

ssapy_prop([integration_timestep, propkw])

Setup and return an RK78 propagator with specified accelerations and radiation pressure effects.

threebody_prop([integration_timestep])

Create and return an RK78Propagator with a set of accelerations for a three-body problem.