mubody.coordinates.frames.RotatingFrame#

class mubody.coordinates.frames.RotatingFrame(origin, p1, p2)#

Rotating frame based on the motion of one body (primary) with respect to another (secondary).

The line connecting the primary and the secondary bodies defines the X-axis The Z-axis is the orbital plane normal of both bodies and the Y-axis completes the right-handed frame.

__init__(origin, p1, p2)#

Constructor

Parameters:
  • origin (str) – Name of the body where the frames is centered (valid NAIF Object)

  • p1 (str) – Name of the body acting as primary (valid NAIF Object)

  • p2 (str) – Name of the body acting as secondary (valid NAIF Object)

Methods

__init__(origin, p1, p2)

Constructor

Attributes

ftype

origin

origin_id