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 <vvvelich...@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 >