Changeset 44f9c8b in sasview for fittingview/src
- Timestamp:
- Sep 7, 2011 6:38:18 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:
- a0106ac
- Parents:
- 55bb249c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fittingview/src/sans/perspectives/fitting/fitpage.py
r55bb249c r44f9c8b 1110 1110 self._manager.set_fit_weight(uid=self.uid, 1111 1111 weight=self.get_weight(), 1112 is2d = self. is_2D)1112 is2d = self._is_2D()) 1113 1113 self._manager.set_fit_range(uid=self.uid,qmin=self.qmin_x, 1114 1114 qmax=self.qmax_x) … … 1126 1126 self.dI_sqrdata, 1127 1127 self.dI_idata] 1128 if self. is_2D:1128 if self._is_2D(): 1129 1129 dy_data = self.data.err_data 1130 1130 data = self.data.data … … 1140 1140 dy = dy_data 1141 1141 elif button_list.index(item) == 2: 1142 dy = numpy.sqrt( data)1142 dy = numpy.sqrt(numpy.abs(data)) 1143 1143 elif button_list.index(item) == 3: 1144 dy = data1144 dy = numpy.abs(data) 1145 1145 break 1146 1146 return dy
Note: See TracChangeset
for help on using the changeset viewer.