discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GRU module removed, what can I do please ?


From: Vasil Velichkov
Subject: Re: GRU module removed, what can I do please ?
Date: Fri, 22 Jul 2022 16:00:39 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.2.0

Hi Jean-Philippe,

On 22/07/2022 15.47, Vasil Velichkov wrote:
> Hi Jean-Philippe,
> 
> On 22/07/2022 15.32, Jean-Philippe Buchet wrote:
>> When I run the python script, removing the gru import,  it stops and :
> 
> Can you share this script?
> 
>> taps=filter.firdies.low_pass(1.0, sample_rate, bw, bw*options,
>> transition_width, filter.firdies.WIN_HANN)
>>
>> the error message is : type object
>> 'gnuradio.filter.filter_python.firdies' has no attribute 'WIN_HANN"
> 
> Looks like a typo, try changing firdies to firdes
> 
>  taps=filter.firdes.low_pass(1.0, sample_rate, bw, bw*options, 
> transition_width, filter.firdes.WIN_HANN)

Also try changing filter.firdes.WIN_HANN to fft.window.WIN_HANN

   taps=filter.firdes.low_pass(1.0, sample_rate, bw, bw*options, 
transition_width, fft.window.WIN_HANN)

and make sure that fft module is imported in your script.

    from gnuradio import fft

Regards,
Vasil



reply via email to

[Prev in Thread] Current Thread [Next in Thread]