Source
527
527
else
528
528
{
529
529
startChan = 0;
530
530
endChan = nDataChan;
531
531
}
532
532
533
533
Bool finitePointingOffsets=(
534
534
(fabs(pointingOffset(0))>0) ||
535
535
(fabs(pointingOffset(1))>0)
536
536
);
537
-
Bool isGridSinglePrecision=(typeid(gridStore[0]) == typeid(wt));
537
+
// Bool isGridSinglePrecision=(typeid(gridStore[0]) == typeid(wt));
538
538
539
539
// Double conjRefFreq = vbs.imRefFreq();
540
540
Int vbSpw = (vbs.vb_p)->spectralWindows()(0);
541
541
Double vbPA = vbs.paQuant_p.getValue("rad");
542
542
Int vbFieldID = -1;//((const Int)((vbs.vb_p)->fieldId()(0)));
543
543
544
544
for(Int irow=rbeg; irow< rend; irow++){
545
545
// if ((vbs.uvw_p.nelements() == 0))
546
546
//if (accumCFs) if (allTrue(allPolNChanDone_l)) break;
547
547
663
663
else nvalue=Complex(*(imgWts_ptr+ichan+irow*nDataChan))*
664
664
(*(visCube_ptr+visVecElement+ichan*nDataPol+irow*nDataChan*nDataPol)*phasor);
665
665
666
666
667
667
668
668
if (!onGrid(nx, ny, nw, loc, support)) break;
669
669
//runTimeG6_p += timer_p.real();
670
670
671
671
672
672
convOrigin=cfShape/2;
673
-
Bool psfOnly=((dopsf==true) && (accumCFs==false));
673
+
// Bool psfOnly=((dopsf==true) && (accumCFs==false));
674
674
if (finitePointingOffsets )
675
675
cachePhaseGrad_p(pointingOffset, cfShape, convOrigin, cfRefFreq, vbs.imRefFreq(),
676
676
vbSpw, vbFieldID);
677
677
678
678
cacheAxisIncrements(cfShape, cfInc_p);
679
679
680
680
// accumulateOnGrid() is a local C++ method with the inner loops. The include
681
681
// file (FortanizedLoopsToGrid.cc) has the interface code to call the inner
682
682
// loops re-written in FORTRAN (in synthesis/fortran/faccumulateOnGrid.f)
683
683