code: def rand(n):
      data = np.random.random(n)
      data[int(n * 0.1) : int(n * 0.13)] += 0.5
      data[int(n * 0.18)] += 2
      data[int(n * 0.1) : int(n * 0.13)] *= 5
      data[int(n * 0.18)] *= 20
      data *= 1e-12
      return data, np.arange(n, n + len(data)) / float(n)
  
imports: import numpy
  import pyqtgraph
  from pyqtgraph.Qt import QtCore, QtWidgets
label_desc: Use image node_id 1 for calling a global function with example usage: rand(n) and returns: data,  unknown