code: def modulated_block_paradigm():
      conditions = [
          "c0",
          "c0",
          "c0",
          "c1",
          "c1",
          "c1",
          "c2",
          "c2",
          "c2",
      ]
      onsets = [30, 70, 100, 10, 30, 90, 30, 40, 60]
      duration = 5 + 5 * np.random.rand(len(onsets))
      values = 1 + np.random.rand(len(onsets))
      paradigm = BlockParadigm(conditions, onsets, duration, values)
      return paradigm
  
imports: import os.path
  from unittest import skipIf
  import numpy
  from numpy.testing import assert_almost_equal, assert_array_equal
  from ..design_matrix import _convolve_regressors, _cosine_drift, dmtx_from_csv, dmtx_light, make_dmtx
  from ..experimental_paradigm import BlockParadigm, EventRelatedParadigm
label_desc: Use image node_id 2 for calling a global function with example usage: modulated_block_paradigm() and returns: paradigm