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"""
  
      self.assertLess(self.hawkes.spectral_radius(), 1)
  
      self.hawkes.end_time = 1000
      self.hawkes.track_intensity(0.01)
      self.hawkes.simulate()
  
      mean_intensity = self.hawkes.mean_intensity()
      for i in range(self.hawkes.n_nodes):
          self.assertAlmostEqual(
              np.mean(self.hawkes.tracked_intensity[i]),
              mean_intensity[i],
              delta=0.1,
          )
  
file_path: tick/tick/hawkes/simulation/tests/simu_hawkes_exp_kernels_test.py
imports: import unittest
  from itertools import product
  import numpy
  from tick.hawkes import SimuHawkesExpKernels, HawkesKernelExp, HawkesKernel0
label_desc: Use image node_id 4 for calling the Test obj's underlying member method code with example usage: obj.test_hawkes_mean_intensity() without return types