Changeset 2553 for branches


Ignore:
Timestamp:
05/30/12 10:29:18 (12 years ago)
Author:
Takeshi Nakazato
Message:

New Development: No

JIRA Issue: Yes CAS-4195

Ready for Test: Yes

Interface Changes: No

What Interface Changed: Please list interface changes

Test Programs: List test programs

Put in Release Notes: Yes/No?

Module(s): Module Names change impacts.

Description: Describe your changes here...

Test for speed up


File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/hpc33/src/STMath.cpp

    r2551 r2553  
    54495449  Vector<Double> timeVec = timeCol.getColumn() ;
    54505450  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" ) ;
    54525455  unsigned int spsize = on->nchan( on->getIF(rows[0]) ) ;
    54535456  // I know that the data is contiguous
     
    54555458  for ( int irow = 0 ; irow < rows.nelements() ; irow++ ) {
    54565459    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" ) ;
    54585462    Vector<Float> spec = on->specCol_( *p ) ;
    54595463    Vector<Float> tsys = tsysCol( *p ) ;
Note: See TracChangeset for help on using the changeset viewer.