Changeset a320904 in sasview
- Timestamp:
- Feb 4, 2009 3:43:40 PM (16 years ago)
- 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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
park_integration/ScipyFitting.py
r9c648c7 ra320904 62 62 # return profile(self._fit, *args, **kw) 63 63 64 def fit(self ,handler=None , qmin=None, qmax=None):64 def fit(self ,handler=None): 65 65 # Protect against simultanous fitting attempts 66 66 #if len(self.fitArrangeDict)>1: … … 83 83 listdata=[] 84 84 model = fitproblem[0].get_model() 85 #print "data",fitproblem[0].dList 85 86 listdata = fitproblem[0].get_data() 86 87 # Concatenate dList set (contains one or more data)before fitting 87 88 #data=self._concatenateData( listdata) 88 89 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 100 92 functor= sansAssembly(self.paramList,model,data) 101 93
Note: See TracChangeset
for help on using the changeset viewer.