Changeset 2245


Ignore:
Timestamp:
07/22/11 17:02:32 (13 years ago)
Author:
Takeshi Nakazato
Message:

New Development: No

JIRA Issue: No

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...

Changed a way to retrieve spectral data.


File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/MSFiller.cpp

    r2239 r2245  
    16251625    ROArrayColumn<Bool> mFlagCol( tab, "FLAG" ) ;
    16261626    ROArrayColumn<Float> mFloatDataCol( tab, "FLOAT_DATA" ) ;
    1627     sp = mFloatDataCol.getColumn() ;
    1628     fl = mFlagCol.getColumn() ;
     1627    mFloatDataCol.getColumn( sp ) ;
     1628    mFlagCol.getColumn( fl ) ;
    16291629  }
    16301630  else if ( isData_ ) {
     
    16341634    ROArrayColumn<Complex> mDataCol( tab, "DATA" ) ;
    16351635    if ( npol < 3 ) {
    1636 //       Cube<Complex> tmp = mDataCol.getColumn() ;
    1637 //       Float *sp_p = sp.data() ;
    1638 //       Complex *tmp_p = tmp.data() ;
    1639 //       for ( uInt i = 0 ; i < sp.nelements() ; i++ )
    1640 //         sp_p[i] = tmp_p[i].real() ;
    16411636      Cube<Float> tmp = ComplexToReal( mDataCol.getColumn() ) ;
    16421637      IPosition start( 3, 0, 0, 0 ) ;
Note: See TracChangeset for help on using the changeset viewer.