code: def getTestDataDirectory():
      dataPath = Path(__file__).absolute().parent / "images"
      return dataPath.as_posix()
  
imports: import inspect
  import os
  import sys
  import time
  from pathlib import Path
  import numpy
  from pyqtgraph import GraphicsLayoutWidget, ImageItem, TextItem
  from pyqtgraph import functions
  from pyqtgraph.Qt import QtCore, QtGui, QtWidgets
label_desc: Use image node_id 8 for calling a global function with example usage: getTestDataDirectory() and returns: dataPath