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

Task #4315: Cosmetic improvements

parent 95ed1d25
No related branches found
No related tags found
No related merge requests found
......@@ -24,11 +24,9 @@
#include "Delays.h"
#include <Common/LofarLogger.h>
#include <Common/PrettyUnits.h>
#include <Common/Thread/Mutex.h>
#include <Common/Thread/Cancellation.h>
#include <CoInterface/Exceptions.h>
#include <CoInterface/BeamCoordinates.h>
#include <measures/Measures/MEpoch.h>
#include <measures/Measures/MCDirection.h>
......@@ -82,9 +80,9 @@ namespace LOFAR
// convert a time in samples to a (day,fraction) pair in UTC in a CasaCore format
MVEpoch Delays::toUTC(const TimeStamp &timeStamp) const
MVEpoch Delays::toUTC(const TimeStamp &timestamp) const
{
double utc_sec = timeStamp.getSeconds() / MVEpoch::secInDay;
double utc_sec = timestamp.getSeconds() / MVEpoch::secInDay;
double day = floor(utc_sec);
double frac = utc_sec - day;
......@@ -141,9 +139,9 @@ namespace LOFAR
}
void Delays::calcDelays( const TimeStamp &timeStamp, AllDelays &result ) {
void Delays::calcDelays( const TimeStamp &timestamp, AllDelays &result ) {
// Set the instant in time in the itsFrame
itsFrame.resetEpoch(toUTC(timeStamp));
itsFrame.resetEpoch(toUTC(timestamp));
// Convert directions for all beams
result.resize(parset.settings.SAPs.size());
......
......@@ -112,7 +112,7 @@ namespace LOFAR
const TimeStamp itsStartTime;
const size_t blockSize;
casa::MVEpoch toUTC( const TimeStamp &timeStamp ) const;
casa::MVEpoch toUTC( const TimeStamp &timestamp ) const;
void init();
......@@ -134,7 +134,7 @@ namespace LOFAR
// Computes the delays for a specific moment in time and stores them
// in `result'.
void calcDelays( const TimeStamp &timeStamp, AllDelays &result );
void calcDelays( const TimeStamp &timestamp, AllDelays &result );
// the circular buffer to hold the moving beam directions for every second of data
std::vector<AllDelays> itsBuffer;
......
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