Changeset eeea6a3 in sasview
- Timestamp:
- Sep 13, 2018 9: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
- Location:
- src/sas
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Perspectives/Inversion/InversionPerspective.py
r28965e9 reeea6a3 462 462 self._calculator.set_qmin(qmin) 463 463 self._calculator.set_qmax(qmax) 464 if np.size(self.logic.data.dy) == 0 or np.all(self.logic.data.dy) == 0: 465 self.logic.data.dy = self._calculator.add_errors(self.logic.data.y) 464 466 self.updateDataList(data) 465 467 self.populateDataComboBox(self.logic.data.filename, data) -
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.