code: def percent_amplitude(x, param=perc_param):
      final = []
      for par in param:
          linear_scale_data = par["base"] ** (par["exponent"] * x)
          y_max = np.max(linear_scale_data)
          y_min = np.min(linear_scale_data)
          y_med = np.median(linear_scale_data)
          final.append(
              max(
                  abs((y_max - y_med) / y_med),
                  abs((y_med - y_min) / y_med),
              )
          )
  
      return [
          ("Base_{}__Exp{}".format(pa["base"], pa["exponent"]), fin)
          for fin, pa in zip(final, param)
      ]
  
imports: import pandas
  import numpy
  from statsmodels.tsa.stattools import acf, adfuller, pacf
  import itertools
  from statsmodels.tsa.ar_model import AR
  from scipy.signal import cwt, find_peaks_cwt, ricker, welch
  from scipy.stats import linregress
  import scipy.stats
  from scipy.stats import kurtosis
  from scipy.stats import skew
  import numpy
  from scipy import signal, integrate
  from scipy.interpolate import interp1d
  import math
  from statsmodels.tools.sm_exceptions import MissingDataError
  from numpy.linalg import LinAlgError
label_desc: Use image node_id 36 for calling a global function with example usage: percent_amplitude(x, param) and returns: unknown