ssapy_toolkit.Plots

Plotting helpers for orbits, ground tracks, dashboards, and more.

Modules

break_plot_lines

Utilities for working with longitude/latitude tracks.

build_dashboard(panels, *, nrows, ncols[, ...])

Build a custom dashboard from user-provided panel renderers.

cislunar_plot(r[, t, figsize, fontsize, ...])

Author: Travis Yeager (yeager7@llnl.gov)

cislunar_plot_3d(r[, t, figsize, fontsize, ...])

Author: Travis Yeager (yeager7@llnl.gov)

cislunar_plot_xy(r[, t, figsize, fontsize, ...])

divergence_gif(r_histories, times_gps, ...)

Create an animated GIF showing position error evolution over time.

divergence_plot(r_vectors[, r_center, ...])

Plot position errors projected onto a plane defined by velocity vector.

figpath(filename)

Build a path under yu_figures that respects requested subfolders.

gifify(plot_func, *fargs[, save_path, ...])

Animate any Matplotlib plot function by slicing two array args and compiling frames into a GIF.

globe_plot(r[, t, limits, title, c, ...])

Plot a textured Earth and scatter satellite positions in 3D.

groundtrack_dashboard(r, t[, save_path, ...])

Visualizes multiple satellite ground tracks, altitude/velocity over time, and 3D trajectories.

groundtrack_dashboard_gamma_heading(r, t[, ...])

Visualizes multiple satellite ground tracks, altitude/velocity over time, gamma over time, heading over time, and 3D trajectories (ITRF and GCRF).

groundtrack_plot(r, t[, ground_stations, ...])

Plot one or more orbit ground tracks on an Earth map.

groundtrack_video(r, t[, ground_stations, ...])

Create an MP4 animation of satellite ground tracks.

misc_plotting

orbit_plot(r[, t, title, figsize, ...])

Plots the trajectory of one or more orbits in various views and coordinate frames.

orbit_plot_rv(state_vectors[, colors, mu, ...])

Plots the 3D orbital ellipse(s) given one or more sets of state vectors.

orbit_plot_xy(r[, t, title, figsize, ...])

Plots the trajectory of an orbiting body in different reference frames.

orbit_plot_xyxz(r[, t, title, figsize, ...])

Plots the trajectory of an orbiting body in different reference frames.

plotutils

rendezvous_plot(r1, v1, rtransfer, vtransfer)

3D plot of chaser and target rendezvous.

set_axes_equal(ax)

Make axes of 3D plot have equal scale so that spheres appear as spheres, cubes as cubes, etc.

tracking_plot(r, t[, ground_stations, ...])

Create a 3D tracking plot of satellite positions over time on Earth's surface.

transfer_plot(r0, v0, rtransfer, vtransfer, ...)

Plots a 3D orbital transfer with transfer orbit from departure to arrival.

write_gifs

write_videos