Changeset 1757 for branches/alma/src/STFiller.cpp
- Timestamp:
- 06/09/10 19:03:06 (14 years ago)
- Location:
- branches/alma
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/alma
-
Property
svn:ignore
set to
.sconf_temp
.sconsign.dblite
-
Property
svn:mergeinfo
set to
/branches/asap-3.x merged eligible
-
Property
svn:ignore
set to
-
branches/alma/src/STFiller.cpp
r1684 r1757 264 264 freqFrame = "REST"; 265 265 } 266 table_->frequencies().setFrame(freqFrame); 267 266 // set both "FRAME" and "BASEFRAME" 267 table_->frequencies().setFrame(freqFrame, false); 268 table_->frequencies().setFrame(freqFrame,true); 269 //table_->focus().setParallactify(true); 268 270 } 269 271 … … 329 331 if ( status != 0 ) break; 330 332 n += 1; 331 332 333 Regex filterrx(".*[SL|PA]$"); 333 334 Regex obsrx("^AT.+"); … … 391 392 /// @todo this has to change when nchan isn't global anymore 392 393 //id = table_->frequencies().addEntry(Double(header_->nchan/2), 393 // 394 // pksrec.refFreq, pksrec.freqInc); 394 395 if ( pksrec.nchan == 1 ) { 395 396 id = table_->frequencies().addEntry(Double(0), … … 416 417 RecordFieldPtr<uInt> mweatheridCol(rec, "WEATHER_ID"); 417 418 *mweatheridCol = id; 419 418 420 RecordFieldPtr<uInt> mfocusidCol(rec, "FOCUS_ID"); 419 id = table_->focus().addEntry(pksrec. focusAxi, pksrec.focusTan,420 pksrec.focus Rot);421 id = table_->focus().addEntry(pksrec.parAngle, pksrec.focusAxi, 422 pksrec.focusTan, pksrec.focusRot); 421 423 *mfocusidCol = id; 422 424 RecordFieldPtr<Array<Double> > dirCol(rec, "DIRECTION"); … … 426 428 RecordFieldPtr<Float> elCol(rec, "ELEVATION"); 427 429 *elCol = pksrec.elevation; 428 429 RecordFieldPtr<Float> parCol(rec, "PARANGLE");430 *parCol = pksrec.parAngle;431 430 432 431 RecordFieldPtr< Array<Float> > specCol(rec, "SPECTRA"); … … 542 541 } 543 542 544 // set framekeyword of FREQUENCIES table543 // set FRAME and BASEFRAME keyword of FREQUENCIES table 545 544 if ( header_->freqref != "TOPO" ) { 546 545 table_->frequencies().setFrame( header_->freqref, false ) ; 546 table_->frequencies().setFrame( header_->freqref, true ) ; 547 547 } 548 548
Note: See TracChangeset
for help on using the changeset viewer.