code: def sph2latlon(theta, phi):
      """Convert spherical coordinates to latitude and longitude.
  
      Returns
      -------
      lat, lon : ndarray
          Latitude and longitude.
  
      """
      return np.rad2deg(theta - np.pi / 2), np.rad2deg(phi - np.pi)
  
imports: import itertools
  import math
  import numpy
  import numpy.linalg
label_desc: Use image node_id 3 for calling a global function with example usage: sph2latlon(theta, phi) and returns: np,  np