Changes in / [80963c6c:a0f3c29] in sasview
- Location:
- src/sas/qtgui/Perspectives/Inversion
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Perspectives/Inversion/InversionLogic.py
ra74dd016 r3c4f02e 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 165 158 def computeDataRange(self): 166 159 """ -
src/sas/qtgui/Perspectives/Inversion/InversionPerspective.py
ra74dd016 raed159f 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. logic.add_errors()475 self._calculator.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.