From c68296c971f6ad2369b5077d2394a74a16cc7472 Mon Sep 17 00:00:00 2001 From: Geoffrey M Gunter Date: Mon, 22 Jan 2024 21:06:37 +0000 Subject: [PATCH] Change positional args to keyword args in scipy.signal.remez --- src/tophu/_filter.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/tophu/_filter.py b/src/tophu/_filter.py index ab8b5c5..c86f01e 100644 --- a/src/tophu/_filter.py +++ b/src/tophu/_filter.py @@ -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,