Ignore:
Timestamp:
Jun 8, 2009 10:22:18 AM (15 years ago)
Author:
Gervaise Alina <gervyh@…>
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
Message:

change on data_loader

File:
1 edited

Legend:

Unmodified
Added
Removed
  • guiframe/local_perspectives/plotting/boxSlicer.py

    r70cf5d3 r4ac8556  
    99# Debug printout 
    1010#from config import printEVT 
     11import wx 
     12import copy 
     13from copy import deepcopy 
     14import math 
     15import numpy 
     16 
     17from sans.guicomm.events import NewPlotEvent, StatusEvent,SlicerParameterEvent,EVT_SLICER_PARS 
    1118from 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 
     19from sans.guiframe.dataFitting import Data1D 
     20 
    1621import SlicerParameters 
    17 import wx 
    1822 
    1923 
     
    156160        boxavg = box(self.base.data2D) 
    157161        #3 Create Data1D to plot 
    158         from sans.guiframe.dataFitting import Data1D 
     162         
    159163        if hasattr(boxavg,"dxl"): 
    160164            dxl= boxavg.dxl 
     
    166170            dxw= None 
    167171        
    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 
    169175        new_plot.name = str(self.averager.__name__) +"("+ self.base.data2D.name+")" 
    170176         
Note: See TracChangeset for help on using the changeset viewer.