Changeset 2084 for trunk/src


Ignore:
Timestamp:
03/31/11 15:56:20 (14 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...

Disabled changes in r2080 since it affects unit test.


File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/Scantable.cpp

    r2081 r2084  
    941941  table_ = tab;
    942942  attach();
    943   tab.rwKeywordSet().define("nBeam",(Int)(getBeamNos().size())) ;
    944   vector<uint> selectedIFs = getIFNos() ;
    945   Int newnIF = selectedIFs.size() ;
    946   tab.rwKeywordSet().define("nIF",newnIF) ;
    947   if ( newnIF != 0 ) {
    948     Int newnChan = 0 ;
    949     for ( Int i = 0 ; i < newnIF ; i++ ) {
    950       Int nChan = nchan( selectedIFs[i] ) ;
    951       if ( newnChan > nChan )
    952         newnChan = nChan ;
    953     }
    954     tab.rwKeywordSet().define("nChan",newnChan) ;
    955   }
    956   tab.rwKeywordSet().define("nPol",(Int)(getPolNos().size())) ;
     943//   tab.rwKeywordSet().define("nBeam",(Int)(getBeamNos().size())) ;
     944//   vector<uint> selectedIFs = getIFNos() ;
     945//   Int newnIF = selectedIFs.size() ;
     946//   tab.rwKeywordSet().define("nIF",newnIF) ;
     947//   if ( newnIF != 0 ) {
     948//     Int newnChan = 0 ;
     949//     for ( Int i = 0 ; i < newnIF ; i++ ) {
     950//       Int nChan = nchan( selectedIFs[i] ) ;
     951//       if ( newnChan > nChan )
     952//         newnChan = nChan ;
     953//     }
     954//     tab.rwKeywordSet().define("nChan",newnChan) ;
     955//   }
     956//   tab.rwKeywordSet().define("nPol",(Int)(getPolNos().size())) ;
    957957  selector_ = selection;
    958958}
Note: See TracChangeset for help on using the changeset viewer.