Changeset a3f125f0 in sasview for src/sas/perspectives
- Timestamp:
- Mar 30, 2015 10:51:41 AM (10 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:
- edfc8ac
- Parents:
- d5419f7f
- Location:
- src/sas/perspectives/fitting
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/perspectives/fitting/fitting.py
rf76bf17 ra3f125f0 954 954 return True 955 955 except: 956 raise 956 957 msg = "Fitting error: %s" % str(sys.exc_value) 957 958 wx.PostEvent(self.parent, StatusEvent(status=msg, info="error", -
src/sas/perspectives/fitting/model_thread.py
r2f4b430 ra3f125f0 169 169 first_bin, last_bin = self.smearer.get_bin_range(self.qmin, 170 170 self.qmax) 171 mask = self.data.x[first_bin:last_bin ]172 output[first_bin:last_bin ] = self.model.evalDistribution(mask)171 mask = self.data.x[first_bin:last_bin+1] 172 output[first_bin:last_bin+1] = self.model.evalDistribution(mask) 173 173 output = self.smearer(output, first_bin, last_bin) 174 174 else:
Note: See TracChangeset
for help on using the changeset viewer.