Source
1852
1852
else
1853
1853
// All baselines
1854
1854
bsln=Slice(0,plotmscache_->chunkShapes()(2,currChunk_),1);
1855
1855
1856
1856
// cout << "Bsln, chan, corr: " << ibsln << " " << ichan << " " << icorr << endl;
1857
1857
1858
1858
// Set the sliced flag
1859
1859
Cube<Bool> flagcube(plotmscache_->flag(currChunk_));
1860
1860
flagcube(corr,chan,bsln)=flag;
1861
1861
1862
+
// flagrow not loaded by default, this gets seg fault
1863
+
/*
1862
1864
// unset flagrow when unflagging (if present in cache)
1863
1865
if (!flag) {
1864
1866
Vector<Bool> flagrow(plotmscache_->flagrow(currChunk_));
1865
1867
if (flagrow.nelements()>0)
1866
1868
flagrow(bsln)=false;
1867
1869
}
1870
+
*/
1868
1871
}
1869
1872
1870
1873
/* These may not ever be needed? (gmoellen 2011March15)
1871
1874
1872
1875
void PlotMSIndexer::collapseMask0000(Int ch,Array<Bool>& collmask) {
1873
1876
collmask.resize(IPosition(1,1));
1874
1877
collmask(IPosition(1,0)) = (ntrue( *(plotmscache_->plmask_[ch]) ) > uInt(0));
1875
1878
}
1876
1879
1877
1880
void PlotMSIndexer::collapseMask1000(Int ch,Array<Bool>& collmask) {