Changeset 818589a in sasview for sansview/perspectives/fitting/fitting.py
- Timestamp:
- Apr 18, 2011 4:42:55 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:
- e58c280
- Parents:
- 0c68c27
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansview/perspectives/fitting/fitting.py
rba1f0b2 r818589a 1297 1297 new_plot= Data2D(image=image, err_image=err_image) 1298 1298 new_plot.name = model.name 1299 1299 new_plot.title = "Analytical model 2D " 1300 1300 if data is None: 1301 1301 self._fill_default_model2D(theory=new_plot, … … 1324 1324 new_plot.xmin = data.xmin 1325 1325 new_plot.xmax = data.xmax 1326 title = data.title 1327 if len(title) > 1: 1328 new_plot.title = "Model2D for " + data.name 1326 1329 new_plot.is_data = False 1327 1330 new_plot.name = model.name + " ["+ str(model.__class__.__name__)+ "]" 1328 new_plot.title = "Analytical model 2D " 1331 1329 1332 theory_data = deepcopy(new_plot) 1330 1333 theory_data.name = "Unknown" … … 1345 1348 current_pg = self.fit_panel.get_page_by_id(page_id) 1346 1349 title = new_plot.title 1350 1347 1351 wx.PostEvent(self.parent, NewPlotEvent(plot=new_plot, 1348 1352 title=title))
Note: See TracChangeset
for help on using the changeset viewer.