- Timestamp:
- 06/16/12 10:15:36 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/hpc33/src/STMath.cpp
r2571 r2572 5133 5133 acc.setUserMask( cmask ) ; 5134 5134 5135 vector<string> cols( 1, "POLNO" ) ; 5135 vector<string> cols( 3 ) ; 5136 cols[0] = "IFNO" ; 5137 cols[1] = "POLNO" ; 5138 cols[2] = "BEAMNO" ; 5136 5139 STIdxIterAcc iter( s, cols ) ; 5137 5140 5138 uInt nchan = s->nchan(s->getIF(0)) ;5139 5141 Table ttab = s->table() ; 5140 5142 ROScalarColumn<Double> *timeCol = new ROScalarColumn<Double>( ttab, "TIME" ) ; … … 5145 5147 uInt outrow = 0 ; 5146 5148 5147 Vector<uChar> flag( nchan ) ;5148 Vector<Bool> bflag( nchan ) ;5149 Vector<Float> spec( nchan ) ;5150 Vector<Float> tsys( nchan ) ;5151 5152 5149 while( !iter.pastEnd() ) { 5153 5150 5154 5151 Vector<uInt> rows = iter.getRows( SHARE ) ; 5152 5153 uInt nchan = s->nchan(s->getIF(rows[0])) ; 5154 Vector<uChar> flag( nchan ) ; 5155 Vector<Bool> bflag( nchan ) ; 5156 Vector<Float> spec( nchan ) ; 5157 Vector<Float> tsys( nchan ) ; 5158 5155 5159 uInt len = rows.nelements() ; 5156 5160
Note:
See TracChangeset
for help on using the changeset viewer.