adam_core.orbits.plots module

adam_core.orbits.plots.plot_orbit(orbit: Orbits, propagator: Propagator, start_time: Timestamp | None = None, logo: bool = True) Figure[source]

Plot an orbit.

Parameters:
  • orbit (Orbits) – The orbit to plot.

  • propagator (Propagator) – The propagator to use to propagate the orbit.

  • start_time (Optional[Timestamp]) – The start time to use for the propagation.

  • logo (bool, optional) – Whether to add the Asteroid Institute logo to the plot.

adam_core.orbits.plots.ellipsoid(center, radii, rotation, num_points=100) Tuple[ndarray, ndarray, ndarray][source]

Creates an ellipsoid shape as 3 arrays for x,y,z

adam_core.orbits.plots.add_observation_plot(fig: Figure, observed: CartesianCoordinates, radius_mult: float) None[source]

Adds RIC-aligned uncertainty ellipse to the figure. Parameters: ———– fig: go.Figure

the figure to be modified

observed: CartesianCoordinates

coordinates to add ellipses for

radius_mult: float

multiplication factor for the ellipse radii to make it visible; for whole Solar System plots this is often on the order of 1e6