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

Task #2715: added some more hdf5 header fields

parent 296c431b
No related branches found
No related tags found
No related merge requests found
......@@ -298,8 +298,8 @@ namespace LOFAR
sap.nofSamples() .set(itsNrSamples * nrBlocks);
sap.samplingRate() .set(parset.sampleRate());
sap.samplingRateUnit() .set("Hz");
//sap.samplingTime() .set(1.0 / parset.sampleRate());
//sap.samplingTimeUnit() .set("s");
sap.samplingTime() .set(1.0 / parset.sampleRate());
sap.samplingTimeUnit() .set("s");
sap.channelsPerSubband().set(parset.nrChannelsPerSubband());
sap.subbandWidth() .set(subbandBandwidth);
......@@ -331,7 +331,7 @@ namespace LOFAR
double beamCenterFrequencySum = accumulate(subbands.begin(), subbands.end(), 0.0);
//beam.beamFrequencyCenter().set(beamCenterFrequencySum / nrSubbands);
beam.beamFrequencyCenter().set(beamCenterFrequencySum / nrSubbands);
double DM = parset.dispersionMeasure(sapNr, beamNr);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment