From 684ae2f0e4f2262b2e4eb18c7392054681aaf0cd Mon Sep 17 00:00:00 2001 From: Tammo Jan Dijkema <dijkema@astron.nl> Date: Sun, 3 Jul 2016 18:40:06 +0000 Subject: [PATCH] Task #9614: restrict end time of gaincal solutions to end of MS --- CEP/DP3/DPPP/src/GainCal.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CEP/DP3/DPPP/src/GainCal.cc b/CEP/DP3/DPPP/src/GainCal.cc index 20280fada09..6189bbe8f3d 100644 --- a/CEP/DP3/DPPP/src/GainCal.cc +++ b/CEP/DP3/DPPP/src/GainCal.cc @@ -682,7 +682,8 @@ namespace LOFAR { BBS::Axis::ShPtr tdomAxis( new BBS::RegularAxis( startTime, - ntime * info().timeInterval() * itsSolInt, + min(ntime * info().timeInterval() * itsSolInt, + info().ntime() * info().timeInterval()), 1)); BBS::Axis::ShPtr fdomAxis( new BBS::RegularAxis( -- GitLab