code: def onesample_stat(
      Y, V, stat_id, base=0.0, axis=0, Magics=None, niter=DEF_NITER
  ):
      """
      Wrapper for os_stat and os_stat_mfx
      """
      if stat_id.find("_mfx") < 0:
          return os_stat(Y, stat_id, base, axis, Magics)
      else:
          return os_stat_mfx(Y, V, stat_id, base, axis, Magics, niter)
  
imports: import numpy
  import warnings
  from nipy.algorithms.graph import wgraph_from_3d_grid
  from nipy.algorithms.graph.field import Field, field_from_graph_and_data
  from ..utils import zscore
  from .onesample import stat
  from .onesample import stat_mfx
  from .twosample import stat
  from .twosample import stat_mfx
label_desc: Use image node_id 7 for calling a global function with example usage: onesample_stat(Y, V, stat_id, base, axis, Magics, niter) and returns: os_stat, os_stat_mfx