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: Jean-Philippe Buchet
Subject: Re: GRU module removed, what can I do please ?
Date: Fri, 22 Jul 2022 18:10:10 +0200

Thaks Vasil to take time.
It was just a typo when I write down what was on the remote screen ( I can't copy past).
I feel free to send you the original script ( Once again, I am not the dev) and will gicve you some explanations.
Jean-Phi

Le ven. 22 juil. 2022 à 15:00, Vasil Velichkov <vvvelichkov@gmail.com> a écrit :
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]