Python cmath.phase() Method
Find the phase of a complex number:
#print phase of some given parameters
print (cmath.phase(2 + 3j))
Definition and Usage
cmath.phase() method returns the phase
of a complex number.
A complx number can be expressed in terms of its magnitude and angle. This angle is between vector (representing complex number) and positive x-axis is called Phase.
Note: Output is always between -π and π.
|x||Required. The number to find the phase of|