Changeset e900a47 in sasview for src/sas/qtgui/Perspectives/Fitting/FittingWidget.py
- Timestamp:
- Mar 28, 2019 8:22:55 AM (6 years ago)
- Branches:
- ESS_GUI, ESS_GUI_bumps_abstraction, ESS_GUI_opencl
- Children:
- b8bdbcc, aa47ea5
- Parents:
- 770c42c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Perspectives/Fitting/FittingWidget.py
rc149fba re900a47 2870 2870 self.createNewIndex(weighted_data) 2871 2871 2872 # Plot residuals if actual data2873 if not self.data_is_loaded:2874 return2875 2876 2872 # Calculate difference between return_data and logic.data 2877 2873 self.chi2 = FittingUtilities.calculateChi2(weighted_data, self.data) … … 2879 2875 chi2_repr = "---" if self.chi2 is None else GuiUtils.formatNumber(self.chi2, high=True) 2880 2876 self.lblChi2Value.setText(chi2_repr) 2877 2878 # Plot residuals if actual data 2879 if not self.data_is_loaded: 2880 return 2881 2881 2882 2882 residuals_plot = FittingUtilities.plotResiduals(self.data, weighted_data)
Note: See TracChangeset
for help on using the changeset viewer.