Mathematics, Quantum Physics, Quantum Mechanics, Coordinate Systems.
putting φ in the correct quadrant and be careful when the inverse tangent function is undefined. Cylindrical to Cartesian For converting from spherical to cyclinderical or vice versa, I would recommend going through Cartesian coordinates, just to minimize the number of equations that you will need