code: def info(frame):
      if hasattr(frame, "__name__"):
          module = frame.f_globals["__name__"]
      else:
          module = None
      info = inspect.getframeinfo(frame)
      if info.code_context is not None:
          code = info.code_context[0].strip()
      else:
          code = None
      filename, line = info.filename, info.lineno
      name = info.function
      return module, name, filename, line, code
  
imports: import os
  import sys
  import traceback
  import inspect
  import hashlib
  from pathlib import Path
  import matplotlib.pyplot
  import tsensor
label_desc: Use image node_id 5 for calling a global function with example usage: info(frame) and returns: module,  name,  filename,  line,  code