Changeset 1656 for branches/alma/src/Scantable.h
- Timestamp:
- 11/05/09 21:47:49 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/alma/src/Scantable.h
r1634 r1656 231 231 232 232 /** 233 * Flag the data in a row-based manner. (CAS-1433 Wataru Kawasaki) 234 * param[in] rows list of row numbers to be flagged 235 */ 236 void flagRow( const std::vector<casa::uInt>& rows = std::vector<casa::uInt>(), bool unflag=false); 237 238 /** 239 * Get flagRow info at the specified row. If true, the whole data 240 * at the row should be flagged. 241 */ 242 bool getFlagRow(int whichrow) const 243 { return (flagrowCol_(whichrow) > 0); } 244 245 /** 233 246 * Return a list of row numbers with respect to the original table. 234 247 * @return a list of unsigned ints … … 447 460 void regridChannel( int nchan, double dnu ) ; 448 461 void regridChannel( int nchan, double dnu, int irow ) ; 462 449 463 450 464 private: … … 523 537 casa::ScalarColumn<casa::Float> paraCol_; 524 538 casa::ScalarColumn<casa::String> srcnCol_, fldnCol_; 525 casa::ScalarColumn<casa::uInt> scanCol_, beamCol_, ifCol_, polCol_, cycleCol_ ;539 casa::ScalarColumn<casa::uInt> scanCol_, beamCol_, ifCol_, polCol_, cycleCol_, flagrowCol_; 526 540 casa::ScalarColumn<casa::Int> rbeamCol_, srctCol_; 527 541 casa::ArrayColumn<casa::Float> specCol_, tsysCol_; … … 544 558 void initFactories(); 545 559 560 /** 561 * Add an auxiliary column to the main table and attach it to a 562 * cached column. Use for adding new columns that the original asap2 563 * tables do not have. 564 * @param[in] col reference to the cached column to be attached 565 * @param[in] colName column name in asap table 566 * @param[in] defValue default value to fill in the column 567 * 568 * 25/10/2009 Wataru Kawasaki 569 */ 570 template<class T, class T2> void attachAuxColumnDef(casa::ScalarColumn<T>&, 571 const casa::String&, 572 const T2&); 573 template<class T, class T2> void attachAuxColumnDef(casa::ArrayColumn<T>&, 574 const casa::String&, 575 const casa::Array<T2>&); 546 576 }; 547 577
Note: See TracChangeset
for help on using the changeset viewer.