Changeset 2478 for trunk


Ignore:
Timestamp:
04/24/12 11:10:09 (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...

SCANNO should be same over POLNO.


File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/STGrid.cpp

    r2461 r2478  
    16501650  ArrayColumn<Float> spectraCol( tab, "SPECTRA" ) ;
    16511651  ScalarColumn<uInt> polnoCol( tab, "POLNO" ) ;
     1652  ScalarColumn<uInt> scannoCol( tab, "SCANNO" ) ;
    16521653  Int irow = 0 ;
    16531654  Vector<Float> sp( nchan_ ) ;
     
    16581659  long step = nx_ * ny_ * npol_ ;
    16591660  long offset ;
     1661  uInt scanno = 0 ;
    16601662  for ( Int iy = 0 ; iy < ny_ ; iy++ ) {
    16611663    dir(1) = center_(1) - ( cpix(1) - (Double)iy ) * celly_ ;
     
    16771679        directionCol.put( irow, dir ) ;
    16781680        polnoCol.put( irow, pollist_[ipol] ) ;
     1681        scannoCol.put( irow, scanno ) ;
    16791682        irow++ ;
    16801683      }
     1684      scanno++ ;
    16811685    }
    16821686  }
     
    17311735  // fill columns
    17321736  Int nrow = tab.nrow() ;
    1733   ScalarColumn<uInt> scannoCol( tab, "SCANNO" ) ;
    17341737  ScalarColumn<uInt> ifnoCol( tab, "IFNO" ) ;
    17351738  ScalarColumn<uInt> freqIdCol( tab, "FREQ_ID" ) ;
     
    17531756  ScalarColumn<Double> intervalCol( tab, "INTERVAL" ) ;
    17541757  for ( Int i = 0 ; i < nrow ; i++ ) {
    1755     scannoCol.put( i, (uInt)i ) ;
    17561758    ifnoCol.put( i, (uInt)ifno_ ) ;
    17571759    freqIdCol.put( i, freqId ) ;
Note: See TracChangeset for help on using the changeset viewer.