Changeset 2750 for trunk/src/STApplyCal.cpp
- Timestamp:
- 01/29/13 19:21:55 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/STApplyCal.cpp
r2742 r2750 168 168 { 169 169 os_.origin(LogOrigin("STApplyCal","apply",WHERE)); 170 171 assert(!target_.null()); 172 170 173 // calibrator 171 174 if (caltype_ == STCalEnum::CalPSAlma) … … 186 189 187 190 // working data 188 if (insitu) 191 if (insitu) { 192 os_.origin(LogOrigin("STApplyCal","apply",WHERE)); 193 os_ << "Overwrite input scantable" << LogIO::POST; 189 194 work_ = target_; 190 else 195 } 196 else { 197 os_.origin(LogOrigin("STApplyCal","apply",WHERE)); 198 os_ << "Create output scantable from input" << LogIO::POST; 191 199 work_ = new Scantable(*target_, false); 200 } 192 201 193 202 //os_ << "work_->nrow()=" << work_->nrow() << LogIO::POST; … … 219 228 Vector<uInt> rows = iter->getRows(SHARE); 220 229 if (rows.nelements() > 0) 221 doapply(ids[0], ids[2], ids[1], rows, skycalList );230 doapply(ids[0], ids[2], ids[1], rows, skycalList, filltsys); 222 231 iter->next(); 223 232 }
Note: See TracChangeset
for help on using the changeset viewer.