Commits
1408 1408 | LogIO log(LogOrigin("StatWtTVI", __func__)); |
1409 1409 | log << LogIO::NORMAL << "Originally, " << orig |
1410 1410 | << "% of the data were flagged. StatWtTVI flagged an " |
1411 1411 | << "additional " << stwt << "%." << LogIO::POST; |
1412 1412 | log << LogIO::NORMAL << "TOTAL FLAGGED DATA AFTER RUNNING STATWT: " |
1413 1413 | << total << "%" << LogIO::POST; |
1414 1414 | log << LogIO::NORMAL << std::endl << LogIO::POST; |
1415 1415 | if (_nOrigFlaggedPts == _nTotalPts) { |
1416 1416 | log << LogIO::WARN << "IT APPEARS THAT ALL THE DATA IN THE INPUT " |
1417 1417 | << "MS/SELECTION WERE FLAGGED PRIOR TO RUNNING STATWT" |
1418 - | << std::endl << LogIO::POST; |
1418 + | << LogIO::POST; |
1419 + | log << LogIO::NORMAL << std::endl << LogIO::POST; |
1419 1420 | } |
1420 1421 | else if (_nOrigFlaggedPts + _nNewFlaggedPts == _nTotalPts) { |
1421 1422 | log << LogIO::WARN << "IT APPEARS THAT STATWT FLAGGED ALL THE " |
1422 1423 | "IN THE REQUESTED SELECTION THAT WASN'T ORIGINALLY FLAGGED" |
1423 - | << std::endl << LogIO::POST; |
1424 + | << LogIO::POST; |
1425 + | log << LogIO::NORMAL << std::endl << LogIO::POST; |
1424 1426 | } |
1425 1427 | String col0 = "SPECTRAL_WINDOW"; |
1426 1428 | String col1 = "SAMPLES_WITH_NON-ZERO_VARIANCE"; |
1427 1429 | String col2 = "SAMPLES_WHERE_REAL_PART_VARIANCE_DIFFERS_BY_>50%_FROM_" |
1428 1430 | "IMAGINARY_PART"; |
1429 1431 | log << LogIO::NORMAL << col0 << " " << col1 << " " << col2 << LogIO::POST; |
1430 1432 | auto n0 = col0.size(); |
1431 1433 | auto n1 = col1.size(); |
1432 1434 | auto n2 = col2.size(); |
1433 1435 | for (const auto& sample: _samples) { |