From 6912b6c68d9e1f16926210af477d39d34a859a72 Mon Sep 17 00:00:00 2001 From: Nao Pross Date: Sat, 27 Nov 2021 14:51:15 +0100 Subject: Update access code processing Fixed: FIR filter samples need to be complex conj --- tests/correlator/acproc.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'tests/correlator/acproc.py') diff --git a/tests/correlator/acproc.py b/tests/correlator/acproc.py index 5f6ace3..e119520 100755 --- a/tests/correlator/acproc.py +++ b/tests/correlator/acproc.py @@ -49,8 +49,9 @@ ax2.plot(ac.imag, ".-") ax2.set_title("Symbols of Access Code (time)") plt.show() +fir = list(np.conj(ac[::-1])) + # print the symbols print(f"Generated {len(ac)} symbols from a {aclen} byte sequence") -print(list(ac)) -print("Reversed symbols (for FIR filter)") -print(list(ac[::-1])) +print("Reversed symbols (for FIR filter):") +print(fir) -- cgit v1.2.1