From e3b11d3ebe81f55b2336ab9efacd432980bfba1c Mon Sep 17 00:00:00 2001
From: Eric Kooistra <kooistra@astron.nl>
Date: Fri, 4 Mar 2022 12:10:53 +0100
Subject: [PATCH] Use data/Coeffs16384Kaiser-quant.dat when application =
 lofar_subband.

---
 applications/lofar2/model/run_pfir_coeff.m | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/applications/lofar2/model/run_pfir_coeff.m b/applications/lofar2/model/run_pfir_coeff.m
index 5c77cd51d8..a16ef12190 100644
--- a/applications/lofar2/model/run_pfir_coeff.m
+++ b/applications/lofar2/model/run_pfir_coeff.m
@@ -127,8 +127,8 @@ elseif strcmp(application, 'lofar_subband')
     L = 16;
     coeff_w = 16;
     q_full_scale = 2^(coeff_w-1);
-    coeffLoad = load('data/Coefficient_16KKaiser.dat');   % column
-    %coeffLoad = load('data/Coeffs16384Kaiser-quant.dat');   % column
+    %coeffLoad = load('data/Coefficient_16KKaiser.gold');    % column, created with pfs_coeff_final.m, DC gain = 0.995714
+    coeffLoad = load('data/Coeffs16384Kaiser-quant.dat');   % column, used in LOFAR1, DC gain = 0.994817
     coeffLoad = coeffLoad';                                 % row with integer coefficients from file
     config.dc_adjust = false;
     if config.dc_adjust==false
-- 
GitLab