\[\omega=\operatorname{arctan}\left(\left|y/x\right|\right)\in\left[0,\tfrac{1}{%
2}\pi\right].\]