docstr: Class provinding flexible relative incidence curves to be used as
  coefficients in the `SimuSCCS` class.
  
  Parameters
  ----------
  n_intervals : `int`
      Number of time intervals used to generate features and outcomes.
docstr_tok: ["Class","provinding","flexible","relative","incidence","curves","to","be","used","as","coefficients","in","the","`","SimuSCCS","`","class",".","Parameters","--","--","--","--","--","n_intervals",":","`","int","`","Number","of","time","intervals","used","to","generate","features","and","outcomes","."]
code: def __init__(self, n_intervals):
      """Class provinding flexible relative incidence curves to be used as
      coefficients in the `SimuSCCS` class.
  
      Parameters
      ----------
      n_intervals : `int`
          Number of time intervals used to generate features and outcomes.
      """
      self.n_intervals = n_intervals
      self._curves_type_dict = {
          1: (5, 1),
          2: (2, 2),
          3: (0.5, 0.5),
          4: (2, 5),
          5: (1, 3),
      }
  
imports: from operator import itemgetter
  import numpy
  import scipy.sparse
  from scipy.sparse import csr_matrix
  from tick.base.simulation import Simu
  from tick.hawkes import SimuHawkesExpKernels, SimuHawkesMulti
  from tick.preprocessing import LongitudinalFeaturesLagger
  from itertools import permutations
  from copy import deepcopy
  from scipy.stats import beta, norm
label_desc: Use image node_id 1 to create a new CustomEffects object  with example: obj = CustomEffects(n_intervals)