astrodynx.argument_of_periapsis#
- astrodynx.argument_of_periapsis(node_vec, e_vec)[source]#
Returns the argument of periapsis of a two-body orbit.
- Parameters:
- Return type:
- Returns:
The argument of periapsis of the orbit.
- Notes
The argument of periapsis is calculated using equation:
\[ \omega = \arctan2(\|\boldsymbol{N}\times \boldsymbol{e}\|, \boldsymbol{N} \cdot \boldsymbol{e}) \]where \(\omega\) is the argument of periapsis, \(\boldsymbol{N}\) is the node vector, and \(\boldsymbol{e}\) is the eccentricity vector.