Changeset b5fe787 in sasview for fittingview/src/sans
- Timestamp:
- Oct 13, 2011 12:55:32 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:
- db0c347
- Parents:
- 665fd06
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fittingview/src/sans/perspectives/fitting/fitting.py
rec9a635 rb5fe787 1224 1224 #Suucessful fit 1225 1225 theory_data.id = wx.NewId() 1226 theory_data.name = model.name + "[%s]" % str( model.__class__.__name__)1226 theory_data.name = model.name + "[%s]" % str(data.name) 1227 1227 try: 1228 1228 # associate residuals plot … … 1475 1475 #the same id 1476 1476 theory_data = self.page_finder[page_id].get_theory_data(fid=data.id) 1477 new_plot.name = model.name + " ["+ str( model.__class__.__name__)+"]"1477 new_plot.name = model.name + " ["+ str(data.name)+"]" 1478 1478 new_plot.xaxis(_xaxis, _xunit) 1479 1479 new_plot.yaxis(_yaxis, _yunit) … … 1560 1560 new_plot.is_data = False 1561 1561 new_plot.name = model.name + " [" + \ 1562 str( model.__class__.__name__) + "-2D]"1562 str(data.name) + "-2D]" 1563 1563 theory_data = deepcopy(new_plot) 1564 1564 theory_data.name = "Unknown" … … 1814 1814 residuals.yaxis('\\rm{Residuals} ', 'normalized') 1815 1815 new_plot = residuals 1816 new_plot.name = "Residuals for " + str(theory_data.name.split()[0]) 1816 new_plot.name = "Residuals for " + str(theory_data.name.split()[0]) +"[" + str(data.name) +"]" 1817 1817 ## allow to highlight data when plotted 1818 1818 new_plot.interactive = True
Note: See TracChangeset
for help on using the changeset viewer.