docstr: ...Test that hawkes sumgaussians parameters are correctly linked
          
docstr_tok: ["...","Test","that","hawkes","sumgaussians","parameters","are","correctly","linked"]
code: def test_hawkes_sumgaussians_parameters(self):
      """...Test that hawkes sumgaussians parameters are correctly linked"""
      learner = HawkesSumGaussians(1, n_gaussians=self.int_1)
      self.assertEqual(learner.n_gaussians, self.int_1)
      self.assertEqual(learner._learner.get_n_gaussians(), self.int_1)
      learner.n_gaussians = self.int_2
      self.assertEqual(learner.n_gaussians, self.int_2)
      self.assertEqual(learner._learner.get_n_gaussians(), self.int_2)
  
      learner = HawkesSumGaussians(max_mean_gaussian=self.float_1)
      self.assertEqual(learner.max_mean_gaussian, self.float_1)
      self.assertEqual(
          learner._learner.get_max_mean_gaussian(), self.float_1
      )
      learner.max_mean_gaussian = self.float_2
      self.assertEqual(learner.max_mean_gaussian, self.float_2)
      self.assertEqual(
          learner._learner.get_max_mean_gaussian(), self.float_2
      )
  
      learner = HawkesSumGaussians(1, step_size=self.float_1)
      self.assertEqual(learner.step_size, self.float_1)
      self.assertEqual(learner._learner.get_step_size(), self.float_1)
      learner.step_size = self.float_2
      self.assertEqual(learner.step_size, self.float_2)
      self.assertEqual(learner._learner.get_step_size(), self.float_2)
  
file_path: tick/tick/hawkes/inference/tests/hawkes_sumgaussians_test.py
imports: import unittest
  import numpy
  from tick.hawkes.inference import HawkesSumGaussians
label_desc: Use image node_id 4 for calling the Test obj's underlying member method code with example usage: obj.test_hawkes_sumgaussians_parameters() without return types