code: def read_params(params):
      if isinstance(params, Parameters):
          return [par.value for par in params.values()]
      else:
          return params
  
imports: import os
  from numpy import arctan, array, cos, exp, log, sin
  from lmfit import Parameters
label_desc: Use image node_id 1 for calling a global function with example usage: read_params(params) and returns: unknown, params