Changeset eeea6a3 in sasview for src/sas/sascalc
- Timestamp:
- Sep 13, 2018 7:34:05 AM (6 years ago)
- Branches:
- ESS_GUI, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
- Children:
- 4b7d322
- Parents:
- 2385397
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sascalc/pr/invertor.py
r13da5f5 reeea6a3 258 258 invertor.x = self.x 259 259 invertor.y = self.y 260 if np.size(self.err) == 0 or np.all(self.err) == 0: 261 invertor.err = self.add_errors(self.y) 262 else: 263 invertor.err = self.err 260 invertor.err = self.err 264 261 invertor.est_bck = self.est_bck 265 262 invertor.background = self.background … … 306 303 # Reset the background value before proceeding 307 304 # self.background = 0.0 308 if np.size(self.err) == 0 or np.all(self.err) == 0:309 self.err = self.add_errors(self.y)310 305 if not self.est_bck: 311 306 self.y -= self.background
Note: See TracChangeset
for help on using the changeset viewer.