Changeset 4ac8556 in sasview for guiframe/local_perspectives/plotting/boxSlicer.py
- Timestamp:
- Jun 8, 2009 10:22:18 AM (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:
- ff3f900b
- Parents:
- e5c6fff
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
guiframe/local_perspectives/plotting/boxSlicer.py
r70cf5d3 r4ac8556 9 9 # Debug printout 10 10 #from config import printEVT 11 import wx 12 import copy 13 from copy import deepcopy 14 import math 15 import numpy 16 17 from sans.guicomm.events import NewPlotEvent, StatusEvent,SlicerParameterEvent,EVT_SLICER_PARS 11 18 from BaseInteractor import _BaseInteractor 12 from copy import deepcopy 13 import math, numpy 14 15 from sans.guicomm.events import NewPlotEvent, StatusEvent,SlicerParameterEvent,EVT_SLICER_PARS 19 from sans.guiframe.dataFitting import Data1D 20 16 21 import SlicerParameters 17 import wx18 22 19 23 … … 156 160 boxavg = box(self.base.data2D) 157 161 #3 Create Data1D to plot 158 from sans.guiframe.dataFitting import Data1D162 159 163 if hasattr(boxavg,"dxl"): 160 164 dxl= boxavg.dxl … … 166 170 dxw= None 167 171 168 new_plot = Data1D(x=boxavg.x,y=boxavg.y,dy=boxavg.dy,dxl=dxl,dxw=dxw) 172 new_plot = Data1D(x=boxavg.x,y=boxavg.y,dy=boxavg.dy) 173 new_plot.dxl = dxl 174 new_plot.dxw = dxw 169 175 new_plot.name = str(self.averager.__name__) +"("+ self.base.data2D.name+")" 170 176
Note: See TracChangeset
for help on using the changeset viewer.