astrodynx.right_ascension

astrodynx.right_ascension#

astrodynx.right_ascension(node_vec)[source]#

Returns the right ascension of the ascending node of a two-body orbit.

Parameters:

node_vec (ArrayLike) – (…, 3) node vector of the object in the two-body system.

Return type:

Array

Returns:

The right ascension of the ascending node of the orbit.

Notes

The right ascension is calculated using equation:

\[ \Omega = \arctan2(N_y, N_x) \]
where \(\Omega\) is the right ascension of the ascending node, \(N_y\) is the y-component of the node vector, and \(N_x\) is the x-component of the node vector.