docstr: ...Test that Hawkes obtained mean intensity is consistent
          
docstr_tok: ["...","Test","that","Hawkes","obtained","mean","intensity","is","consistent"]
code: def test_hawkes_mean_intensity(self):
      """...Test that Hawkes obtained mean intensity is consistent"""
  
      hawkes = SimuHawkes(
          kernels=self.kernels,
          baseline=self.baseline,
          seed=308,
          end_time=300,
          verbose=False,
      )
      self.assertLess(hawkes.spectral_radius(), 1)
  
      hawkes.track_intensity(0.01)
      hawkes.simulate()
  
      mean_intensity = hawkes.mean_intensity()
      for i in range(hawkes.n_nodes):
          self.assertAlmostEqual(
              np.mean(hawkes.tracked_intensity[i]),
              mean_intensity[i],
              delta=0.3,
          )
  
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 6 for calling the Test obj's underlying member method code with example usage: obj.test_hawkes_mean_intensity() without return types