code: def compute(self, f0, A):
      f = np.arange(-6.0, 6.0, 0.02)
      t = np.arange(-2.0, 2.0, 0.01)
      x = A * np.cos(2 * np.pi * f0 * t) * np.exp(-np.pi * t**2)
      X = (
          A
          / 2
          * (
              np.exp(-np.pi * (f - f0) ** 2)
              + np.exp(-np.pi * (f + f0) ** 2)
          )
      )
      return f, X, t, x
  
imports: import wx
  import numpy
  from matplotlib.backends.backend_wxagg import FigureCanvasWxAgg
  from matplotlib.figure import Figure
label_desc: Use image node_id 8 for calling the FourierDemoFrame obj's underlying member method code with example usage: obj.compute(f0, A) and returns: f,  X,  t,  x