Ignore:
Timestamp:
02/14/05 23:48:56 (19 years ago)
Author:
kil064
Message:

make stokesCOl_ read only
add toStokes arg. to function rowAsMaskedArry

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/SDMemTable.cc

    r433 r439  
    709709}
    710710*/
    711 MaskedArray<Float> SDMemTable::rowAsMaskedArray(uInt whichRow,
    712                                                 Bool useSelection) const
     711MaskedArray<Float> SDMemTable::rowAsMaskedArray(uInt whichRow, Bool useSelection,
     712                                                Bool toStokes) const
    713713{
    714714  Array<Float> arr;
    715715  Array<uChar> farr;
    716   specCol_.get(whichRow, arr);
     716  if (toStokes) {
     717     stokesCol_.get(whichRow, arr);
     718  } else {
     719     specCol_.get(whichRow, arr);
     720  }
    717721  flagsCol_.get(whichRow, farr);
    718722  Array<Bool> barr(farr.shape());
Note: See TracChangeset for help on using the changeset viewer.