Changeset 1680 for branches/alma/src
- Timestamp:
- 01/29/10 14:07:38 (15 years ago)
- Location:
- branches/alma/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/alma/src/STMath.cpp
r1677 r1680 507 507 const std::vector<float> val, 508 508 const std::string& mode, 509 bool tsys,510 const std::string& op)509 const std::string& opmode, 510 bool tsys ) 511 511 { 512 512 CountedPtr< Scantable > out ; 513 if ( op == "channel" ) {513 if ( opmode == "channel" ) { 514 514 out = arrayOperateChannel( in, val, mode, tsys ) ; 515 515 } 516 else if ( op == "row" ) {516 else if ( opmode == "row" ) { 517 517 out = arrayOperateRow( in, val, mode, tsys ) ; 518 518 } -
branches/alma/src/STMath.h
r1677 r1680 123 123 arrayOperate( const casa::CountedPtr<Scantable>& in, 124 124 const std::vector<float> val, 125 const std::string& mode, bool tsys=false, 126 const std::string& op="channel" ); 125 const std::string& mode, 126 const std::string& opmode="channel", 127 bool tsys=false ); 127 128 128 129 // channel operation -
branches/alma/src/STMathWrapper.h
r1677 r1680 75 75 ScantableWrapper arrayOperate( const ScantableWrapper& in, 76 76 const std::vector<float> val, 77 const std::string& mode, bool tsys=false,78 const std::string& op="channel")79 { return ScantableWrapper(STMath::arrayOperate (in.getCP(), val, mode, tsys, op)); }77 const std::string& mode, 78 bool tsys=false ) 79 { return ScantableWrapper(STMath::arrayOperateChannel(in.getCP(), val, mode, tsys)); } 80 80 81 81 ScantableWrapper array2dOperate( const ScantableWrapper& in,
Note:
See TracChangeset
for help on using the changeset viewer.