Changeset f8ce013 in sasview for park_integration
- Timestamp:
- Oct 16, 2008 11:25:21 AM (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:
- bcd6d51
- Parents:
- fee780b
- Location:
- park_integration
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
park_integration/AbstractFitEngine.py
r7d0c1a8 rf8ce013 395 395 @param Uid: unique key corresponding to a fitArrange object with data 396 396 """ 397 if data.__class__.__name__=='MetaData2D': 398 fitdata=FitData2D(data) 399 else: 400 fitdata=FitData1D(data) 397 401 if qmin !=None and qmax !=None: 398 data.setFitRange(mini=qmin,maxi=qmax)402 fitdata.setFitRange(mini=qmin,maxi=qmax) 399 403 #A fitArrange is already created but contains model only at Uid 400 404 if self.fitArrangeDict.has_key(Uid): 401 self.fitArrangeDict[Uid].add_data( data)405 self.fitArrangeDict[Uid].add_data(fitdata) 402 406 else: 403 407 #no fitArrange object has been create with this Uid 404 408 fitproblem= FitArrange() 405 fitproblem.add_data( data)409 fitproblem.add_data(fitdata) 406 410 self.fitArrangeDict[Uid]=fitproblem 407 411 -
park_integration/ScipyFitting.py
r7d0c1a8 rf8ce013 84 84 data=listdata 85 85 #Assign a fit range is not boundaries were given 86 if data.__class__.__name__=='Data1D':86 if not hasattr(data, 'image'): 87 87 if qmin==None: 88 88 qmin= min(data.x)
Note: See TracChangeset
for help on using the changeset viewer.