Changeset 15ff344 in sasview for sansview/perspectives/fitting
- Timestamp:
- Apr 27, 2009 2:15:12 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:
- 52611f5
- Parents:
- 90db8e8
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansview/perspectives/fitting/gui_thread.py
r2b63df0 r15ff344 56 56 self.dy= numpy.zeros(len(self.y)) 57 57 self.dy[self.dy==0]=1 58 59 58 if self.qmin==None: 60 59 self.qmin= min(self.x) … … 73 72 # Check whether we need to bail out 74 73 self.isquit() 75 fx[i_x]=self.model.run( i_x)74 fx[i_x]=self.model.run(self.x[i_x]) 76 75 77 76 if self.smearer!=None: … … 82 81 temp=(self.y[i_y] - fx[i_y])/self.dy[i_y] 83 82 res.append(temp*temp) 83 84 84 85 #sum of residuals 85 86 sum=0
Note: See TracChangeset
for help on using the changeset viewer.