code: def data_fun(times):
      """Generate random source time courses."""
      return (
          50e-9
          * np.sin(30.0 * times)
          * np.exp(-((times - 0.15 + 0.05 * rng.randn(1)) ** 2) / 0.01)
      )
  
imports: import matplotlib.pyplot
  import numpy
  import mne
  from mne.datasets import sample
  from mne.simulation import simulate_evoked, simulate_sparse_stc
  from mne.time_frequency import fit_iir_model_raw
  from mne.viz import plot_sparse_source_estimates
label_desc: Use image node_id 1 for calling a global function with example usage: data_fun(times) and returns: unknown