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 76dab10 was
12aa9b5,
checked in by Gervaise Alina <gervyh@…>, 16 years ago
|
class and method commented
|
-
Property mode set to
100644
|
File size:
802 bytes
|
Line | |
---|
1 | """ |
---|
2 | Adapters for fitting module |
---|
3 | """ |
---|
4 | from danse.common.plottools.plottables import Data1D as plotData1D |
---|
5 | from danse.common.plottools.plottables import Theory1D as plotTheory1D |
---|
6 | |
---|
7 | from DataLoader.data_info import DataInfo |
---|
8 | |
---|
9 | class Data1D(plotData1D,DataInfo): |
---|
10 | |
---|
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 | |
---|
19 | class Theory1D(plotTheory1D,DataInfo): |
---|
20 | def __init__(self,x=[],y=[],dy=None,dxl=None, dxw=None): |
---|
21 | plotTheory1D.__init__(self, x, y) |
---|
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.