Changeset d4c9242 in sasview for src/sas/qtgui/Perspectives/Fitting/FittingWidget.py
- Timestamp:
- Mar 25, 2019 11:49:45 AM (6 years ago)
- Branches:
- ESS_GUI, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_opencl
- Children:
- 13ee4d9
- Parents:
- b38c8c8
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Perspectives/Fitting/FittingWidget.py
r17e6a2b rd4c9242 2862 2862 self.createNewIndex(weighted_data) 2863 2863 2864 # Plot residuals if actual data 2865 if not self.data_is_loaded: 2866 return 2867 2864 2868 # Calculate difference between return_data and logic.data 2865 2869 self.chi2 = FittingUtilities.calculateChi2(weighted_data, self.data) … … 2867 2871 chi2_repr = "---" if self.chi2 is None else GuiUtils.formatNumber(self.chi2, high=True) 2868 2872 self.lblChi2Value.setText(chi2_repr) 2869 2870 # Plot residuals if actual data2871 if not self.data_is_loaded:2872 return2873 2873 2874 2874 residuals_plot = FittingUtilities.plotResiduals(self.data, weighted_data)
Note: See TracChangeset
for help on using the changeset viewer.