code: def parse_set_parameter_strings(set_para_array):
      """This function parse the array of rir set parameter strings.
      It will assign probabilities to those rir sets which don't have a probability
      It will also check the existence of the rir list files.
      """
      set_list = []
      for set_para in set_para_array:
          set = lambda: None
          setattr(set, "filename", None)
          setattr(set, "probability", None)
          parts = set_para.split(",")
          if len(parts) == 2:
              set.probability = float(parts[0])
              set.filename = parts[1].strip()
          else:
              set.filename = parts[0].strip()
          if not os.path.isfile(set.filename):
              raise Exception(set.filename + " not found")
          set_list.append(set)
  
      return smooth_probability_distribution(set_list)
  
imports: import argparse, shlex, glob, math, os, random, sys, warnings, copy, imp, ast
label_desc: Use image node_id 14 for calling a global function with example usage: parse_set_parameter_strings(set_para_array) and returns: smooth_probability_distribution