code: def stat_fun(*args):
      # get f-values only.
      return f_mway_rm(
          np.swapaxes(args, 1, 0),
          factor_levels=factor_levels,
          effects=effects,
          return_pvals=return_pvals,
      )[0]
  
imports: import matplotlib.pyplot
  import numpy
  from numpy.random import randn
  import mne
  from mne.datasets import sample
  from mne.minimum_norm import apply_inverse, read_inverse_operator
  from mne.stats import f_mway_rm, f_threshold_mway_rm, spatio_temporal_cluster_test, summarize_clusters_stc
label_desc: Use image node_id 1 for calling a global function with example usage: stat_fun() and returns: f_mway_rm