code: def raw_to_converge(steps, energy):
      if len(steps) > 0:
          if not sequence(steps[0][0]):
              steps = [
                  [step] for step in steps
              ]  # needed when steps = [1,2,3,...]
          steps = [
              list(zip(*step)) for step in steps
          ]  # also can be used to revert 'steps'
      if len(energy) > 0:
          if hasattr(energy[0], "tolist"):
              energy = [e.tolist() for e in energy]
      return steps, energy
  
imports: from mystic.tools import list_or_tuple_or_ndarray
  from mystic.tools import isNull
  import sys
label_desc: Use image node_id 9 for calling a global function with example usage: raw_to_converge(steps, energy) and returns: steps,  energy