Ignore:
Timestamp:
03/07/13 16:44:44 (11 years ago)
Author:
Takeshi Nakazato
Message:

New Development: No

JIRA Issue: No

Ready for Test: 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: Describe your changes here...

Support SAM45 OTF data that is slightly different definition on
number of scans in the data (whether includes ZERO or not).


File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/external-alma/atnf/PKSIO/NROOTFDataset.cc

    r2777 r2781  
    828828  //
    829829
    830   scanNum_ = NSCAN + 1 ; // includes ZERO scan
    831   //scanNum_ = NSCAN ;
    832   rowNum_ = scanNum_ * ARYNM ;
     830  //scanNum_ = NSCAN + 1 ; // includes ZERO scan
    833831  scanLen_ = SCNLEN ;
    834832  dataLen_ = scanLen_ - SCAN_HEADER_SIZE ;
     833  scanNum_ = getScanNum();
     834  rowNum_ = scanNum_ * ARYNM ;
    835835  chmax_ = (int) ( dataLen_ * 8 / IBIT ) ;
    836836  record_->LDATA = new char[dataLen_] ;
Note: See TracChangeset for help on using the changeset viewer.