Changeset 1868cf3 in sasview
- Timestamp:
- Apr 22, 2011 1:14:05 PM (14 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:
- 6ce7201
- Parents:
- 270e240
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansview/perspectives/fitting/fitting.py
rf7e9af2 r1868cf3 1263 1263 wx.PostEvent(self.parent, NewPlotEvent(plot=new_plot, 1264 1264 title= str(title))) 1265 1266 self.page_finder[page_id].set_theory_data(new_plot) 1267 1265 1268 if update_chisqr: 1266 1269 wx.PostEvent(current_pg, … … 1353 1356 wx.PostEvent(self.parent, NewPlotEvent(plot=new_plot, 1354 1357 title=title)) 1358 self.page_finder[page_id].set_theory_data(new_plot) 1355 1359 # Chisqr in fitpage 1356 1360 if update_chisqr: … … 1494 1498 # default chisqr 1495 1499 chisqr = None 1496 1500 1497 1501 # return None if data == None 1498 1502 if data == None: return chisqr … … 1524 1528 gn = theory_data.y 1525 1529 en = dy[index] 1530 print "n",len(fn) 1531 print "n",len(gn) 1532 print "n",len(en) 1533 print "-",len((fn - gn)) 1534 print len((fn - gn) / en) 1526 1535 # residual 1527 1536 res = (fn - gn) / en
Note: See TracChangeset
for help on using the changeset viewer.