docstr: ...Test Hawkes process kernels can be set after initialization
          
docstr_tok: ["...","Test","Hawkes","process","kernels","can","be","set","after","initialization"]
code: def test_hawkes_set_kernel(self):
      """...Test Hawkes process kernels can be set after initialization"""
      hawkes = SimuHawkes(n_nodes=2)
  
      for i, j in product(range(2), range(2)):
          hawkes.set_kernel(i, j, self.kernels[i, j])
  
      for i, j in product(range(2), range(2)):
          self.assertEqual(hawkes.kernels[i, j], self.kernels[i, j])
  
      hawkes.set_kernel(1, 1, self.time_func_kernel)
      self.assertEqual(hawkes.kernels[1, 1], self.time_func_kernel)
  
imports: import unittest
  import warnings
  from contextlib import contextmanager
  from itertools import product
  import numpy
  from tick.base import TimeFunction
  from tick.hawkes import SimuHawkes, HawkesKernelExp, HawkesKernelSumExp, HawkesKernel0, HawkesKernelPowerLaw, HawkesKernelTimeFunc, SimuHawkesExpKernels
label_desc: Use image node_id 3 for calling the Test obj's underlying member method code with example usage: obj.test_hawkes_set_kernel() without return types