Coordinates module

digraph {
   "poliastro.coordinates" -> "body_centered_to_icrs", "icrs_to_body_centered",
   "inertial_body_centered_to_pqw", "transform" ;
}

Functions related to coordinate systems and transformations.

This module complements astropy.coordinates.

poliastro.coordinates.inertial_body_centered_to_pqw(r, v, source_body)

Converts position and velocity from inertial body-centered frame to perifocal frame.

Parameters:
  • r (Quantity) – Position vector in a inertial body-centered reference frame.
  • v (Quantity) – Velocity vector in a inertial body-centered reference frame.
  • source_body (Body) – Source body.
Returns:

r_pqw, v_pqw – Position and velocity vectors in ICRS.

Return type:

tuple (Quantity)