diff --git a/Appl/CEP/CS1/CS1_InputSection/include/CS1_InputSection/WH_RSPInput.h b/Appl/CEP/CS1/CS1_InputSection/include/CS1_InputSection/WH_RSPInput.h index f15914a56e45ebed363907049140200c7a0bafb5..3d2e051f91e661faa4a5f67a4f1f9a19118263ed 100644 --- a/Appl/CEP/CS1/CS1_InputSection/include/CS1_InputSection/WH_RSPInput.h +++ b/Appl/CEP/CS1/CS1_InputSection/include/CS1_InputSection/WH_RSPInput.h @@ -101,7 +101,6 @@ namespace LOFAR // synced stamp TimeStamp itsSyncedStamp; - int itsNSubbands; int itsNSubbandsPerCell; int itsNSamplesPerSec; int itsNHistorySamples; diff --git a/Appl/CEP/CS1/CS1_InputSection/src/WH_RSPInput.cc b/Appl/CEP/CS1/CS1_InputSection/src/WH_RSPInput.cc index 1adc268a8eba2f6e7671095bd5c1dd6f7b02bc38..3136f3d700a517cee6a7bea60e8b4f31c7928437 100644 --- a/Appl/CEP/CS1/CS1_InputSection/src/WH_RSPInput.cc +++ b/Appl/CEP/CS1/CS1_InputSection/src/WH_RSPInput.cc @@ -70,7 +70,6 @@ namespace LOFAR { char str[32]; // get parameters - itsNSubbands = ps.getInt32("Observation.NSubbands") * ps.getInt32("Observation.NStations") / ps.getInt32("Input.NRSPBoards"); itsNSubbandsPerCell = ps.getInt32("General.SubbandsPerPset") * ps.getInt32("BGLProc.PsetsPerCell"); itsNSamplesPerSec = ps.getInt32("Observation.NSubbandSamples"); itsNHistorySamples = (ps.getInt32("BGLProc.NPPFTaps") - 1) * ps.getInt32("Observation.NChannels"); @@ -139,7 +138,7 @@ namespace LOFAR { { // create the buffer controller. int cyclicBufferSize = itsPS.getInt32("Input.NSamplesToBuffer"); - int subbandsToReadFromFrame = itsNSubbands * itsPS.getInt32("Observation.NStations") / itsPS.getInt32("Input.NRSPBoards"); + int subbandsToReadFromFrame = itsPS.getInt32("Observation.NSubbands") * itsPS.getInt32("Observation.NStations") / itsPS.getInt32("Input.NRSPBoards"); ASSERTSTR(subbandsToReadFromFrame <= itsPS.getInt32("Input.NSubbandsPerFrame"), subbandsToReadFromFrame << " < " << itsPS.getInt32("Input.NSubbandsPerFrame")); itsBBuffer = new BeamletBuffer(cyclicBufferSize, subbandsToReadFromFrame, cyclicBufferSize/6, cyclicBufferSize/6);