docstr: ...Test Hawkes process baseline set with time and value arrays
          
docstr_tok: ["...","Test","Hawkes","process","baseline","set","with","time","and","value","arrays"]
code: def test_hawkes_set_baseline_piecewiseconstant(self):
      """...Test Hawkes process baseline set with time and value arrays"""
      baselines = [[1.0, 2.0, 1.5, 4.0], [2.0, 1.5, 4.0, 1.0]]
      hawkes = SimuHawkes(
          baseline=baselines,
          period_length=3.5,
          kernels=self.kernels,
          verbose=False,
      )
  
      hawkes.end_time = 10
      hawkes.simulate()
      self.assertGreater(hawkes.n_total_jumps, 1)
  
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 4 for calling the Test obj's underlying member method code with example usage: obj.test_hawkes_set_baseline_piecewiseconstant() without return types