balltree.coordinates.angular_to_cylinder#

balltree.coordinates.angular_to_cylinder(radec: NDArray) NDArray[source]#

Convert angular coordinates in radian to cylindrical coordinates.

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