from danse.common.plottools.plottables import Data1D as plotData1D from danse.common.plottools.plottables import Theory1D as plotTheory1D from DataLoader.data_info import DataInfo class Data1D(plotData1D,DataInfo): def __init__(self,x=[],y=[],dx=None,dy=None,dxl=None, dxw=None): plotData1D.__init__(self, x, y, dx, dy) self.smearer=None if dxl !=None: self.dxl = dxl if dxw !=None: self.dxw = dxw class Theory1D(plotTheory1D,DataInfo): def __init__(self,x=[],y=[],dy=None,dxl=None, dxw=None): Theory1D.__init__(self, x, y, dx) self.smearer=None if dxl !=None: self.dxl = dxl if dxw !=None: self.dxw = dxw