Changeset d8d81ea in sasview for src/sas/qtgui/Perspectives/Fitting
- Timestamp:
- Sep 21, 2018 5:38:25 AM (6 years ago)
- Branches:
- ESS_GUI, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
- Children:
- 9d23e4c
- Parents:
- 44deced
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Perspectives/Fitting/FittingWidget.py
r44deced rd8d81ea 2448 2448 new_plots.append(residuals) 2449 2449 2450 model = return_data.get('model', None)2451 for plot in FittingUtilities.plotPolydispersities(model):2452 data_id = fitted_data.id.split()2453 plot.id = " ".join([data_id[0], plot.name] + data_id[1:])2454 data_name = fitted_data.name.split()2455 plot.name = " ".join([data_name[0], plot.name] + data_name[1:])2456 self.createNewIndex(plot)2457 new_plots.append(plot)2458 2459 2450 if self.data_is_loaded: 2460 2451 # delete any plots associated with the data that were not updated … … 2466 2457 # redundant items, e.g. beta(Q), S_eff(Q) 2467 2458 self.communicate.deleteIntermediateTheoryPlotsSignal.emit(self.kernel_module.id) 2459 2460 # Create plots for parameters with enabled polydispersity 2461 for plot in FittingUtilities.plotPolydispersities(return_data.get('model', None)): 2462 data_id = fitted_data.id.split() 2463 plot.id = "{} [{}] {}".format(data_id[0], plot.name, " ".join(data_id[1:])) 2464 data_name = fitted_data.name.split() 2465 plot.name = " ".join([data_name[0], plot.name] + data_name[1:]) 2466 self.createNewIndex(plot) 2467 new_plots.append(plot) 2468 2468 2469 2469 # Create plots for intermediate product data
Note: See TracChangeset
for help on using the changeset viewer.