Changeset 20b6760 in sasview
- Timestamp:
- Mar 12, 2010 12:55:46 PM (15 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:
- 83195f7
- Parents:
- 78cae5a
- Location:
- guiframe
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
guiframe/dataFitting.py
r3562fbc r20b6760 74 74 ymin=ymin, ymax=ymax) 75 75 76 LoadData2D.__init__(self,data=image, err_data=err_image )76 LoadData2D.__init__(self,data=image, err_data=err_image, qx_data=None,qy_data=None,q_data=None,mask=None) 77 77 78 78 def copy_from_datainfo(self, data2d): … … 81 81 """ 82 82 self.data = copy.deepcopy(data2d.data) 83 self.qx_data = copy.deepcopy(data2d.qx_data) 84 self.qy_data = copy.deepcopy(data2d.qy_data) 85 self.q_data = copy.deepcopy(data2d.q_data) 86 self.mask = copy.deepcopy(data2d.mask) 83 87 self.err_data = copy.deepcopy(data2d.err_data) 84 88 self.x_bins = copy.deepcopy(data2d.x_bins) -
guiframe/local_perspectives/plotting/Plotter2D.py
r3562fbc r20b6760 148 148 self.plots[event.plot.name].ymax = event.plot.ymax 149 149 self.plots[event.plot.name].data = event.plot.data 150 self.plots[event.plot.name].qx_data = event.plot.qx_data 151 self.plots[event.plot.name].qy_data = event.plot.qy_data 150 152 self.plots[event.plot.name].err_data = event.plot.err_data 151 153 # update qmax with the new xmax of data plotted … … 297 299 ## Redraw the current image 298 300 self.image(data= self.data2D.data, 301 qx_data=self.data2D.qx_data, 302 qy_data=self.data2D.qy_data, 299 303 xmin= self.data2D.xmin, 300 304 xmax= self.data2D.xmax,
Note: See TracChangeset
for help on using the changeset viewer.