- Timestamp:
- 03/25/11 23:32:17 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/Scantable.cpp
r2064 r2080 941 941 table_ = tab; 942 942 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 957 selector_ = selection; 944 958 }
Note:
See TracChangeset
for help on using the changeset viewer.