original_docstring: sort channel based on standard labels
  
      Args:
          raw: (n_channel, n_sample) of EEG signals.
          ch_labels: array of channel labels. Len(LABELS) must = width of SIG
          std_labels: array of standard channel labels. must of same len as LABELS
  
      Returns:
          list: EEG signals, same shape as RAW
  
      
docstring: sort channel based on standard labels
docstring_tokens: sort channel based on standard labels
code: def sort_channel(raw, ch_labels, std_labels=STD_CHANNEL_01_AR):
      """sort channel based on standard labels
  
      Args:
          raw: (n_channel, n_sample) of EEG signals.
          ch_labels: array of channel labels. Len(LABELS) must = width of SIG
          std_labels: array of standard channel labels. must of same len as LABELS
  
      Returns:
          list: EEG signals, same shape as RAW
  
      """
      if len(set(ch_labels).intersection(set(std_labels))) < len(std_labels):
          raise Exception('Channel labels must match the length of std_labels')
      else:
          return [raw[i] for i in [ch_labels.index(lbl) for lbl in std_labels]]
code_tokens: def sort_channel ( raw , ch_labels , std_labels = STD_CHANNEL_01_AR ) : if len ( set ( ch_labels ) . intersection ( set ( std_labels ) ) ) < len ( std_labels ) : raise Exception ( 'Channel labels must match the length of std_labels' ) else : return [ raw [ i ] for i in [ ch_labels . index ( lbl ) for lbl in std_labels ] ]
short_docstring: sort channel based on standard labels
short_docstring_tokens: sort channel based on standard labels
comment: """sort channel based on standard labels
  
      Args:
          raw: (n_channel, n_sample) of EEG signals.
          ch_labels: array of channel labels. Len(LABELS) must = width of SIG
          std_labels: array of standard channel labels. must of same len as LABELS
  
      Returns:
          list: EEG signals, same shape as RAW
  
      """