- Timestamp:
- 01/27/09 13:34:08 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/alma/src/STFiller.cpp
r1491 r1492 493 493 header_->equinox = 2000.0 ; 494 494 char *vref = nheader->getVREF() ; 495 //if ( strncmp( vref, "LSR", 3 ) == 0 ) {496 //strcat( vref, "K" ) ;497 //}495 // if ( strncmp( vref, "LSR", 3 ) == 0 ) { 496 // strcat( vref, "K" ) ; 497 // } 498 498 header_->freqref = vref ; 499 header_->reffreq = nheader->getF0CAL()[0] ; 499 nreader_->getData( 0 ) ; 500 header_->reffreq = nreader_->getData()->FREQ0 ; 500 501 header_->bandwidth = nheader->getBEBW()[0] ; 501 502 header_->utc = nreader_->getStartTime() ; … … 556 557 557 558 // set velocity reference 558 //table_->frequencies().setFrame( vref ) ;559 // table_->frequencies().setFrame( vref ) ; 559 560 560 561 // DEBUG … … 592 593 593 594 // get header 594 //vector<NRODataset *> data = nreader_->getData() ;595 595 NROHeader *h = nreader_->getHeader() ; 596 596 … … 599 599 uInt imax = nreader_->getRowNum() ; 600 600 vector< vector<double > > freqs ; 601 //uInt imax = 30 ;602 601 uInt i = 0 ; 603 602 int count = 0 ; … … 609 608 NRODataset *d = nreader_->getData() ; 610 609 611 //char *scanType = d->getSCANTP() ;612 610 char *scanType = d->SCANTP ; 613 611 Int srcType = -1 ;
Note:
See TracChangeset
for help on using the changeset viewer.