Convert 3D Cartesian co-ordinates to spherical

cart_to_sph(x, y, z)

Arguments

x

X co-ordinates

y

Y co-ordinates

z

Z co-ordinates

Value

Data frame with entries "sph_radius", "sph_phi" (in degrees), "sph_theta" (in degrees).