balltree.coordinates.euclidean_to_angular#

balltree.coordinates.euclidean_to_angular(xyz: NDArray) NDArray[source]#

Convert Euclidean coordinates to angular coordinates in radian.

xyz can be of shape (3,) or (N, 3), result is guaranteed to be (N, 2).