- Timestamp:
- 01/26/09 16:33:42 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/alma/src/STFiller.cpp
r1490 r1491 492 492 else if ( strncmp( eq, "J2000", 5 ) == 0 ) 493 493 header_->equinox = 2000.0 ; 494 header_->freqref = nheader->getVREF() ; 494 char *vref = nheader->getVREF() ; 495 //if ( strncmp( vref, "LSR", 3 ) == 0 ) { 496 //strcat( vref, "K" ) ; 497 //} 498 header_->freqref = vref ; 495 499 header_->reffreq = nheader->getF0CAL()[0] ; 496 500 header_->bandwidth = nheader->getBEBW()[0] ; … … 551 555 table_->setHeader( *header_ ) ; 552 556 557 // set velocity reference 558 //table_->frequencies().setFrame( vref ) ; 559 553 560 // DEBUG 554 561 //cout << "STFiller::openNRO() Velocity Definition = " << nheader->getVDEF() << endl ; … … 637 644 *sdirCol = nreader_->getSourceDirection() ; 638 645 RecordFieldPtr<Double> svelCol(rec, "SRCVELOCITY") ; 639 //*svelCol = h->getURVEL() ; // [m/s] 640 *svelCol = h->getURVEL() + d->VRAD ; // [m/s] 646 *svelCol = h->getURVEL() ; // [m/s] 647 //*svelCol = h->getURVEL() + d->VRAD ; // [m/s] 648 //*svelCol = d->VRAD ; // [m/s] 649 //*svelCol = 0.0 ; 641 650 RecordFieldPtr<Int> fitCol(rec, "FIT_ID") ; 642 651 *fitCol = -1 ;
Note:
See TracChangeset
for help on using the changeset viewer.