Skip to content

Commit

Permalink
Change positional args to keyword args in scipy.signal.remez (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
gmgunter committed Jan 22, 2024
1 parent 6f77a6d commit d8d9fab
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/tophu/_filter.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,10 +171,10 @@ def isodd(n: int) -> bool:

# Get filter coefficients.
coeffs = scipy.signal.remez(
numtaps,
edgefreqs,
gains,
weights,
numtaps=numtaps,
bands=edgefreqs,
desired=gains,
weight=weights,
maxiter=maxiter,
grid_density=grid_density,
fs=samplerate,
Expand Down

0 comments on commit d8d9fab

Please sign in to comment.