docs: def parse_kal_channel(kal_out):
      """Parse kal channel scan output."""
      scan_band, scan_channel, tgt_freq = determine_band_channel(kal_out)
      kal_data = {"device": determine_device(kal_out),
                  "sample_rate": determine_sample_rate(kal_out),
                  "gain": determine_scan_gain(kal_out),
                  "band": scan_band,
                  "channel": scan_channel,
                  "frequency": tgt_freq,
                  "avg_absolute_error": determine_avg_absolute_error(kal_out),
                  "measurements" : get_measurements_from_kal_scan(kal_out),
                  "raw_scan_result": kal_out}
      return kal_data