docstr: ...Test pickling ability of HawkesKernelSumExp
          
docstr_tok: ["...","Test","pickling","ability","of","HawkesKernelSumExp"]
code: def test_HawkesKernelSumExp_pickle(self):
      """...Test pickling ability of HawkesKernelSumExp"""
      obj = HawkesKernelSumExp(
          decays=np.arange(1.0, 2.0, 0.2),
          intensities=np.arange(0.3, 2.3, 0.4),
      )
  
      pickled = pickle.loads(pickle.dumps(obj))
  
      self.assertTrue(str(obj) == str(pickled))
      self.assertTrue(np.array_equal(obj.decays, pickled.decays))
      self.assertTrue(
          np.array_equal(obj.intensities, pickled.intensities)
      )
      np.testing.assert_array_equal(
          obj.get_values(self.random_times),
          obj.get_values(self.random_times),
      )
  
file_path: tick/tick/hawkes/simulation/tests/hawkes_kernel_pickle_test.py
imports: import pickle
  import unittest
  import numpy
  from tick.base import TimeFunction
  from tick.hawkes import HawkesKernel0, HawkesKernelExp, HawkesKernelSumExp, HawkesKernelPowerLaw, HawkesKernelTimeFunc
label_desc: Use image node_id 4 for calling the Test obj's underlying member method code with example usage: obj.test_HawkesKernelSumExp_pickle() without return types