code: def _get_selves_fallback(r, s, ind, inds, t, t_border, max_step):
      start = t_border[max(t[ind] - max_step, 0)]
      stop = t_border[min(t[ind] + max_step + 1, len(t_border) - 1)]
      indices = inds[start:stop]
      selves = indices[r[indices]]
      selves = selves[s[ind] == s[selves]]
      r[selves] = False
      return selves.tolist()
  
imports: import numpy
  from scipy import ndimage, sparse
  from scipy.sparse.csgraph import connected_components
  from scipy.stats import f
  from scipy.stats import t
  from ..fixes import has_numba, jit
  from ..parallel import parallel_func
  from ..source_estimate import MixedSourceEstimate, SourceEstimate, VolSourceEstimate
  from ..source_space import SourceSpaces
  from ..utils import ProgressBar, _check_option, _pl, _validate_type, check_random_state, logger, split_list, verbose, warn
  from .parametric import f_oneway, ttest_1samp_no_p
label_desc: Use image node_id 2 for calling a global function with example usage: _get_selves_fallback(r, s, ind, inds, t, t_border, max_step) and returns: selves