code: def _geometric_slerp(start, end, t):
      # create an orthogonal basis using QR decomposition
      basis = np.vstack([start, end])
      Q, R = np.linalg.qr(basis.T)
      signs = 2 * (np.diag(R) >= 0) - 1
      Q = Q.T * signs.T[:, np.newaxis]
      R = R.T * signs.T[:, np.newaxis]
  
      # calculate the angle between `start` and `end`
      c = np.dot(start, end)
      s = np.linalg.det(R)
      omega = np.arctan2(s, c)
  
      # interpolate
      start, end = Q
      s = np.sin(t * omega)
      c = np.cos(t * omega)
      return start * c[:, np.newaxis] + end * s[:, np.newaxis]
  
imports: from __future__ import division, print_function, absolute_import
  import warnings
  import numpy
  from scipy.spatial.distance import euclidean
label_desc: Use image node_id 1 for calling a global function with example usage: _geometric_slerp(start, end, t) and returns: unknown