From bb82e599d60cd213d3f516f86052029193cb73df Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Fri, 13 Sep 2024 15:48:33 +0200 Subject: Make generate-filter.py compatible with GNURadio 3.10 --- doc/fir-filter/generate-filter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/fir-filter/generate-filter.py b/doc/fir-filter/generate-filter.py index fd181ed..0836446 100755 --- a/doc/fir-filter/generate-filter.py +++ b/doc/fir-filter/generate-filter.py @@ -56,7 +56,7 @@ cutoff = 810e3 transition_width = 250e3 # Generate filter taps and print them out -taps = digital.filter.firdes_low_pass(gain, sampling_freq, cutoff, transition_width) # hamming window +taps = digital.filter.firdes.low_pass(gain, sampling_freq, cutoff, transition_width) # hamming window print(len(taps)) for t in taps: -- cgit v1.2.3