Skip to content
Snippets Groups Projects
Commit e76358e9 authored by Ger van Diepen's avatar Ger van Diepen
Browse files

bug 1354:

Needed to add half the integration time to start time
parent e2ad9384
Branches
Tags
No related merge requests found
...@@ -266,6 +266,8 @@ void LofarStMan::init() ...@@ -266,6 +266,8 @@ void LofarStMan::init()
aio >> itsAnt1 >> itsAnt2 >> itsStartTime >> itsTimeIntv >> itsNChan aio >> itsAnt1 >> itsAnt2 >> itsStartTime >> itsTimeIntv >> itsNChan
>> itsNPol >> itsMaxNrSample >> alignment >> asBigEndian; >> itsNPol >> itsMaxNrSample >> alignment >> asBigEndian;
aio.getend(); aio.getend();
// Set start time to middle of first time slot.
itsStartTime += itsTimeIntv*0.5;
AlwaysAssert (itsAnt1.size() == itsAnt2.size(), AipsError); AlwaysAssert (itsAnt1.size() == itsAnt2.size(), AipsError);
uInt nrant = itsAnt1.size(); uInt nrant = itsAnt1.size();
itsDoSwap = (asBigEndian != HostInfo::bigEndian()); itsDoSwap = (asBigEndian != HostInfo::bigEndian());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment