original_docstring:  
              Transfrom the view idx to the global idx.
          
docstring: Transfrom the view idx to the global idx.
docstring_tokens: Transfrom the view idx to the global idx .
code: def select(self, view_idx):
          ''' 
              Transfrom the view idx to the global idx.
          '''
          # all clusters within the view currently
          current_clus = self._clu.select_clus
          local_idx = {}
          
          # assign idx to different range |cluster1|cluser2|cluster3|....|
          # according the length of cluster
          left = 0
          for clu in current_clus:
              right = left + self._clu.index_count[clu]
              index = view_idx[(view_idx>=left)&(view_idx<right)]
              if len(index) >  0:
                  local_idx[clu] = index - left
              left = right
          global_idx = self._clu.local2global(local_idx)
          self._clu.select(global_idx, caller=self.__module__)
code_tokens: def select ( self , view_idx ) : current_clus = self . _clu . select_clus local_idx = { } left = 0 for clu in current_clus : right = left + self . _clu . index_count [ clu ] index = view_idx [ ( view_idx >= left ) & ( view_idx < right ) ] if len ( index ) > 0 : local_idx [ clu ] = index - left left = right global_idx = self . _clu . local2global ( local_idx ) self . _clu . select ( global_idx , caller = self . __module__ )
short_docstring: Transfrom the view idx to the global idx.
short_docstring_tokens: Transfrom the view idx to the global idx .
comment: ''' 
              Transfrom the view idx to the global idx.
          '''$SEP$# all clusters within the view currently
  $SEP$# assign idx to different range |cluster1|cluser2|cluster3|....|
  $SEP$# according the length of cluster
  