- Timestamp:
- 03/26/13 16:53:49 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/STGrid.cpp
r2790 r2803 1968 1968 ArrayColumn<Double> directionCol( tab, "DIRECTION" ) ; 1969 1969 ArrayColumn<Float> spectraCol( tab, "SPECTRA" ) ; 1970 ArrayColumn<uChar> flagtraCol( tab, "FLAGTRA" ) ; 1970 1971 ScalarColumn<uInt> polnoCol( tab, "POLNO" ) ; 1971 1972 ScalarColumn<uInt> scannoCol( tab, "SCANNO" ) ; 1972 1973 Int irow = 0 ; 1973 1974 Vector<Float> sp( nchan_ ) ; 1975 Vector<uChar> flag( nchan_, (uChar)1 ) ; 1976 Vector<uChar> unflag( nchan_, (uChar)0 ) ; 1974 1977 Bool bsp, bdata ; 1975 1978 const Float *data_p = data_.getStorage( bdata ) ; … … 1998 2001 sp.putStorage( sp_p, bsp ) ; 1999 2002 spectraCol.put( irow, sp ) ; 2003 if ( allEQ( sp, (Float)0.0 ) ) { 2004 flagtraCol.put( irow, flag ) ; 2005 } 2006 else { 2007 flagtraCol.put( irow, unflag ) ; 2008 } 2000 2009 directionCol.put( irow, dir ) ; 2001 2010 polnoCol.put( irow, pollist_[ipol] ) ; … … 2072 2081 focusidCol.put( i, focusId ) ; 2073 2082 weatheridCol.put( i, weatherId ) ; 2074 flagtraCol.put( i, flagtra ) ;2083 //flagtraCol.put( i, flagtra ) ; 2075 2084 rflagCol.put( i, 0 ) ; 2076 2085 tsysCol.put( i, defaultTsys ) ;
Note:
See TracChangeset
for help on using the changeset viewer.