Changeset 439
- Timestamp:
- 02/14/05 23:48:56 (20 years ago)
- Location:
- trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/SDMemTable.cc
r433 r439 709 709 } 710 710 */ 711 MaskedArray<Float> SDMemTable::rowAsMaskedArray(uInt whichRow, 712 Bool useSelection) const711 MaskedArray<Float> SDMemTable::rowAsMaskedArray(uInt whichRow, Bool useSelection, 712 Bool toStokes) const 713 713 { 714 714 Array<Float> arr; 715 715 Array<uChar> farr; 716 specCol_.get(whichRow, arr); 716 if (toStokes) { 717 stokesCol_.get(whichRow, arr); 718 } else { 719 specCol_.get(whichRow, arr); 720 } 717 721 flagsCol_.get(whichRow, farr); 718 722 Array<Bool> barr(farr.shape()); -
trunk/src/SDMemTable.h
r433 r439 206 206 // to bool mask 207 207 casa::MaskedArray<casa::Float> rowAsMaskedArray(casa::uInt whichRow, 208 casa::Bool useSelection = 209 casa::False) const; 208 casa::Bool useSelection = 209 casa::False, casa::Bool 210 toStokes=casa::False) const; 210 211 211 212 // Return SC, setting only the basic construction state (i.e. … … 277 278 casa::ArrayColumn<casa::uInt> freqidCol_, restfreqidCol_; 278 279 casa::ArrayColumn<casa::String> histCol_; 279 casa:: ArrayColumn<casa::Float> stokesCol_;280 casa::ROArrayColumn<casa::Float> stokesCol_; 280 281 }; 281 282
Note:
See TracChangeset
for help on using the changeset viewer.