Changeset d4bb639 in sasview for sansview/perspectives/fitting/basepage.py
- Timestamp:
- Sep 17, 2009 3:14:09 PM (15 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:
- a85f622
- Parents:
- 5582a9f1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansview/perspectives/fitting/basepage.py
r5582a9f1 rd4bb639 14 14 (NextStateEvent, EVT_NEXT_STATE) = wx.lib.newevent.NewEvent() 15 15 _BOX_WIDTH = 76 16 16 _QMIN_DEFAULT = 0.001 17 _QMAX_DEFAULT = 0.13 18 _NPTS_DEFAULT = 50 17 19 class BasicPage(wx.ScrolledWindow): 18 20 """ … … 73 75 ## check that the fit range is correct to plot the model again 74 76 self.fitrange= True 75 ## Q range defaults 76 self.qmin_def = 0.001 77 self.qmax_def = 0.13 78 self.num_points_def = 50 77 79 78 ## Q range 80 self.qmin_x= 0.00181 self.qmax_x= 0.1382 self.num_points= 5079 self.qmin_x= _QMIN_DEFAULT 80 self.qmax_x= _QMAX_DEFAULT 81 self.num_points= _NPTS_DEFAULT 83 82 84 83 ## Create memento to save the current state … … 1668 1667 sizer.Add(wx.StaticText(self, -1, ' Max')) 1669 1668 sizer.Add(self.reset_qrange) 1670 1671 1672 sizer.Add((5,5))1673 sizer.Add(wx.StaticText(self, -1, 'Min'))1674 sizer.Add(wx.StaticText(self, -1, 'Max'))1675 sizer.Add(wx.StaticText(self, -1, 'Q range'))1676 1669 1677 1670 sizer.Add(self.qmin) … … 1736 1729 self.qmax_x = max(self.data.x) 1737 1730 else: 1738 self.qmin_x = self.qmin_def1739 self.qmax_x = self.qmax_def1740 self.num_points = self.num_points_def1731 self.qmin_x = _QMIN_DEFAULT 1732 self.qmax_x = _QMAX_DEFAULT 1733 self.num_points = _NPTS_DEFAULT 1741 1734 self.state.npts = self.num_points 1742 1735
Note: See TracChangeset
for help on using the changeset viewer.