Changeset 3b70cc7 in sasview for fittingview
- Timestamp:
- Oct 19, 2011 1:33:39 PM (13 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:
- 08dc9e87
- Parents:
- 0766d6d
- Location:
- fittingview/src/sans/perspectives/fitting
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
fittingview/src/sans/perspectives/fitting/basepage.py
rfc1761b r3b70cc7 2697 2697 self.qmin_x = data_min 2698 2698 self.qmax_x = math.sqrt(x*x + y*y) 2699 #self.data.mask = numpy.ones(len(self.data.data),dtype=bool) 2699 2700 # check smearing 2700 2701 if not self.disable_smearer.GetValue(): -
fittingview/src/sans/perspectives/fitting/fitpage.py
r934cfc03 r3b70cc7 1130 1130 self._manager.set_fit_range(uid=self.uid,qmin=self.qmin_x, 1131 1131 qmax=self.qmax_x) 1132 1132 1133 #single fit 1133 1134 self._manager.onFit(uid=self.uid) … … 1471 1472 return 1472 1473 else: 1473 self.data.mask = index_data1474 #self.data.mask = index_data 1474 1475 #self.Npts_fit.SetValue(str(len(self.data.mask))) 1475 1476 self.set_npts2fit() -
fittingview/src/sans/perspectives/fitting/fitting.py
rf6933b8 r3b70cc7 1128 1128 new_theory = copy_data.data 1129 1129 new_theory[res.index] = res.theory 1130 new_theory[res.index[res.index == False]] = 0 1131 #if len(res.theory)== len(res.index[res.index]) and \ 1132 #len(res.index) == len(data.data[res.index]): 1130 new_theory[res.index == False] = numpy.nan 1133 1131 correct_result = True 1134 1132 #get all fittable parameters of the current model
Note: See TracChangeset
for help on using the changeset viewer.