diff options
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: |