Every other time through the channelizer, the FFT input buffer must be flipped. The...
authorTom Rondeau <trondeau@vt.edu>
Fri, 9 Apr 2010 04:40:36 +0000 (00:40 -0400)
committerTom Rondeau <trondeau@vt.edu>
Fri, 9 Apr 2010 04:40:36 +0000 (00:40 -0400)
gnuradio-core/src/lib/filter/gr_pfb_channelizer_ccf.cc

index 5ac5c2a7fa871209d0d2718e0afe52aa141f7ced..f0fd33a88de9eb8828a9f7d731217a312f332edd 100644 (file)
@@ -142,7 +142,6 @@ gr_pfb_channelizer_ccf::work (int noutput_items,
   int r = N / M;
 
   int n=1, i=-1, j=0, last;
-  //int state = 0;
 
   // Although the filters change, we use this look up table
   // to set the index of the FFT input buffer, which equivalently
@@ -158,7 +157,6 @@ gr_pfb_channelizer_ccf::work (int noutput_items,
     last = i;
     while(i >= 0) {
       in = (gr_complex*)input_items[j];
-      //d_fft->get_inbuf()[(i + state*r) % N] = d_filters[i]->filter(&in[n]);
       d_fft->get_inbuf()[idxlut[j]] = d_filters[i]->filter(&in[n]);
       j++;
       i--;
@@ -167,14 +165,12 @@ gr_pfb_channelizer_ccf::work (int noutput_items,
     i = N-1;
     while(i > last) {
       in = (gr_complex*)input_items[j];
-      //d_fft->get_inbuf()[(i + state*r) % N] = d_filters[i]->filter(&in[n-1]);
       d_fft->get_inbuf()[idxlut[j]] = d_filters[i]->filter(&in[n-1]);
       j++;
       i--;
     }
 
     n += (i+r) >= N;
-    //state ^= 1;
 
     // despin through FFT
     d_fft->execute();