code: def _frame_info(n):
      frame = inspect.currentframe()
      try:
          frame = frame.f_back
          infos = list()
          for _ in range(n):
              try:
                  name = frame.f_globals["__name__"]
              except KeyError:  # in our verbose dec
                  pass
              else:
                  infos.append(
                      f'{name.lstrip("mne.")}:{frame.f_lineno}'
                  )
              frame = frame.f_back
              if frame is None:
                  break
          return infos
      except Exception:
          return ["unknown"]
      finally:
          del frame
  
imports: import contextlib
  import importlib
  import inspect
  import logging
  import os.path
  import re
  import sys
  import warnings
  from io import StringIO
  from typing import Any, Callable, TypeVar
  from decorator import FunctionMaker
  from .docs import fill_doc
label_desc: Use image node_id 11 for calling a global function with example usage: _frame_info(n) and returns: infos, list