code: def parse_omega_channel(fobj, section=None):
      
      params = OrderedDict()
      while True:
          line = next(fobj)
          if line == '}\n':
              break
          key, value = line.split(':', 1)
          params[key.strip().rstrip()] = omega_param(value)
      out = Channel(params.get('channelName'),
                    sample_rate=params.get('sampleFrequency'),
                    frametype=params.get('frameType'),
                    frequency_range=params.get('searchFrequencyRange'))
      out.group = section
      out.params = params
      return out
docs: Parse a `Channel` from an Omega-scan configuration file
  
      Parameters
      ----------
      fobj : `file`
          the open file-like object to parse
      section : `str`
          name of section in which this channel should be recorded
  
      Returns
      -------
      channel : `Channel`
          the channel as parsed from this `file`