\begin{equation*} \Theta = tan^{-1}\left(\frac{G_x}{G_y}\right) \end{equation*}