Changeset d8a2e31 in sasview for park_integration/ScipyFitting.py


Ignore:
Timestamp:
Aug 5, 2009 5:41:58 PM (15 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:
60c1943
Parents:
f88624d
Message:

use eval distribution as well as run

File:
1 edited

Legend:

Unmodified
Added
Removed
  • park_integration/ScipyFitting.py

    r342d9197 rd8a2e31  
    5858        self.fitArrangeDict={} 
    5959        self.paramList=[] 
    60     #def fit(self, *args, **kw): 
    61     #    return profile(self._fit, *args, **kw) 
     60    def fit(self, *args, **kw): 
     61        return profile(self._fit, *args, **kw) 
    6262 
    63     def fit(self ,handler=None,curr_thread= None): 
     63    def _fit(self ,handler=None,curr_thread= None): 
    6464        
    6565        fitproblem=[] 
     
    108108            raise 
    109109        
     110 
     111 
    110112def profile(fn, *args, **kw): 
    111113    import cProfile, pstats, os 
Note: See TracChangeset for help on using the changeset viewer.