计算相位或相位差时,使得结果包含在区间$\bf[-\pi,\pi]$内: import numpy as np phi = np.angle(np.exp(1j*phi))

- 阅读全文 -