solarspatialtools.spatial.rect2pol

solarspatialtools.spatial.rect2pol(x, y)

2D cartesian vector to polar form

Parameters

xnumeric

the x position

ynumeric

the y position

Returns

(r, theta)numeric

the polar form (r, theta) with theta in +/- pi radians