Changeset a9e04aa in sasview for park_integration/Fitting.py


Ignore:
Timestamp:
Sep 30, 2008 10:33:02 AM (16 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:
8bbab51
Parents:
3755d77
Message:

added fitting selection methods

File:
1 edited

Legend:

Unmodified
Added
Removed
  • park_integration/Fitting.py

    rca6d914 ra9e04aa  
    6969        self._engine.remove_Fit_Problem(Uid) 
    7070         
     71    def select_problem_for_fit(self,Uid,value): 
     72        """ 
     73            select a couple of model and data at the Uid position in dictionary 
     74            and set in self.selected value to value 
     75            @param value: the value to allow fitting. can only have the value one or zero 
     76        """ 
     77        self._engine.select_problem_for_fit(Uid,value) 
    7178         
     79    def get_problem_to_fit(self,Uid): 
     80        """ 
     81            return the self.selected value of the fit problem of Uid 
     82           @param Uid: the Uid of the problem 
     83        """ 
     84        return self._engine.get_problem_to_fit(Uid) 
Note: See TracChangeset for help on using the changeset viewer.