code: def peakdata():
      """Return the peak-like test data."""
      data = np.loadtxt(
          os.path.join(
              os.path.dirname(__file__),
              "..",
              "examples",
              "test_peak.dat",
          )
      )
      return data.T
  
imports: import os
  import numpy
  import pytest
  import lmfit
label_desc: Use image node_id 2 for calling a global function with example usage: peakdata() and returns: data