From a4b7ad84c65cd12fef0661738577b6d7082cb622 Mon Sep 17 00:00:00 2001 From: Brendan Haines Date: Wed, 8 Apr 2020 15:09:47 -0600 Subject: [PATCH] fix order of taps --- Software/python/server.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Software/python/server.py b/Software/python/server.py index 4beb147..fefd0c5 100644 --- a/Software/python/server.py +++ b/Software/python/server.py @@ -110,6 +110,9 @@ def controller(): iir_taps = np.append(D.num[1:], 0) fir_taps = np.append(D.num, 0) fir_taps = np.concatenate([np.zeros(len(iir_taps)-len(fir_taps) + 1), fir_taps]) + + iir_taps = np.flip(iir_taps) + fir_taps = np.flip(fir_taps) # fir_taps = [1, 0, 0] # iir_taps = [0, 0]