code: def _gwf_channel(path, series_class=TimeSeries, verbose=False):
      
      channels = list(io_gwf.iter_channel_names(file_path(path)))
      if issubclass(series_class, StateVector):
          regex = DQMASK_CHANNEL_REGEX
      else:
          regex = STRAIN_CHANNEL_REGEX
      found, = list(filter(regex.match, channels))
      if verbose:
          print("Using channel {0!r}".format(found))
      return found
docs: Find the right channel name for a LOSC GWF file