parameters: (self, item_size, sample_rate, vec_rate, vec_len)
docstring: Create the block chain.
  
          Args:
              item_size: the number of bytes per sample
              sample_rate: the rate of incoming samples
              vec_rate: the rate of outgoing vectors (same units as sample_rate)
              vec_len: the length of the outgoing vectors in items
docstring_summary: Create the block chain.
docstring_tokens: Create the block chain .
function: def __init__(self, item_size, sample_rate, vec_rate, vec_len):
          """
          Create the block chain.
  
          Args:
              item_size: the number of bytes per sample
              sample_rate: the rate of incoming samples
              vec_rate: the rate of outgoing vectors (same units as sample_rate)
              vec_len: the length of the outgoing vectors in items
          """
          self._vec_rate = vec_rate
          self._vec_len = vec_len
          self._sample_rate = sample_rate
  
          gr.hier_block2.__init__(self, "stream_to_vector_decimator",
                                  # Input signature
                                  gr.io_signature(1, 1, item_size),
                                  gr.io_signature(1, 1, item_size * vec_len))  # Output signature
  
          s2v = blocks.stream_to_vector(item_size, vec_len)
          self.one_in_n = blocks.keep_one_in_n(item_size * vec_len, 1)
          self._update_decimator()
          self.connect(self, s2v, self.one_in_n, self)
function_tokens: def __init__ ( self , item_size , sample_rate , vec_rate , vec_len ) : self . _vec_rate = vec_rate self . _vec_len = vec_len self . _sample_rate = sample_rate gr . hier_block2 . __init__ ( self , "stream_to_vector_decimator" , # Input signature gr . io_signature ( 1 , 1 , item_size ) , gr . io_signature ( 1 , 1 , item_size * vec_len ) ) # Output signature s2v = blocks . stream_to_vector ( item_size , vec_len ) self . one_in_n = blocks . keep_one_in_n ( item_size * vec_len , 1 ) self . _update_decimator ( ) self . connect ( self , s2v , self . one_in_n , self )