Changeset a320904 in sasview for park_integration


Ignore:
Timestamp:
Feb 4, 2009 5:43:40 PM (16 years ago)
Author:
Jae Cho <jhjcho@…>
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:
3e8e627
Parents:
4e5f660
Message:

qmin and qmax were removed from fit()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • park_integration/ScipyFitting.py

    r9c648c7 ra320904  
    6262    #    return profile(self._fit, *args, **kw) 
    6363 
    64     def fit(self ,handler=None, qmin=None, qmax=None): 
     64    def fit(self ,handler=None): 
    6565        # Protect against simultanous fitting attempts 
    6666        #if len(self.fitArrangeDict)>1:  
     
    8383        listdata=[] 
    8484        model = fitproblem[0].get_model() 
     85        #print "data",fitproblem[0].dList 
    8586        listdata = fitproblem[0].get_data() 
    8687        # Concatenate dList set (contains one or more data)before fitting 
    8788        #data=self._concatenateData( listdata) 
    8889        data=listdata 
    89         #Assign a fit range is not boundaries were given 
    90         if not hasattr(data, 'image'): 
    91             if qmin==None: 
    92                 qmin= min(data.x) 
    93             if qmax==None: 
    94                 qmax= max(data.x)  
    95         else: 
    96             if qmin==None: 
    97                 qmin= numpy.min(data.image) 
    98             if qmax==None: 
    99                 qmax= numpy.max(data.image)  
     90        
     91        
    10092        functor= sansAssembly(self.paramList,model,data) 
    10193         
Note: See TracChangeset for help on using the changeset viewer.