diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2024-09-13 15:48:33 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2024-09-13 15:48:33 +0200 |
commit | bb82e599d60cd213d3f516f86052029193cb73df (patch) | |
tree | dff1b0fd8593a6a0c35e06020c448338f6254ba2 /doc | |
parent | 2cabafb8d8a0a1187bf925e24ba518574c9084e5 (diff) | |
download | dabmod-bb82e599d60cd213d3f516f86052029193cb73df.tar.gz dabmod-bb82e599d60cd213d3f516f86052029193cb73df.tar.bz2 dabmod-bb82e599d60cd213d3f516f86052029193cb73df.zip |
Make generate-filter.py compatible with GNURadio 3.10
Diffstat (limited to 'doc')
-rwxr-xr-x | doc/fir-filter/generate-filter.py | 2 |
1 files changed, 1 insertions, 1 deletions
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: |