astro.StateLogger#

class hohmannpy.astro.StateLogger#

Child of Logger that logs the time and Cartesian state (position and velocity) of an orbit at N timesteps.

Variables:
  • position_history (np.ndarray) – (3, N) array of the Cartesian positions in planet-centered inertial coordinates. Units: \(m\).

  • velocity_history (np.ndarray) – (3, N) array of the Cartesian velocities in planet-centered inertial coordinates. Units: \(m/s\).

  • time_history (np.ndarray) – (1, N) array of times with the mission start time set to 0. Units: \(s\).