Changeset 414 for trunk/src/SDMemTable.cc
- Timestamp:
- 02/11/05 17:50:42 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/SDMemTable.cc
r401 r414 1381 1381 throw (AipsError("Number of rest frequencies must be equal to the number of IFs")); 1382 1382 } 1383 c err<< "Replacing rest frequencies with given list, one per IF" << endl;1383 cout << "Replacing rest frequencies with given list, one per IF" << endl; 1384 1384 // 1385 1385 sdft.deleteRestFrequencies(); … … 1394 1394 Quantum<Double> rf(restFreqs[0], unit); 1395 1395 idx = sdft.addRestFrequency(rf.getValue("Hz")); 1396 c err<< "Selecting given rest frequency" << endl;1396 cout << "Selecting given rest frequency" << endl; 1397 1397 } 1398 1398 … … 1438 1438 } 1439 1439 1440 void SDMemTable::spectralLines 1440 void SDMemTable::spectralLines() const 1441 1441 { 1442 1442 Vector<String> lines = MeasTable::Lines(); … … 1444 1444 Double freq; 1445 1445 // 1446 c err.flags(std::ios_base::left);1447 c err<< "Line Frequency (Hz)" << endl;1448 c err<< "-----------------------" << endl;1446 cout.flags(std::ios_base::left); 1447 cout << "Line Frequency (Hz)" << endl; 1448 cout << "-----------------------" << endl; 1449 1449 for (uInt i=0; i<lines.nelements(); i++) { 1450 1450 MeasTable::Line(lineFreq, lines[i]); 1451 1451 freq = lineFreq.getValue().getValue(); // Hz 1452 1452 // 1453 c err<< setw(11) << lines[i] << setprecision(10) << freq << endl;1453 cout << setw(11) << lines[i] << setprecision(10) << freq << endl; 1454 1454 } 1455 1455 }
Note: See TracChangeset
for help on using the changeset viewer.