Changeset 1225
- Timestamp:
- 08/31/06 14:08:41 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tags/Release2.1.0b/src/STMath.cpp
r1224 r1225 211 211 ArrayColumn<Float> tsysColOut(tout,"TSYS"); 212 212 ScalarColumn<uInt> scanColOut(tout,"SCANNO"); 213 ScalarColumn<Double> intColOut(tout, "INTERVAL"); 213 214 Table tmp = in->table().sort("BEAMNO"); 214 215 Block<String> cols(3); … … 227 228 ROArrayColumn<Float> specCol, tsysCol; 228 229 ROArrayColumn<uChar> flagCol; 230 ROScalarColumn<Double> intCol(subt, "INTERVAL"); 229 231 specCol.attach(subt,"SPECTRA"); 230 232 flagCol.attach(subt,"FLAGTRA"); … … 255 257 flagColOut.put(outrowCount, outflag); 256 258 tsysColOut.put(outrowCount, outtsys); 257 259 Double intsum = sum(intCol.getColumn()); 260 intColOut.put(outrowCount, intsum); 258 261 ++outrowCount; 259 262 ++iter;
Note:
See TracChangeset
for help on using the changeset viewer.