Skip to content
Snippets Groups Projects
Commit 2df2aa54 authored by Thomas Jürges's avatar Thomas Jürges
Browse files

SW-561: Add scaling of the central frequency from MHz to Hz

parent a0c254a2
No related branches found
No related tags found
No related merge requests found
......@@ -441,7 +441,7 @@ namespace LOFAR
currentSubBand.dataSet->bandNumber().value = bandNr;
currentSubBand.dataSet->sliceNumber().value = sliceNr;
currentSubBand.dataSet->centralFrequency().value =
currentSubBand.centralFrequency;
currentSubBand.centralFrequency * 1e6;
currentSubBand.dataSet->centralFrequencyUnit().value = "Hz";
currentSubBand.dataSet->timeResolution().value =
static_cast< double >(SPECTRAL_TRANSFORM_SIZE) /
......
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