Changeset 0fe7e5b in sasview for src/sas/qtgui/Perspectives
- Timestamp:
- Aug 21, 2018 6:29:41 AM (6 years ago)
- Branches:
- ESS_GUI, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
- Children:
- c0de493
- Parents:
- e11106e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Perspectives/Fitting/FittingWidget.py
re11106e r0fe7e5b 2227 2227 """ 2228 2228 fitted_data = self.logic.new1DPlot(return_data, self.tab_id) 2229 self.calculateResiduals(fitted_data)2229 residuals = self.calculateResiduals(fitted_data) 2230 2230 self.model_data = fitted_data 2231 2232 new_plots = [fitted_data, residuals] 2231 2233 2232 2234 # Create plots for intermediate product data … … 2235 2237 pq_data.symbol = "Line" 2236 2238 self.createNewIndex(pq_data) 2239 new_plots.append(pq_data) 2237 2240 if sq_data is not None: 2238 2241 sq_data.symbol = "Line" 2239 2242 self.createNewIndex(sq_data) 2243 new_plots.append(sq_data) 2244 2245 if self.data_is_loaded: 2246 GuiUtils.deleteRedundantPlots(self.all_data[self.data_index], new_plots) 2240 2247 2241 2248 def complete2D(self, return_data): … … 2273 2280 residuals_plot.id = "Residual " + residuals_plot.id 2274 2281 self.createNewIndex(residuals_plot) 2282 return residuals_plot 2275 2283 2276 2284 def onCategoriesChanged(self):
Note: See TracChangeset
for help on using the changeset viewer.