Changeset 7ee79cb in sasview for fittingview/src/sans/perspectives
- Timestamp:
- Sep 15, 2011 10:50:54 AM (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:
- b2aef1c
- Parents:
- 989767c
- Location:
- fittingview/src/sans/perspectives/fitting
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
fittingview/src/sans/perspectives/fitting/fitpage.py
rf7ef313 r7ee79cb 1108 1108 self._manager._reset_schedule_problem(value=0, uid=self.uid) 1109 1109 self._manager.schedule_for_fit(uid=self.uid,value=1) 1110 self._manager.set_fit_weight(uid=self.uid,1111 flag=self.get_weight_flag(),1112 is2d = self._is_2D())1113 1110 self._manager.set_fit_range(uid=self.uid,qmin=self.qmin_x, 1114 1111 qmax=self.qmax_x) -
fittingview/src/sans/perspectives/fitting/fitting.py
r55d2f7e r7ee79cb 696 696 templist = [] 697 697 page = self.fit_panel.get_page_by_id(page_id) 698 self.set_fit_weight(uid=page.uid, 699 flag=page.get_weight_flag(), 700 is2d = page._is_2D()) 698 701 templist = page.get_param_list() 699 702 for element in templist: -
fittingview/src/sans/perspectives/fitting/utils.py
rf7f6886 r7ee79cb 18 18 data = data.y 19 19 if flag == 0: 20 weight = numpy.ones_like(d y_data)20 weight = numpy.ones_like(data) 21 21 elif flag == 1: 22 22 weight = dy_data
Note: See TracChangeset
for help on using the changeset viewer.