parameters: (self)
docstring: Same as before, but shifted, because that's the normal mode in OFDM Rx
docstring_summary: Same as before, but shifted, because that's the normal mode in OFDM Rx
docstring_tokens: Same as before but shifted because that s the normal mode in OFDM Rx
function: def test_001b_shifted(self):
          """ Same as before, but shifted, because that's the normal mode in OFDM Rx """
          fft_len = 16
          tx_symbols = (
              0, 0, 0, 0, 0, 0, 1, 2, 0, 3, 4, 5, 0, 0, 0, 0,
              0, 0, 0, 0, 6, 1j, 7, 8, 0, 9, 10, 1j, 11, 0, 0, 0,
              0, 0, 0, 0, 0, 12, 13, 14, 0, 15, 16, 17, 0, 0, 0, 0,
          )
          expected_result = list(range(18))
          occupied_carriers = ((13, 14, 15, 1, 2, 3), (-4, -2, -1, 1, 2, 4),)
          n_syms = len(tx_symbols) // fft_len
          src = blocks.vector_source_c(tx_symbols, False, fft_len)
          serializer = digital.ofdm_serializer_vcc(
              fft_len, occupied_carriers, self.tsb_key)
          sink = blocks.tsb_vector_sink_c(tsb_key=self.tsb_key)
          self.tb.connect(
              src,
              blocks.stream_to_tagged_stream(
                  gr.sizeof_gr_complex,
                  fft_len,
                  n_syms,
                  self.tsb_key),
              serializer,
              sink)
          self.tb.run()
          self.assertEqual(sink.data()[0], expected_result)
function_tokens: def test_001b_shifted ( self ) : fft_len = 16 tx_symbols = ( 0 , 0 , 0 , 0 , 0 , 0 , 1 , 2 , 0 , 3 , 4 , 5 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 6 , 1j , 7 , 8 , 0 , 9 , 10 , 1j , 11 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 12 , 13 , 14 , 0 , 15 , 16 , 17 , 0 , 0 , 0 , 0 , ) expected_result = list ( range ( 18 ) ) occupied_carriers = ( ( 13 , 14 , 15 , 1 , 2 , 3 ) , ( - 4 , - 2 , - 1 , 1 , 2 , 4 ) , ) n_syms = len ( tx_symbols ) // fft_len src = blocks . vector_source_c ( tx_symbols , False , fft_len ) serializer = digital . ofdm_serializer_vcc ( fft_len , occupied_carriers , self . tsb_key ) sink = blocks . tsb_vector_sink_c ( tsb_key = self . tsb_key ) self . tb . connect ( src , blocks . stream_to_tagged_stream ( gr . sizeof_gr_complex , fft_len , n_syms , self . tsb_key ) , serializer , sink ) self . tb . run ( ) self . assertEqual ( sink . data ( ) [ 0 ] , expected_result )