Changeset 414 for trunk/src/SDMath.cc


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/SDMath.cc

    r410 r414  
    10891089  Double cFac = 1.0;   
    10901090  if (fluxUnit==JY) {
    1091      cerr << "Converting to K" << endl;
     1091     cout << "Converting to K" << endl;
    10921092//
    10931093     Quantum<Double> t(1.0,fluxUnit);
     
    10981098     sh.fluxunit = "K";
    10991099  } else if (fluxUnit==K) {
    1100      cerr << "Converting to Jy" << endl;
     1100     cout << "Converting to Jy" << endl;
    11011101//
    11021102     Quantum<Double> t(1.0,fluxUnit);
     
    11211121     if (toKelvin) factor = 1.0 / JyPerK;
    11221122//
    1123      cerr << "Applying supplied conversion factor = " << factor << endl;
     1123     cout << "Applying supplied conversion factor = " << factor << endl;
    11241124     Vector<Float> factors(in.nRow(), factor);
    11251125     correctFromVector (pTabOut, in, doAll, factors);
     
    11301130     }
    11311131//
    1132      cerr << "Applying supplied conversion factor = " << factor << endl;
     1132     cout << "Applying supplied conversion factor = " << factor << endl;
    11331133     Vector<Float> factors(in.nRow(), factor);
    11341134     correctFromVector (pTabOut, in, doAll, factors);
     
    11401140// change per integration.
    11411141
    1142      cerr << "Looking up conversion factors" << endl;
     1142     cout << "Looking up conversion factors" << endl;
    11431143     convertBrightnessUnits (pTabOut, in, toKelvin, cFac, doAll);
    11441144  }
     
    12041204     }
    12051205//
    1206      cerr << "Making polynomial correction with " << msg << " coefficients" << endl;
     1206     cout << "Making polynomial correction with " << msg << " coefficients" << endl;
    12071207     const uInt nRow = in.nRow();
    12081208     Vector<Float> factor(nRow);
     
    12221222// Read and correct
    12231223
    1224      cerr << "Making correction from ascii Table" << endl;
     1224     cout << "Making correction from ascii Table" << endl;
    12251225     correctFromAsciiTable (pTabOut, in, fileName, col0, col1,
    12261226                            methodStr, doAll, x);
     
    13011301//
    13021302   Vector<Float> JyPerK = sdAtt.JyPerK(inst, dateObs, freqs);
    1303    cerr << "Jy/K = " << JyPerK << endl;
     1303   cout << "Jy/K = " << JyPerK << endl;
    13041304   Vector<Float> factors = cFac * JyPerK;
    13051305   if (toKelvin) factors = Float(1.0) / factors;
     
    14051405      refEpoch = in.getEpoch(0);
    14061406   }
    1407    cerr << "Aligning at reference Epoch " << formatEpoch(refEpoch) <<
    1408           " in frame " << MFrequency::showType(freqSystem) << endl;
    1409 
     1407   cout << "Aligning at reference Epoch " << formatEpoch(refEpoch)
     1408        << " in frame " << MFrequency::showType(freqSystem) << endl;
     1409   
    14101410// Get Reference Position
    14111411
     
    14521452// New output Table
    14531453
    1454    cerr << "Create output table" << endl;
     1454   cout << "Create output table" << endl;
    14551455   SDMemTable* pTabOut = new SDMemTable(in,True);
    14561456   pTabOut->putSDFreqTable(freqTabOut);
     
    14711471   for (uInt iRow=0; iRow<nRows; ++iRow) {
    14721472      if (iRow%10==0) {
    1473          cerr << "Processing row " << iRow << endl;
     1473         cout << "Processing row " << iRow << endl;
    14741474      }
    14751475
Note: See TracChangeset for help on using the changeset viewer.