poliastro.core.util

Module Contents

Functions

circular_velocity(k, a)

Compute circular velocity for a given body given thegravitational parameter and the semimajor axis.

rotation_matrix(angle, axis)

alinspace(start, stop=None, num=50, endpoint=True)

Return increasing, evenly spaced angular values over a specified interval.

poliastro.core.util.circular_velocity(k, a)

Compute circular velocity for a given body given thegravitational parameter and the semimajor axis.

\[v = \sqrt{\frac{\mu}{a}}\]
Parameters
  • k (float) – Gravitational Parameter

  • a (float) – Semimajor Axis

poliastro.core.util.rotation_matrix(angle, axis)
poliastro.core.util.alinspace(start, stop=None, num=50, endpoint=True)

Return increasing, evenly spaced angular values over a specified interval.