Index: DataLoader/plugins/TXT2_Reader.py
===================================================================
--- DataLoader/plugins/TXT2_Reader.py	(revision 8d6440f96618cd67430e155f2bf52d5f801dd467)
+++ DataLoader/plugins/TXT2_Reader.py	(revision 16d8e5fb43348001cacbc6967a6922266e68fe6e)
@@ -3,4 +3,51 @@
 import string,numpy
 import logging
+class ReaderInfo:
+    """
+        This class is a container of data. It stores values read from files
+    """
+    ## Wavelength [A]
+    wavelength = 0.0
+    ## Number of x bins
+    xbins = 128
+    ## Number of y bins
+    ybins = 128
+    ## Beam center X [pixel number]
+    center_x = 65
+    ## Beam center Y [pixel number]
+    center_y = 65
+    ## Distance from sample to detector [m]
+    distance = 11.0
+    ## Qx values [A-1]
+    x_vals = []
+    ## Qy xalues [A-1]
+    y_vals = []
+    ## Qx min
+    xmin = 0.0
+    ## Qx max
+    xmax = 1.0
+    ## Qy min
+    ymin = 0.0
+    ## Qy max
+    ymax = 1.0
+    ## Image
+    image = None
+    ## Pixel size
+    pixel_size = 0.5
+    ## x coordinate
+    x=[]
+    ##y coordinate
+    y=[]
+    ##dx error on y
+    dx=None
+    ## dy error on y
+    dy=None
+    ## Error on each pixel
+    error = None
+    ##type of data
+    type=""
+    ##z
+    Z=None
+
 class Reader:
     """
@@ -68,5 +115,10 @@
                     #return msg
                     logging.info("TXT2_Reader reading  %s\n" %path)
-                    return self.x,self.y,self.dy
+                    output = ReaderInfo()
+                    output.x    = self.x
+                    output.y    = self.y
+                    output.type = "1D"
+                    
+                    return output
         return None
    
Index: DataLoader/plugins/TXT3_Reader.py
===================================================================
--- DataLoader/plugins/TXT3_Reader.py	(revision 8d6440f96618cd67430e155f2bf52d5f801dd467)
+++ DataLoader/plugins/TXT3_Reader.py	(revision 16d8e5fb43348001cacbc6967a6922266e68fe6e)
@@ -3,4 +3,50 @@
 import string,numpy
 import logging
+class ReaderInfo:
+    """
+        This class is a container of data. It stores values read from files
+    """
+    ## Wavelength [A]
+    wavelength = 0.0
+    ## Number of x bins
+    xbins = 128
+    ## Number of y bins
+    ybins = 128
+    ## Beam center X [pixel number]
+    center_x = 65
+    ## Beam center Y [pixel number]
+    center_y = 65
+    ## Distance from sample to detector [m]
+    distance = 11.0
+    ## Qx values [A-1]
+    x_vals = []
+    ## Qy xalues [A-1]
+    y_vals = []
+    ## Qx min
+    xmin = 0.0
+    ## Qx max
+    xmax = 1.0
+    ## Qy min
+    ymin = 0.0
+    ## Qy max
+    ymax = 1.0
+    ## Image
+    image = None
+    ## Pixel size
+    pixel_size = 0.5
+    ## x coordinate
+    x=[]
+    ##y coordinate
+    y=[]
+    ##dx error on y
+    dx=None
+    ## dy error on y
+    dy=None
+    ## Error on each pixel
+    error = None
+    ##type of data
+    type=""
+    ##z
+    Z=None
 class Reader:
     """
@@ -67,8 +113,14 @@
                     raise ValueError, "TXT3_Reader can't read %s"%path
                 else:
-                    #msg="txtReader  Reading:\n"+"this x :"+ str(self.x) +"\n"+"this y:"+str(self.y)+"\n"+"this dy :"+str(self.dy)+"\n"
-                    #return msg
+                   
                     logging.info ("TXT3_Reader reading %s \n" %(path))
-                    return self.x,self.y,self.dy
+                      
+                    output = ReaderInfo()
+                    output.x    = self.x
+                    output.y    = self.y
+                    output.dy   = self.dy
+                    output.type = "1D"
+                    
+                    return output
                 
         return None
Index: DataLoader/plugins/tiff_reader.py
===================================================================
--- DataLoader/plugins/tiff_reader.py	(revision 3dd7cce4a558d0fc8b36bb5276e3f499f5f8a04c)
+++ DataLoader/plugins/tiff_reader.py	(revision 16d8e5fb43348001cacbc6967a6922266e68fe6e)
@@ -4,4 +4,5 @@
 class ReaderInfo:
     """
+        This class is a container of data. It stores values read from files
     """
     ## Wavelength [A]
@@ -33,7 +34,19 @@
     ## Pixel size
     pixel_size = 0.5
+    ## x coordinate
+    x=[]
+    ##y coordinate
+    y=[]
+    ##dx error on y
+    dx=None
+    ## dy error on y
+    dy=None
     ## Error on each pixel
     error = None
-    
+    ##type of data
+    type=""
+    ##z
+    Z=None
+
 class Reader:
     """
@@ -144,5 +157,6 @@
             output.image      = Z
             output.pixel_size = pixel
-                
+            output.type       ="2D"
+              
             return output
         
