# Version 3.7 gr.remez problem

**URL:** <https://www.ruby-forum.com/t/version-3-7-gr-remez-problem/237891>\
**Category:** GNU Radio\
**Created:** [December 5, 2013, 1:41am UTC](https://www.ruby-forum.com/t/version-3-7-gr-remez-problem/237891 "2013-12-05T01:41:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Detlef\_R](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/58f4c7/32.png) [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Post date:** [December 5, 2013, 1:41am UTC](https://www.ruby-forum.com/t/version-3-7-gr-remez-problem/237891/1 "2013-12-05T01:41:18Z")

</div>

hi, in this file:  
/usr/local/lib/python2.7/dist-packages/gnuradio/optfir.py

there is a definition for a remez filter that uses the gr.remez  
function.  
It seems it,s not here anymore in the new version. How can I replace it?

any hints appreciated since both the IRC channel and the search engine  
haven’t really helped.

tx!

---

<div class="post-metadata">

**Author:** ![kdag](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/71c47a/32.png) [@kdag](https://www.ruby-forum.com/u/kdag)\
**Post date:** [December 5, 2013, 4:03am UTC](https://www.ruby-forum.com/t/version-3-7-gr-remez-problem/237891/2 "2013-12-05T04:03:16Z")

</div>

On Wed, Dec 4, 2013 at 7:39 PM, kdag [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> hi, in this file:  
> /usr/local/lib/python2.7/dist-packages/gnuradio/optfir.py
> 
> there is a definition for a remez filter that uses the gr.remez function. It  
> seems it,s not here anymore in the new version. How can I replace it?
> 
> any hints appreciated since both the IRC channel and the search engine  
> haven’t really helped.
> 
> tx!

Well, I have to say that I’m a bit hurt by this email. After all, I  
did answer your question on IRC. Though you came back later with  
another question, and also though you have given us very little  
information to go on to help you.

First, as I explained on IRC, that function was renamed pm\_remez and  
is found in the filter module (from gnuradio import filter;  
filter.pm\_remez).

From the looks of things, you have older code installed and now are  
trying to use GNU Radio 3.7.x. We always recommend to remove any  
previous installed files when updating to a new GNU Radio API version  
(e.g., from 3.6 to 3.7). The new optfir.py file uses the pm\_remez  
function.

There many other changes that are similarly semantic between the  
versions. You can get more information about the changes here:  
[http://gnuradio.org/redmine/projects/gnuradio/wiki/Move\_3-6\_to\_3-7](http://gnuradio.org/redmine/projects/gnuradio/wiki/Move_3-6_to_3-7)

Tom

---

<div class="post-metadata">

**Author:** ![kdag](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/71c47a/32.png) [@kdag](https://www.ruby-forum.com/u/kdag)\
**Post date:** [December 5, 2013, 1:09pm UTC](https://www.ruby-forum.com/t/version-3-7-gr-remez-problem/237891/3 "2013-12-05T13:09:36Z")

</div>

opps, my excuses if it was so rough but i tried (as said on the IRC  
channel  
–with-ignorance) to understand what you suggested and passed on to a  
second similar error. we tried to rename and compare the files but  
failed…  
it was late and decided to send another email to the list since google  
gave  
not many hints \*remez related search.

i have installed gnuradio with the build-gnuradio script that is  
suppossed  
to delete all previous installs.

will continue today trying to understand what could be the issue…  
apologies again.
