Changeset 2409
- Timestamp:
- 02/17/12 13:50:58 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/python/asapfitter.py
r2408 r2409 157 157 asaplog.push('lengths of data and mask are not the same. preset mask will be ignored') 158 158 asaplog.post('WARN','asapfit.fit') 159 self.mask= _n_bools(len(self.x), True)159 self.mask=self.data._getmask(row) 160 160 asaplog.push("Fitting:") 161 161 i = row … … 665 665 self.x = scan._getabcissa(r) 666 666 self.y = scan._getspectrum(r) 667 #self.mask = mask_and(self.mask, scan._getmask(r)) 667 668 if len(self.x) == len(self.mask): 668 669 self.mask = mask_and(self.mask, self.data._getmask(row)) … … 670 671 asaplog.push('lengths of data and mask are not the same. preset mask will be ignored') 671 672 asaplog.post('WARN','asapfit.fit') 672 self.mask=_n_bools(len(self.x), True) 673 #self.mask = mask_and(self.mask, scan._getmask(r)) 673 self.mask=self.data._getmask(row) 674 674 self.data = None 675 675 self.fit()
Note:
See TracChangeset
for help on using the changeset viewer.