code: def run_ica(method, fit_params=None):
      ica = ICA(
          n_components=20,
          method=method,
          fit_params=fit_params,
          max_iter="auto",
          random_state=0,
      )
      t0 = time()
      ica.fit(raw, reject=reject)
      fit_time = time() - t0
      title = f"ICA decomposition using {method} (took {fit_time:.1f}s)"
      ica.plot_components(title=title)
  
imports: from time import time
  import mne
  from mne.datasets import sample
  from mne.preprocessing import ICA
label_desc: Use image node_id 1 for calling a global function with example usage: run_ica(method, fit_params) without return types