This is the correct conversion.  -pi/2 == 3*pi/2 == 2*pi - pi/2

np.arctan2() puts the branch cut at theta=pi, and returns angles on (-pi, pi).  An equally valid convention is to put the branch cut at 2*pi and return angles on (0, 2*pi).