code: def gaussian_kernel1d(sigma, truncate=2.0):
      sigma = float(sigma)
      sigma2 = sigma * sigma
      # make the radius of the filter equal to truncate standard deviations
      radius = int(truncate * sigma + 0.5)
      exponent_range = np.arange(1)
  
      x = np.arange(-radius, radius + 1)
      phi_x = np.exp(-0.5 / sigma2 * x**2)
      phi_x = phi_x / phi_x.sum()
      return phi_x
  
file_path: rt-audio-fft/src/utils.py
imports: import numpy
  import math, scipy, pygame
label_desc: Use image node_id 4 for calling a global function with example usage: gaussian_kernel1d(sigma, truncate) and returns: phi_x