Skip to content

Commit

Permalink
Fix linter errors
Browse files Browse the repository at this point in the history
  • Loading branch information
mhostetter committed Jul 15, 2023
1 parent da47459 commit 4b09049
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sdr/_fir_filter.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ def frequency_response_log(
See the :ref:`fir-filters` example.
"""
w = np.logspace(np.log10(sample_rate / 2 / 10**decades), np.log10(sample_rate / 2), N)
w, H = scipy.signal.freqz(self.b_taps, self.a_taps, worN=w, whole=False, fs=sample_rate)
w, H = scipy.signal.freqz(self.taps, 1, worN=w, whole=False, fs=sample_rate)

return w, H

Expand Down

0 comments on commit 4b09049

Please sign in to comment.