From 8a5d187253e8e6239eb7e649ab0eb1165ff3b7f0 Mon Sep 17 00:00:00 2001 From: Sarod Yatawatta <yatawatta@astron.nl> Date: Mon, 16 Nov 2020 09:51:39 +0000 Subject: [PATCH] COB-153: added test for Doppler correction and delay/bandpass correction --- .../tCorrelatorSubbandProcProcessSb.cc | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/RTCP/Cobalt/GPUProc/test/SubbandProcs/tCorrelatorSubbandProcProcessSb.cc b/RTCP/Cobalt/GPUProc/test/SubbandProcs/tCorrelatorSubbandProcProcessSb.cc index e99d89e9609..5dd71c28667 100644 --- a/RTCP/Cobalt/GPUProc/test/SubbandProcs/tCorrelatorSubbandProcProcessSb.cc +++ b/RTCP/Cobalt/GPUProc/test/SubbandProcs/tCorrelatorSubbandProcProcessSb.cc @@ -298,6 +298,25 @@ TEST(weights_flags_64ch) { } } + +TEST(doppler_corection) { + // Override nr channels to 64 + Parset ps("tCorrelatorSubbandProcProcessSb.parset"); + ps.replace("Cobalt.Correlator.nrChannelsPerSubband", "64"); + ps.replace("Cobalt.Correlator.dopplerCorrection","true"); + ps.replace("Cobalt.delayCompensation","true"); + ps.replace("Cobalt.correctBandpass","true"); + ps.updateSettings(); + SubbandProcWrapper wrapper(ps); + + // process + wrapper.process(); + + // Only checking execution for the moment + // no output verification +} + + int main() { INIT_LOGGER("tCorrelatorSubbandProcProcessSb"); -- GitLab