- Timestamp:
- 02/05/13 15:58:17 (12 years ago)
- Location:
- trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/STApplyCal.cpp
r2758 r2759 406 406 } 407 407 else { 408 iTsys = 1.0; 408 Vector<Float> tsysInRow = tsysCol(irow); 409 if (tsysInRow.nelements() == 1) { 410 iTsys = tsysInRow[0]; 411 } 412 else { 413 for (uInt ichan = 0; ichan < nchanTsys; ++ichan) 414 iTsys[ichan] = tsysInRow[ichan]; 415 } 409 416 } 410 417 //os_ << "iTsys=" << iTsys << LogIO::POST; -
trunk/src/STApplyTable.cpp
r2734 r2759 11 11 // 12 12 #include <casa/Exceptions/Error.h> 13 #include <casa/Utilities/Assert.h> 13 14 #include <tables/Tables/TableDesc.h> 14 15 #include <tables/Tables/SetupNewTab.h> … … 120 121 void STApplyTable::save(const String &name) 121 122 { 123 assert_<AipsError>(name.size() > 0, "Output name is empty."); 122 124 table_.deepCopy(name, Table::New); 123 125 }
Note:
See TracChangeset
for help on using the changeset viewer.