source: sasview/guiframe/dataFitting.py @ b2c6d23

ESS_GUIESS_GUI_DocsESS_GUI_batch_fittingESS_GUI_bumps_abstractionESS_GUI_iss1116ESS_GUI_iss879ESS_GUI_iss959ESS_GUI_openclESS_GUI_orderingESS_GUI_sync_sascalccostrafo411magnetic_scattrelease-4.1.1release-4.1.2release-4.2.2release_4.0.1ticket-1009ticket-1094-headlessticket-1242-2d-resolutionticket-1243ticket-1249ticket885unittest-saveload
Last change on this file since b2c6d23 was a644dc4, checked in by Gervaise Alina <gervyh@…>, 16 years ago

fixing fitting with add_error

  • Property mode set to 100644
File size: 755 bytes
Line 
1
2from danse.common.plottools.plottables import Data1D as plotData1D
3from danse.common.plottools.plottables import Theory1D as plotTheory1D
4
5from DataLoader.data_info import DataInfo
6
7class Data1D(plotData1D,DataInfo):
8    def __init__(self,x=[],y=[],dx=None,dy=None,dxl=None, dxw=None):
9        plotData1D.__init__(self, x, y, dx, dy)
10        self.smearer=None
11        if dxl !=None:
12            self.dxl = dxl
13        if dxw !=None:
14            self.dxw = dxw
15 
16class Theory1D(plotTheory1D,DataInfo):
17    def __init__(self,x=[],y=[],dy=None,dxl=None, dxw=None):
18        plotTheory1D.__init__(self, x, y)
19        self.smearer=None
20        if dxl !=None:
21            self.dxl = dxl
22        if dxw !=None:
23            self.dxw = dxw
24 
Note: See TracBrowser for help on using the repository browser.