Skip to content
Snippets Groups Projects
Commit 6a6f11a3 authored by John Romein's avatar John Romein
Browse files

BugID: 225

Removed Observation.ChanWidth, which can be derived from Observation.SampleRate
and Observation.NChannels.
parent afac7b91
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
......@@ -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");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment