def track(v):
    t = math.atan2(v[1], v[0])
    if t < 0:
	return t + 2.*math.pi
    return t
Find the track (direction in positive radians) of a 2d vector.
dataset/ETHPy150Open hhatto/autopep8/test/vectors_example.py/track