Changeset 914a499 in sasview
- Timestamp:
- Mar 10, 2009 2:50:56 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:
- 5150250
- Parents:
- bc3dd65d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
park_integration/AbstractFitEngine.py
rc79ee796 r914a499 413 413 ytemp=[] 414 414 dytemp=[] 415 dxtemp=[] 415 416 self.mini=None 416 417 self.maxi=None … … 436 437 else: 437 438 raise RuntimeError, "Fit._concatenateData: y-errors missing" 438 data= Data(x=xtemp,y=ytemp,dy=dytemp) 439 if data.dx is not None and len(data.dx)==len(data.x): 440 dxtemp.append(data.dx[i]) 441 else: 442 raise RuntimeError, "Fit._concatenateData: dQ-errors missing" 443 data= Data(x=xtemp,y=ytemp,dy=dytemp, dx=dxtemp) 439 444 data.setFitRange(self.mini, self.maxi) 440 445 return data … … 482 487 else: 483 488 fitdata=FitData1D(data, smearer) 484 485 489 fitdata.setFitRange(qmin=qmin,qmax=qmax, ymin=ymin,ymax=ymax) 486 490 #A fitArrange is already created but contains model only at Uid … … 492 496 fitproblem.add_data(fitdata) 493 497 self.fitArrangeDict[Uid]=fitproblem 494 498 495 499 def get_model(self,Uid): 496 500 """
Note: See TracChangeset
for help on using the changeset viewer.