cartesian_to_spherical

miepython.util.cartesian_to_spherical(x, y, z)[source]

Convert Cartesian coordinates (x, y, z) to spherical (r, theta, phi).