$${\phi = \arctan \frac{\mathrm{Im} (z)}{\mathrm{Re} (z)}}$$