Changeset 681f0dc in sasview for park_integration/ScipyFitting.py


Ignore:
Timestamp:
Jan 15, 2009 5:35:45 PM (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:
e9b4cc4
Parents:
4853c04
Message:

added flexibility on handler choice for fit (park). allow to print some update on the sansview

File:
1 edited

Legend:

Unmodified
Added
Removed
  • park_integration/ScipyFitting.py

    r61cb28d r681f0dc  
    5959        self.fitArrangeDict={} 
    6060        self.paramList=[] 
    61     def fit(self,qmin=None, qmax=None): 
     61    def fit(self ,handler=None, qmin=None, qmax=None): 
    6262        # Protect against simultanous fitting attempts 
    6363        #if len(self.fitArrangeDict)>1:  
     
    6565        # fitproblem contains first fitArrange object(one model and a list of data) 
    6666        #list of fitproblem 
     67        
    6768        fitproblem=[] 
    6869        for id ,fproblem in self.fitArrangeDict.iteritems(): 
Note: See TracChangeset for help on using the changeset viewer.