code: def binary2coords(binaries, positions, **kwds):
      """convert a list of binary strings to product measure coordinates"""
      reduce = True  # 'reduce' len=1 and len=0 results
      if "reduce" in kwds:
          reduce = kwds["reduce"]
      result = [
          tuple(
              [j[0][j[1]] for j in zip(positions, [int(i) for i in vk])]
          )
          for vk in binaries
      ]
      if len(result) > 1 or not reduce:
          return result
      if len(result) == 1:
          return result[0]  # [(1,2,3)] to (1,2,3)
      return
  
label_desc: Use image node_id 4 for calling a global function with example usage: binary2coords(binaries, positions) and returns: result, result