Changeset 2154 for trunk/external-alma/atnf/PKSIO/NRO45Reader.cc
- Timestamp:
- 04/25/11 19:06:56 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/external-alma/atnf/PKSIO/NRO45Reader.cc
r1868 r2154 124 124 } 125 125 126 Int NRO45Reader::getNumIF() 127 { 128 Int nif = 1 ; 129 if ( (dataset_->getRX()[0]).find("MULT2-") == string::npos ) { 130 vector<Bool> v ; 131 vector<int> arry = dataset_->getARRY() ; 132 for ( uInt i = 0 ; i < arry.size() ; i++ ) { 133 if ( arry[i] != 0 ) { 134 v.push_back( True ) ; 135 } 136 } 137 nif = v.size() ; 138 } 139 return nif ; 140 } 141 142 Int NRO45Reader::getNumBeam() 143 { 144 Int nbeam = 25 ; 145 if ( (dataset_->getRX()[0]).find("MULT2-") == string::npos ) { 146 nbeam = 1 ; 147 } 148 return nbeam ; 149 }
Note:
See TracChangeset
for help on using the changeset viewer.