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 f4e3df3 was
858fabed,
checked in by Gervaise Alina <gervyh@…>, 15 years ago
|
add small function in utils
|
-
Property mode set to
100644
|
File size:
709 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 | |
---|
15 | self.dxl = dxl |
---|
16 | self.dxw = dxw |
---|
17 | |
---|
18 | class Theory1D(plotTheory1D,DataInfo): |
---|
19 | def __init__(self,x=[],y=[],dy=None,dxl=None, dxw=None): |
---|
20 | plotTheory1D.__init__(self, x, y) |
---|
21 | self.smearer=None |
---|
22 | |
---|
23 | self.dxl = dxl |
---|
24 | self.dxw = dxw |
---|
25 | |
---|
Note: See
TracBrowser
for help on using the repository browser.