Changeset 1703 for branches/alma
- Timestamp:
- 02/17/10 11:53:11 (15 years ago)
- Location:
- branches/alma/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/alma/src/Scantable.cpp
r1700 r1703 708 708 Vector<Float> spcs = specCol_(i); 709 709 Vector<uChar> flgs = flagsCol_(i); 710 if (spcs.nelements() != nchan ) {710 if (spcs.nelements() != nchan()) { 711 711 throw(AipsError("Data has incorrect number of channels")); 712 712 } … … 716 716 } 717 717 if (clipoutside) { 718 for (uInt j = 0; j < nchan ; ++j) {718 for (uInt j = 0; j < nchan(); ++j) { 719 719 Float spc = spcs(j); 720 720 if ((spc >= uthres) || (spc <= dthres)) { … … 723 723 } 724 724 } else { 725 for (uInt j = 0; j < nchan ; ++j) {725 for (uInt j = 0; j < nchan(); ++j) { 726 726 Float spc = spcs(j); 727 727 if ((spc < uthres) && (spc > dthres)) { -
branches/alma/src/Scantable.h
r1700 r1703 247 247 * (CAS-1807 Wataru Kawasaki) 248 248 */ 249 void Scantable::clip(const Float uthres, constFloat dthres, bool clipoutside, bool unflag);249 void clip(const casa::Float uthres, const casa::Float dthres, bool clipoutside, bool unflag); 250 250 251 251 /** -
branches/alma/src/ScantableWrapper.h
r1700 r1703 114 114 { return table_->getFlagRow(whichrow); } 115 115 116 void clip(const Float uthres, constFloat dthres, bool clipoutside=true, bool unflag=false)116 void clip(const casa::Float uthres, const casa::Float dthres, bool clipoutside=true, bool unflag=false) 117 117 { table_->clip(uthres, dthres, clipoutside, unflag); } 118 118
Note:
See TracChangeset
for help on using the changeset viewer.