code: def fcn2min(params, x, data):
      """Model a decaying sine wave and subtract data."""
      amp = params["amp"]
      shift = params["shift"]
      omega = params["omega"]
      decay = params["decay"]
      model = amp * np.sin(x * omega + shift) * np.exp(-x * x * decay)
      return model - data
  
label_desc: Use image node_id 1 for calling a global function with example usage: fcn2min(params, x, data) and returns: unknown