Changeset 1492 for branches


Ignore:
Timestamp:
01/27/09 13:34:08 (16 years ago)
Author:
Takeshi Nakazato
Message:

New Development: No

JIRA Issue: Yes CAS-1043

Ready to Release: Yes

Interface Changes: No

What Interface Changed: Please list interface changes

Test Programs: List test programs

Put in Release Notes: Yes/No

Module(s): Module Names change impacts.

Description: Changed reference of the value for

FreqRefVal field in the MAIN table.


File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/alma/src/STFiller.cpp

    r1491 r1492  
    493493    header_->equinox = 2000.0 ;
    494494  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//   }
    498498  header_->freqref = vref ;
    499   header_->reffreq = nheader->getF0CAL()[0] ;
     499  nreader_->getData( 0 ) ;
     500  header_->reffreq = nreader_->getData()->FREQ0 ;
    500501  header_->bandwidth = nheader->getBEBW()[0] ;
    501502  header_->utc = nreader_->getStartTime() ;
     
    556557
    557558  // set velocity reference
    558   //table_->frequencies().setFrame( vref ) ;
     559//   table_->frequencies().setFrame( vref ) ;
    559560
    560561  // DEBUG
     
    592593
    593594  // get header
    594   //vector<NRODataset *> data = nreader_->getData() ;
    595595  NROHeader *h = nreader_->getHeader() ;
    596596
     
    599599  uInt imax = nreader_->getRowNum() ;
    600600  vector< vector<double > > freqs ;
    601   //uInt imax = 30 ;
    602601  uInt i = 0 ;
    603602  int count = 0 ;
     
    609608    NRODataset *d = nreader_->getData() ;
    610609
    611     //char *scanType = d->getSCANTP() ;
    612610    char *scanType = d->SCANTP ;
    613611    Int srcType = -1 ;
Note: See TracChangeset for help on using the changeset viewer.