Changeset 5a96a72 in sasview for src/sas/qtgui/Perspectives/Fitting/FittingLogic.py
- Timestamp:
- Sep 8, 2018 11:17:59 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:
- e4041a2
- Parents:
- 5e0891b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Perspectives/Fitting/FittingLogic.py
r9ba91b7 r5a96a72 213 213 plots = [] 214 214 for name, result in return_data['intermediate_results'].items(): 215 if not isinstance(result, np.ndarray): 216 continue 215 217 plots.append(self._create1DPlot(tab_id, return_data['x'], result, 216 218 return_data['model'], return_data['data'], 217 219 component=name)) 218 220 return plots 221 222 def getScalarIntermediateResults(self, return_data): 223 """ 224 Returns a dict of scalar-only intermediate results from the return data. 225 """ 226 res = {} 227 for name, int_res in return_data["intermediate_results"].items(): 228 if isinstance(int_res, np.ndarray): 229 continue 230 res[name] = int_res 231 return res 219 232 220 233 def computeDataRange(self):
Note: See TracChangeset
for help on using the changeset viewer.