code: def calc_circumcenters(tetrahedrons):
      """Calculates the cirumcenters of the circumspheres of tetrahedrons.
  
      An implementation based on
      http://mathworld.wolfram.com/Circumsphere.html
  
      Parameters
      ----------
      tetrahedrons : an array of shape (N, 4, 3)
          consisting of N tetrahedrons defined by 4 points in 3D
  
      Returns
      ----------
      circumcenters : an array of shape (N, 3)
          consisting of the N circumcenters of the tetrahedrons in 3D
  
      """
  
      num = tetrahedrons.shape[0]
      a = np.concatenate((tetrahedrons, np.ones((num, 4, 1))), axis=2)
  
      sums = np.sum(tetrahedrons**2, axis=2)
      d = np.concatenate((sums[:, :, np.newaxis], a), axis=2)
  
      dx = np.delete(d, 1, axis=2)
      dy = np.delete(d, 2, axis=2)
      dz = np.delete(d, 3, axis=2)
  
      dx = np.linalg.det(dx)
      dy = -np.linalg.det(dy)
      dz = np.linalg.det(dz)
      a = np.linalg.det(a)
  
      nominator = np.vstack((dx, dy, dz))
      denominator = 2 * a
      return (nominator / denominator).T
  
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 2 for calling a global function with example usage: calc_circumcenters(tetrahedrons) and returns: unknown