code: def determine_band_channel(kal_out):
      
      band = ""
      channel = ""
      tgt_freq = ""
      while band == "":
          for line in kal_out.splitlines():
              if "Using " in line and " channel " in line:
                  band = str(line.split()[1])
                  channel = str(line.split()[3])
                  tgt_freq = str(line.split()[4]).replace(
                      "(", "").replace(")", "")
          if band == "":
              band = None
      return(band, channel, tgt_freq)
docs: Return band, channel, target frequency from kal output.