code: def gradient_multigauss(x, plot=False):
      va = gradient_to_center(x, ctr=0.4)
      vb = gradient_to_center(x, ctr=0.6)
      logwa = -0.5 * (((x - 0.4) / 0.01) ** 2).sum()
      logwb = -0.5 * (((x - 0.6) / 0.01) ** 2).sum()
      logwmax = max(logwa, logwb)
      wa = exp(logwa - logwmax)
      wb = exp(logwb - logwmax)
  
      v = va * wa + vb * wb
      # normalise
      v /= (v**2).sum() ** 0.5
      return v
  
imports: import numpy
  from math import gamma, pi, exp
label_desc: Use image node_id 16 for calling a global function with example usage: gradient_multigauss(x, plot) and returns: v