Changeset cfbd06a in sasview
- Timestamp:
- Jun 12, 2011 6:58:37 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:
- d7e9792
- Parents:
- d59518e
- Location:
- sansview/perspectives/fitting
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sansview/perspectives/fitting/fitpage.py
rd59518e rcfbd06a 984 984 #single fit 985 985 self._manager.onFit() 986 print "after Fit"987 986 self.btFit.SetLabel("Stop") 988 print "after stopBT"989 987 self.bind_fit_button() 990 print "after stopBTBind"988 991 989 992 990 def bind_fit_button(self): -
sansview/perspectives/fitting/fitting.py
rbe756f3 rcfbd06a 922 922 for name in pars: 923 923 param_name.append(name) 924 924 print "berfore cpage" 925 925 cpage = self.fit_panel.get_page_by_id(uid) 926 print "berfore onsetValues" 926 927 cpage.onsetValues(result.fitness, 927 928 param_name, result.pvec,result.stderr) 929 print "berfore complete" 928 930 wx.CallAfter(cpage._on_fit_complete) 929 931 if result.stderr == None: … … 1285 1287 else: 1286 1288 data_id = data.id 1287 print "before update_theory" 1289 1288 1290 self.parent.update_theory(data_id=data_id, 1289 1291 theory=new_plot, 1290 1292 state=state) 1291 print "after update_theory"1293 1292 1294 current_pg = self.fit_panel.get_page_by_id(page_id) 1293 1295 title = new_plot.title … … 1295 1297 wx.PostEvent(self.parent, NewPlotEvent(plot=new_plot, 1296 1298 title= str(title))) 1297 print "after plot" 1299 1298 1300 self.page_finder[page_id].set_theory_data(new_plot) 1299 print "before chisqr" 1301 1300 1302 if update_chisqr: 1301 1303 wx.PostEvent(current_pg, … … 1305 1307 else: 1306 1308 self._plot_residuals(page_id, data, index) 1307 print "after chisqr" 1309 1308 1310 msg = "Computation completed!" 1309 1311 wx.PostEvent( self.parent, StatusEvent(status=msg, type="stop" )) 1310 print "after stop" 1312 1311 1313 #self.current_pg.state.theory_data = deepcopy(self.theory_data) 1312 1314 except:
Note: See TracChangeset
for help on using the changeset viewer.