Ignore:
Timestamp:
02/11/05 17:50:42 (19 years ago)
Author:
mar637
Message:

cerr to cout changes were appropriate.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/SDMemTable.cc

    r401 r414  
    13811381         throw (AipsError("Number of rest frequencies must be equal to the number of IFs"));
    13821382      }
    1383       cerr << "Replacing rest frequencies with given list, one per IF" << endl;
     1383      cout << "Replacing rest frequencies with given list, one per IF" << endl;
    13841384//
    13851385      sdft.deleteRestFrequencies();
     
    13941394      Quantum<Double> rf(restFreqs[0], unit);
    13951395      idx = sdft.addRestFrequency(rf.getValue("Hz"));
    1396       cerr << "Selecting given rest frequency" << endl;
     1396      cout << "Selecting given rest frequency" << endl;
    13971397   }
    13981398
     
    14381438}
    14391439
    1440 void SDMemTable::spectralLines () const
     1440void SDMemTable::spectralLines() const
    14411441{
    14421442   Vector<String> lines = MeasTable::Lines();
     
    14441444   Double freq;
    14451445//
    1446    cerr.flags(std::ios_base::left);
    1447    cerr << "Line      Frequency (Hz)" << endl;
    1448    cerr << "-----------------------" << endl;
     1446   cout.flags(std::ios_base::left);
     1447   cout << "Line      Frequency (Hz)" << endl;
     1448   cout << "-----------------------" << endl;
    14491449   for (uInt i=0; i<lines.nelements(); i++) {
    14501450     MeasTable::Line(lineFreq, lines[i]);
    14511451     freq = lineFreq.getValue().getValue();          // Hz
    14521452//
    1453      cerr << setw(11) << lines[i] << setprecision(10) << freq << endl;
     1453     cout << setw(11) << lines[i] << setprecision(10) << freq << endl;
    14541454   }
    14551455}
Note: See TracChangeset for help on using the changeset viewer.