ADCS.helpers.plot.orbit.orbitplot module

class ADCS.helpers.plot.orbit.orbitplot.OrbitPlot(*, sources=None, title='Orbit (ECI)', orbit_colors=None, earth_color='tab:blue', earth_alpha=0.3, linewidth=2.0)[source]

Bases: Subplot

Three-dimensional visualization of spacecraft orbit trajectories in ECI.

This class renders one or more spacecraft orbits in a 3D Earth-centered inertial frame, using position histories available in the simulation. Real and estimated orbits can be displayed simultaneously for comparison. A semi-transparent Earth sphere is included for spatial context.

The class is focused on user-configurable visual settings such as which orbit sources to show, colors, and line styles, without requiring knowledge of orbit propagation details.

Parameters:
  • sources (list[str] or None) – List of orbit sources to display. Supported values are real and estimated. If None, only the real orbit is shown.

  • title (str) – Title displayed above the 3D orbit plot.

  • orbit_colors (dict[str, str] or None) – Mapping from orbit source names to line colors.

  • earth_color (str) – Color used for rendering the Earth sphere.

  • earth_alpha (float) – Transparency level of the Earth sphere.

  • linewidth (float) – Line width used for plotting orbit trajectories.

plot(ax, sim)[source]
Return type:

None