code: def g1(t):
      return np.cos(np.pi * t / 10) + 1.1
  
imports: import itertools
  import numpy
  import matplotlib.pyplot
  from tick.plot import plot_basis_kernels, plot_hawkes_kernels
  from tick.hawkes import SimuHawkes, HawkesKernelTimeFunc, HawkesBasisKernels
label_desc: Use image node_id 1 for calling a global function with example usage: g1(t) and returns: unknown