Changeset a74dd016 in sasview for src/sas/qtgui/Perspectives/Inversion
- Timestamp:
- Feb 7, 2019 6:00:00 AM (6 years ago)
- Branches:
- ESS_GUI, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_opencl, ESS_GUI_sync_sascalc
- Children:
- 80963c6c
- Parents:
- bda3ce4
- Location:
- src/sas/qtgui/Perspectives/Inversion
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Perspectives/Inversion/InversionLogic.py
r3c4f02e ra74dd016 156 156 return new_plot 157 157 158 def add_errors(self, sigma=0.05): 159 """ 160 Adds errors to data set is they are not available. 161 Uses $\Delta y = \sigma | y |$. 162 """ 163 self._data.dy = sigma * np.fabs(self._data.y) 164 158 165 def computeDataRange(self): 159 166 """ -
src/sas/qtgui/Perspectives/Inversion/InversionPerspective.py
raed159f ra74dd016 473 473 self._calculator.set_qmax(qmax) 474 474 if np.size(self.logic.data.dy) == 0 or np.all(self.logic.data.dy) == 0: 475 self. _calculator.add_errors()475 self.logic.add_errors() 476 476 self.updateDataList(data) 477 477 self.populateDataComboBox(self.logic.data.filename, data)
Note: See TracChangeset
for help on using the changeset viewer.