Changeset 2553
- Timestamp:
- 05/30/12 10:29:18 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/hpc33/src/STMath.cpp
r2551 r2553 5449 5449 Vector<Double> timeVec = timeCol.getColumn() ; 5450 5450 timeCol.attach( on->table(), "TIME" ) ; 5451 ROArrayColumn<Float> tsysCol( on->table(), "TSYS" ) ; 5451 ROArrayColumn<Float> tsysCol( off->table(), "SPECTRA" ) ; 5452 Matrix<Float> offspectra = tsysCol.getColumn() ; 5453 tsysCol.attach( on->table(), "TSYS" ) ; 5454 //ROArrayColumn<Float> tsysCol( on->table(), "TSYS" ) ; 5452 5455 unsigned int spsize = on->nchan( on->getIF(rows[0]) ) ; 5453 5456 // I know that the data is contiguous … … 5455 5458 for ( int irow = 0 ; irow < rows.nelements() ; irow++ ) { 5456 5459 double reftime = timeCol.asdouble(*p) ; 5457 Vector<Float> spoff = getSpectrumFromTime( reftime, timeVec, off, "linear" ) ; 5460 Vector<Float> spoff = getSpectrumFromTime( reftime, timeVec, offspectra, "linear" ) ; 5461 //Vector<Float> spoff = getSpectrumFromTime( reftime, timeVec, off, "linear" ) ; 5458 5462 Vector<Float> spec = on->specCol_( *p ) ; 5459 5463 Vector<Float> tsys = tsysCol( *p ) ;
Note:
See TracChangeset
for help on using the changeset viewer.