Changeset 414 for trunk/src/SDMath.cc
- Timestamp:
- 02/11/05 17:50:42 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/SDMath.cc
r410 r414 1089 1089 Double cFac = 1.0; 1090 1090 if (fluxUnit==JY) { 1091 c err<< "Converting to K" << endl;1091 cout << "Converting to K" << endl; 1092 1092 // 1093 1093 Quantum<Double> t(1.0,fluxUnit); … … 1098 1098 sh.fluxunit = "K"; 1099 1099 } else if (fluxUnit==K) { 1100 c err<< "Converting to Jy" << endl;1100 cout << "Converting to Jy" << endl; 1101 1101 // 1102 1102 Quantum<Double> t(1.0,fluxUnit); … … 1121 1121 if (toKelvin) factor = 1.0 / JyPerK; 1122 1122 // 1123 c err<< "Applying supplied conversion factor = " << factor << endl;1123 cout << "Applying supplied conversion factor = " << factor << endl; 1124 1124 Vector<Float> factors(in.nRow(), factor); 1125 1125 correctFromVector (pTabOut, in, doAll, factors); … … 1130 1130 } 1131 1131 // 1132 c err<< "Applying supplied conversion factor = " << factor << endl;1132 cout << "Applying supplied conversion factor = " << factor << endl; 1133 1133 Vector<Float> factors(in.nRow(), factor); 1134 1134 correctFromVector (pTabOut, in, doAll, factors); … … 1140 1140 // change per integration. 1141 1141 1142 c err<< "Looking up conversion factors" << endl;1142 cout << "Looking up conversion factors" << endl; 1143 1143 convertBrightnessUnits (pTabOut, in, toKelvin, cFac, doAll); 1144 1144 } … … 1204 1204 } 1205 1205 // 1206 c err<< "Making polynomial correction with " << msg << " coefficients" << endl;1206 cout << "Making polynomial correction with " << msg << " coefficients" << endl; 1207 1207 const uInt nRow = in.nRow(); 1208 1208 Vector<Float> factor(nRow); … … 1222 1222 // Read and correct 1223 1223 1224 c err<< "Making correction from ascii Table" << endl;1224 cout << "Making correction from ascii Table" << endl; 1225 1225 correctFromAsciiTable (pTabOut, in, fileName, col0, col1, 1226 1226 methodStr, doAll, x); … … 1301 1301 // 1302 1302 Vector<Float> JyPerK = sdAtt.JyPerK(inst, dateObs, freqs); 1303 c err<< "Jy/K = " << JyPerK << endl;1303 cout << "Jy/K = " << JyPerK << endl; 1304 1304 Vector<Float> factors = cFac * JyPerK; 1305 1305 if (toKelvin) factors = Float(1.0) / factors; … … 1405 1405 refEpoch = in.getEpoch(0); 1406 1406 } 1407 c err << "Aligning at reference Epoch " << formatEpoch(refEpoch) <<1408 1409 1407 cout << "Aligning at reference Epoch " << formatEpoch(refEpoch) 1408 << " in frame " << MFrequency::showType(freqSystem) << endl; 1409 1410 1410 // Get Reference Position 1411 1411 … … 1452 1452 // New output Table 1453 1453 1454 c err<< "Create output table" << endl;1454 cout << "Create output table" << endl; 1455 1455 SDMemTable* pTabOut = new SDMemTable(in,True); 1456 1456 pTabOut->putSDFreqTable(freqTabOut); … … 1471 1471 for (uInt iRow=0; iRow<nRows; ++iRow) { 1472 1472 if (iRow%10==0) { 1473 c err<< "Processing row " << iRow << endl;1473 cout << "Processing row " << iRow << endl; 1474 1474 } 1475 1475
Note: See TracChangeset
for help on using the changeset viewer.