- Timestamp:
- 03/30/06 15:35:29 (19 years ago)
- Location:
- trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/STFrequencies.cpp
r921 r941 75 75 table_.rwKeywordSet().define("BASEFRAME", String("TOPO")); 76 76 table_.rwKeywordSet().define("EQUINOX",String( "J2000")); 77 table_.rwKeywordSet().define("UNIT", String(" Hz"));77 table_.rwKeywordSet().define("UNIT", String("")); 78 78 table_.rwKeywordSet().define("DOPPLER", String("RADIO")); 79 79 … … 286 286 oss << setw(8) 287 287 << t.keywordSet().asString("FRAME") << setw(16) << setprecision(8) 288 << rec.asDouble("REFVAL") << setw( 10)288 << rec.asDouble("REFVAL") << setw(7) 289 289 << rec.asDouble("REFPIX") << setw(12) 290 290 << rec.asDouble("INCREMENT") << endl; -
trunk/src/Scantable.cpp
r933 r941 167 167 Scantable::~Scantable() 168 168 { 169 cout << "~Scantable() " << this << endl;169 //cout << "~Scantable() " << this << endl; 170 170 } 171 171 … … 714 714 table_.keywordSet().get("FluxUnit", tmp); 715 715 oss << setw(15) << "Flux Unit:" << tmp << endl; 716 Vector< Float> vec;716 Vector<Double> vec(moleculeTable_.getRestFrequencies()); 717 717 oss << setw(15) << "Rest Freqs:"; 718 718 if (vec.nelements() > 0) { … … 721 721 oss << "none" << endl; 722 722 } 723 oss << setw(15) << "Abcissa:" << "channel" << endl; 723 724 oss << setw(15) << "Abcissa:" << getAbcissaLabel(0) << endl; 724 725 oss << selector_.print() << endl; 725 726 oss << endl; … … 728 729 + MDirection::showType(dirCol_.getMeasRef().getType()) 729 730 + ")"; 730 oss << setw(5) << "Scan" 731 << setw(15) << "Source" 732 // << setw(24) << dirtype 733 << setw(10) << "Time" 734 << setw(18) << "Integration" << endl 735 << setw(5) << "" << setw(10) << "Beam" << dirtype << endl 736 << setw(15) << "" << setw(5) << "IF" 731 oss << setw(5) << "Scan" << setw(15) << "Source" 732 << setw(10) << "Time" << setw(18) << "Integration" << endl; 733 oss << setw(5) << "" << setw(5) << "Beam" << setw(3) << "" << dirtype << endl; 734 oss << setw(10) << "" << setw(3) << "IF" << setw(6) << "" 737 735 << setw(8) << "Frame" << setw(16) 738 736 << "RefVal" << setw(10) << "RefPix" << setw(12) << "Increment" <<endl; … … 764 762 MDirection::ROScalarColumn bdirCol(bsubt,"DIRECTION"); 765 763 const TableRecord& brec = brow.get(0); 766 oss << setw( 6) << "" << setw(10) << brec.asuInt("BEAMNO");767 oss << setw( 24)<< formatDirection(bdirCol(0)) << endl;764 oss << setw(5) << "" << setw(4) << std::right << brec.asuInt("BEAMNO")<< std::left; 765 oss << setw(4) << "" << formatDirection(bdirCol(0)) << endl; 768 766 TableIterator iiter(bsubt, "IFNO"); 769 767 while (!iiter.pastEnd()) { … … 771 769 ROTableRow irow(isubt); 772 770 const TableRecord& irec = irow.get(0); 773 oss << std::right <<setw(8) << "" << std::left << irec.asuInt("IFNO"); 774 oss << frequencies().print(irec.asuInt("FREQ_ID")); 771 oss << setw(10) << ""; 772 oss << setw(3) << std::right << irec.asuInt("IFNO") << std::left 773 << setw(2) << "" << frequencies().print(irec.asuInt("FREQ_ID")); 775 774 776 775 ++iiter;
Note:
See TracChangeset
for help on using the changeset viewer.