code: def sphere_check(points, radius, center):
      """Determines distance of generators from theoretical sphere
      surface.
  
      """
      actual_squared_radii = (
          ((points[..., 0] - center[0]) ** 2)
          + ((points[..., 1] - center[1]) ** 2)
          + ((points[..., 2] - center[2]) ** 2)
      )
      max_discrepancy = (np.sqrt(actual_squared_radii) - radius).max()
      return abs(max_discrepancy)
  
file_path: catboost/contrib/python/scipy/py2/scipy/spatial/_spherical_voronoi.py
imports: import numpy
  import scipy
  import itertools
  from .None import _voronoi
  from scipy.spatial.distance import pdist
label_desc: Use image node_id 1 for calling a global function with example usage: sphere_check(points, radius, center) and returns: abs