source: sasview/DataLoader/readers/readInfo.py @ 5f72b37

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 5f72b37 was 16d8e5f, checked in by Gervaise Alina <gervyh@…>, 16 years ago

ReadInfo? module added in readers….every reader should return a read info object

  • Property mode set to 100644
File size: 934 bytes
Line 
1class ReaderInfo:
2    """
3        This class is a container of data. It stores values read from files
4    """
5    ## Wavelength [A]
6    wavelength = 0.0
7    ## Number of x bins
8    xbins = 128
9    ## Number of y bins
10    ybins = 128
11    ## Beam center X [pixel number]
12    center_x = 65
13    ## Beam center Y [pixel number]
14    center_y = 65
15    ## Distance from sample to detector [m]
16    distance = 11.0
17    ## Qx values [A-1]
18    x_vals = []
19    ## Qy xalues [A-1]
20    y_vals = []
21    ## Qx min
22    xmin = 0.0
23    ## Qx max
24    xmax = 1.0
25    ## Qy min
26    ymin = 0.0
27    ## Qy max
28    ymax = 1.0
29    ## Image
30    image = None
31    ## Pixel size
32    pixel_size = 0.5
33    ## x coordinate
34    x=[]
35    ##y coordinate
36    y=[]
37    ##dx error on y
38    dx=None
39    ## dy error on y
40    dy=None
41    ## Error on each pixel
42    error = None
43    ##type of data
44    type=""
45    ##z
46    Z=None
47
48 
Note: See TracBrowser for help on using the repository browser.