Changeset 2393 for trunk/src/STGrid.h
- Timestamp:
- 01/05/12 12:10:37 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/STGrid.h
r2390 r2393 26 26 #include <tables/Tables/ScalarColumn.h> 27 27 #include <tables/Tables/ArrayColumn.h> 28 29 #include "concurrent.h" 28 30 //#include <tables/Tables/TableRow.h> 29 31 … … 100 102 Array<uInt> &rflag, 101 103 Array<Float> &weight ) ; 104 Int getDataChunk( IPosition const &wshape, 105 IPosition const &vshape, 106 IPosition const &dshape, 107 Array<Complex> &spectra, 108 Array<Double> &direction, 109 Array<Int> &flagtra, 110 Array<Int> &rflag, 111 Array<Float> &weight ) ; 102 112 Int getDataChunk( Array<Complex> &spectra, 103 113 Array<Double> &direction, … … 128 138 void prepareTable( Table &tab, String &name ) ; 129 139 130 Bool pastEnd() ;140 // Bool pastEnd() ; 131 141 132 142 void selectData() ; … … 160 170 void initTable( uInt idx ) ; 161 171 Bool isMultiIF( Table &tab ) ; 172 static bool produceChunk(void *ctx) throw(concurrent::PCException); 173 static void consumeChunk(void *ctx) throw(concurrent::PCException); 162 174 163 175 … … 172 184 uInt nfile_ ; 173 185 Int ifno_ ; 186 174 187 Int nx_ ; 175 188 Int ny_ ; … … 177 190 Int npolOrg_ ; 178 191 Int nchan_ ; 179 Int nrow_ ;180 Block<Int> rows_ ;181 192 Double cellx_ ; 182 193 Double celly_ ; … … 186 197 Int userSupport_ ; 187 198 Int convSampling_ ; 188 Array<Float> data_ ;189 199 Vector<uInt> pollist_ ; 190 200 Vector<uInt> scanlist_ ; 191 201 String wtype_ ; 202 Block<Table> tableList_ ; 203 Vector<uInt> rows_ ; 204 Int nchunk_ ; 205 206 /////////////// gridPerRow variable 207 IPosition vshape_; 208 IPosition wshape_; 209 IPosition dshape_; 210 // loop variable 211 Int nrow_ ; 212 Array<Float> data_ ; 192 213 193 214 Table tab_ ; 194 Block<Table> tableList_ ;215 // per pol 195 216 Table ptab_ ; 196 217 ROArrayColumn<Float> spectraCol_ ; … … 200 221 ROArrayColumn<Float> tsysCol_ ; 201 222 ROScalarColumn<Double> intervalCol_ ; 223 202 224 Int nprocessed_ ; 203 Int nchunk_ ; 204 205 Array<Float> spectraF_ ; 206 Array<uChar> flagtraUC_ ; 207 Array<uInt> rflagUI_ ; 208 225 226 227 double eGetData_; 228 double eToPixel_; 229 double eGGridSD_; 209 230 }; 210 231 }
Note: See TracChangeset
for help on using the changeset viewer.