History | View | Annotate | Download (6 kB)
Sneaking in a few warning fixes to this branch.
Fixed missing set_relative_rate in these two blocks. The others don't actually do it, even though it's counter-intuitive for the pfb_decimate, which is a sync_block (decimation actually care of in the stream_to_streams).
Modify all block factories to use gnuradio::get_initial_sptr.
Nevermind that last checkin. THIS is the right answer that doesn't have us possibly looking back at input item -1.
Fixes small bug by handling boundaries properly.
The oversampling rate can be only a few values as defined by the number of channels and input sample rate.This now checks to make sure the user-specified rate is valid.Also added some documentation to describe the oversample rate parameter.
Reworking variables to avoid recalculations/assignments.
Channelizer can now produce any rational ratio of the sample rate in [fs/N, fs] where fs is the input sample rate and N is the number of channels. The ratios work out to be N/i for i in [1, N].
Moving towards gr_block implementation to enable non-integer output rates. Also, cleaning up a bit wrt class members.
Every other time through the channelizer, the FFT input buffer must be flipped. The commented code removed in this checkin does that through a calculation in the loops, but the way the filter assignment works with this code, the flip is done by keeping the indexing static, so a look up table works and is slightly faster.
Removing other version of code for different sample rates.
Working version of channelizer allowing an integer multiple of the sampling rate out.There are two versions of the code in here with the second way being more general and efficient. This one should be more extendable to allowing rational ratio output sampling rates.
Opening up channelizer to have different sampling rates out. This first pass produces the correct output for oversampling_rate = 1.
Add missing include file in gnuradio-core
Add missing cstdio includes for gcc 4.4 compatibility
Merging trondeau/pfb r11249:11581 into trunk. This adds a few polyphase filterbank implementations that do (integer) decimation, (integer) interpolation, arbitrary resampling, and channelizing. gnuradio-example/python/pfb includes a number of different examples of how to use these blocks....