docstr: ...Test baseline intervals property of 
  ModelHawkesSumExpKernLeastSq
docstr_tok: ["...","Test","baseline","intervals","property","of","ModelHawkesSumExpKernLeastSq"]
code: def test_baseline_intervals(self):
      """...Test baseline intervals property of
      ModelHawkesSumExpKernLeastSq
      """
      n_baselines = 4
      period_length = 10
      model = ModelHawkesSumExpKernLeastSq(
          decays=self.decays,
          n_baselines=n_baselines,
          period_length=period_length,
      )
      np.testing.assert_array_equal(
          model.baseline_intervals, np.array([0.0, 2.5, 5.0, 7.5])
      )
  
      n_baselines = 1
      model = ModelHawkesSumExpKernLeastSq(
          decays=self.decays, n_baselines=n_baselines
      )
      np.testing.assert_array_equal(
          model.baseline_intervals, np.array([0.0])
      )
  
imports: import pickle
  import unittest
  import numpy
  from numpy.linalg import norm
  from scipy.optimize import check_grad, fmin_bfgs
  from tick.base.inference import InferenceTest
  from tick.hawkes.model import ModelHawkesSumExpKernLeastSq
  from tick.hawkes.model.tests.model_hawkes_test_utils import hawkes_sumexp_kernel_intensities, hawkes_sumexp_kernel_varying_intensities, hawkes_least_square_error
label_desc: Use image node_id 4 for calling the Test obj's underlying member method code with example usage: obj.test_baseline_intervals() without return types