source: sasview/guiframe/dataFitting.py @ fc67b48

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 fc67b48 was 12aa9b5, checked in by Gervaise Alina <gervyh@…>, 16 years ago

class and method commented

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