diff --git a/Appl/CEP/CS1/CS1_Interface/src/CS1.parset b/Appl/CEP/CS1/CS1_Interface/src/CS1.parset index 9fe31cd2efe5830667d9f7204dcdb952e42bc3b0..da911e94b12e72665ccc9e87bea82f519f01f4be 100644 --- a/Appl/CEP/CS1/CS1_Interface/src/CS1.parset +++ b/Appl/CEP/CS1/CS1_Interface/src/CS1.parset @@ -40,7 +40,6 @@ Observation.BeamDirections = [\ # pair of RA/DEC per beam (angle in rad) Observation.StartTime = 53328.6407291667 # MJD: 2004/11/19 15h22m39s Observation.StopTime = 53328.6823958333 # MJD: 2004/11/19 16h22m39s Observation.RefFreqs = [1.0e5, 3.0e5, 5.0e5, 7.0e5, 9.0e5, 11.0e5, 13.0e5, 15.0e5] # the reference frequency for each stored(!) subband (Hz) -Observation.ChanWidth = 762.94 # width of each channel (Hz) # General Variables General.SubbandsPerCell = 1 diff --git a/Appl/CEP/CS1/CS1_Storage/src/WH_SubbandWriter.cc b/Appl/CEP/CS1/CS1_Storage/src/WH_SubbandWriter.cc index 2046ab18f79a7f1bb3037c2fb91b221c9f67b89a..c4d7334a15f1986f78aa4bebaa2dcccb33b06b4a 100644 --- a/Appl/CEP/CS1/CS1_Storage/src/WH_SubbandWriter.cc +++ b/Appl/CEP/CS1/CS1_Storage/src/WH_SubbandWriter.cc @@ -162,7 +162,8 @@ namespace LOFAR itsNChannels, itsNPolSquared, itsNStations, antPos); - double chanWidth = itsPS.getDouble("Observation.ChanWidth"); + double chanWidth = itsPS.getDouble("Observation.SampleRate") / + itsPS.getDouble("Observation.NChannels"); LOG_TRACE_VAR_STR("chanWidth = " << chanWidth); vector<double> refFreqs= itsPS.getDoubleVector("Observation.RefFreqs");