Changeset aa36f96 in sasview for park_integration/Loader.py


Ignore:
Timestamp:
Jun 3, 2010 2:50:08 PM (14 years ago)
Author:
Gervaise Alina <gervyh@…>
Branches:
master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
d84a90c
Parents:
6126c25
Message:

working on documentation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • park_integration/Loader.py

    r4408fb0 raa36f96  
    44class Load: 
    55    """ 
    6         This class is loading values from given file or value giving by the user 
     6    This class is loading values from given file or value giving by the user 
    77    """ 
    88     
     
    1717    def set_filename(self,path=None): 
    1818        """ 
    19             Store path into a variable.If the user doesn't give a path as a parameter a pop-up 
    20             window appears to select the file. 
    21             @param path: the path given by the user 
     19        Store path into a variable.If the user doesn't give a path as a parameter a pop-up 
     20        window appears to select the file. 
     21         
     22        :param path: the path given by the user 
     23         
    2224        """ 
    2325        self.filename = path 
     
    2931     
    3032    def set_values(self): 
    31         """ Store the values loaded from file in local variables """ 
     33        """ Store the values loaded from file in local variables""" 
    3234        if not self.filename == None: 
    3335            input_f =  open(self.filename,'r') 
     
    6163             
    6264    def get_values(self): 
    63         """ Return x, y, dx, dy """ 
     65        """ Return x, y, dx, dy""" 
    6466        return self.x,self.y,self.dx,self.dy 
    6567     
    6668    def load_data(self,data): 
    67         """ Return plottable """ 
     69        """ Return plottable""" 
    6870        #load data 
    6971        data.x = self.x 
Note: See TracChangeset for help on using the changeset viewer.