|
From: | Mac A. Cody |
Subject: | Re: [Discuss-gnuradio] GSoC: Filter Design tool update |
Date: | Thu, 09 Aug 2012 22:59:52 -0500 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120714 Thunderbird/14.0 |
Sreeraj,
Removing that code appears to have fixed the startup problem. When I execute gr_filter_design, the following message is displayed on the console prior to the display of the gr_filter_design GUI: QInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch failed: No such file or directory QFileSystemWatcher: failed to add paths: /home/mcody/.config/ibus/bus Bus::open: Can not get ibus-daemon's address. IBusInputContext::createInputContext: no connection to ibus-daemon I'm not sure what this is for or if it is critical to proper operation of gr_filter_design. I am trying to emulate an 8th-order Butterworth low-pass filter using gr.iir_filter_ffd in GNU Radio. I cannot seem to implement an IIR filter with such a steep roll-off in gr_filter_design. The filter characteristic I want are as follows: Sample Rate: 128,000 sps Cut-off (3 dB) frequency: 1200 Hz (0.009375 normalized) End of Passband: 900 Hz (0.00703125 normalized) Start of Stop Band: 6000 Hz (0.046875 normalized) Max Loss in Pass Band: 1 dB Min Attenuation in Stop Band: 110 dB When I plug in the last four values above into gr_filter_design and press the Design button, the following message is displayed on the console: /usr/lib/python2.6/dist-packages/scipy/signal/filter_design.py:221: BadCoefficients: Badly conditionned filter coefficients (numerator): the results may be meaningless "results may be meaningless", BadCoefficients) If I adjust the parameters to more conservative values, I can keep the error message from displaying. Unfortunately the designed Butterworth filter does not meet my specifications. In the end, I was hoping that the new functionality in gr_filter_design would help with solving another problem that I am having. That is that I cannot seem to get gr.iir_filter_ffd to execute properly. I tried plugging in different sets of feed-forward (b) and feedback (a) coefficients generated with other IIR filter design tools (and now gr_filter_design) without success. I always end up with strange NaN errors when I run GNU Radio scripts that include gr.iir_filter_ffd. I have searched without success in finding useful guidelines for using gr.iir_filter_ffd. Thanks, Mac On 08/09/2012 12:18 AM, sreeraj r wrote:
|
[Prev in Thread] | Current Thread | [Next in Thread] |