Skip to content
Snippets Groups Projects
Commit bc9021f9 authored by Jan David Mol's avatar Jan David Mol
Browse files

Task #2669: Also write stationSubbands feedback key

parent 70553bf4
No related branches found
No related tags found
No related merge requests found
...@@ -540,6 +540,17 @@ namespace LOFAR ...@@ -540,6 +540,17 @@ namespace LOFAR
itsConfiguration.add(prefix + "centralFrequencies", centralFreqsStr.str()); itsConfiguration.add(prefix + "centralFrequencies", centralFreqsStr.str());
ostringstream stationSubbandsStr;
stationSubbandsStr << "[";
for (size_t i = 0; i < subbands.size(); ++i) {
if( i > 0 )
stationSubbandsStr << ", ";
stationSubbandsStr << str(format("%u") % subbands[i]);
}
stationSubbandsStr << "]";
itsConfiguration.add(prefix + "stationSubbands", stationSubbandsStr.str());
itsConfiguration.add(prefix + "channelWidth", str(format("%f") % channelBandwidth)); itsConfiguration.add(prefix + "channelWidth", str(format("%f") % channelBandwidth));
itsConfiguration.add(prefix + "channelsPerSubband",str(format("%u") % itsInfo.nrChannels)); itsConfiguration.add(prefix + "channelsPerSubband",str(format("%u") % itsInfo.nrChannels));
itsConfiguration.add(prefix + "stokes", str(format("[%s]") % stokesVars_LTA[stokesNr])); itsConfiguration.add(prefix + "stokes", str(format("[%s]") % stokesVars_LTA[stokesNr]));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment