Changeset 1757 for branches/alma/src/RowAccumulator.cpp
- Timestamp:
- 06/09/10 19:03:06 (14 years ago)
- Location:
- branches/alma
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/alma
-
Property
svn:ignore
set to
.sconf_temp
.sconsign.dblite
-
Property
svn:mergeinfo
set to
/branches/asap-3.x merged eligible
-
Property
svn:ignore
set to
-
branches/alma/src/RowAccumulator.cpp
r1603 r1757 67 67 Float totalweight = weight; 68 68 MaskedArray<Float> data(v,m); 69 if ( weightType_ == asap:: VAR ) {69 if ( weightType_ == asap::W_VAR ) { 70 70 if (m.nelements() == userMask_.nelements()) { 71 71 Float fac = 1.0/variance(data(userMask_)); … … 90 90 Float w = 1.0; 91 91 tsysSum_ += v[0]; 92 if ( weightType_ == asap:: TSYS || weightType_ == asap::TINTSYS ) {92 if ( weightType_ == asap::W_TSYS || weightType_ == asap::W_TINTSYS ) { 93 93 w /= (v[0]*v[0]); 94 94 } … … 105 105 Float w = 1.0; 106 106 intervalSum_ += inter; 107 if ( weightType_ == asap:: TINT || weightType_ == asap::TINTSYS ) {107 if ( weightType_ == asap::W_TINT || weightType_ == asap::W_TINTSYS ) { 108 108 w /= Float(inter); 109 109 }
Note: See TracChangeset
for help on using the changeset viewer.