Util module

digraph {
   "poliastro.core.util" -> "circular_velocity", "rotate", "transform" ;

The poliastro.core.util module contains, mainly, a set of functions realted to vectorial computations.

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}}\]
  • k (float) – Gravitational Parameter

  • a (float) – Semimajor Axis

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

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