Changeset a3c8e8f in sasview for fittingview/src/sans/perspectives
- Timestamp:
- Oct 5, 2011 7:15:40 PM (13 years ago)
- Branches:
- master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- 90ddcdb
- Parents:
- 425e49ca
- Location:
- fittingview/src/sans/perspectives/fitting
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
fittingview/src/sans/perspectives/fitting/fitproblem.py
reb4f2fd ra3c8e8f 500 500 # fit weight 501 501 self.weight = None 502 self.result = None 502 503 503 504 … … 600 601 self.model) 601 602 self.smearer_computed = True 603 self.result = None 602 604 603 605 def get_fit_data(self): -
fittingview/src/sans/perspectives/fitting/fitting.py
rdcc93e4 ra3c8e8f 1061 1061 for res in result: 1062 1062 model, data = res.inputs[0] 1063 temp_model = model .clone()1063 temp_model = model#.clone() 1064 1064 if res is None: 1065 1065 null_value = numpy.nan … … 1095 1095 self.page_finder[pid][data.id].set_result(res) 1096 1096 fitproblem = self.page_finder[pid][data.id] 1097 1097 1098 1098 1099 from sans.models.qsmearing import smear_selection 1099 1100 #smearer = fitproblem.get_smearer() … … 1460 1461 caption = current_pg.window_caption 1461 1462 self.page_finder[page_id].set_fit_tab_caption(caption=caption) 1462 1463 try: 1464 # replace model cal to fit calculation if possible 1465 new_plot.y = self.page_finder[page_id].get_result(fid=data.id).theory 1466 except: 1467 pass 1468 1463 1469 self.page_finder[page_id].set_theory_data(data=new_plot, 1464 1470 fid=data.id)
Note: See TracChangeset
for help on using the changeset viewer.