Changeset 50fcb09 in sasview for src/sas/sasgui/perspectives/fitting/fitpage.py
- Timestamp:
- Jun 27, 2017 12:18:33 PM (7 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, magnetic_scatt, release-4.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- 251ef684
- Parents:
- 65f3930
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sasgui/perspectives/fitting/fitpage.py
red2276f r50fcb09 14 14 from sasmodels.weights import MODELS as POLYDISPERSITY_MODELS 15 15 16 from sas.sascalc.fit.qsmearing import smear_selection 17 16 18 from sas.sasgui.guiframe.events import StatusEvent, NewPlotEvent, \ 17 19 PlotQrangeEvent … … 23 25 from sas.sasgui.perspectives.fitting.basepage import PageInfoEvent as \ 24 26 PageInfoEvent 25 from sas.sascalc.data_util.qsmearing import smear_selection26 27 from .basepage import ModelTextCtrl 27 28 … … 289 290 self.btFitHelp.SetToolTipString("General fitting help.") 290 291 self.btFitHelp.Bind(wx.EVT_BUTTON, self._onFitHelp) 291 292 292 293 # Resolution Smearing Help button (for now use same technique as 293 294 # used for dI help to get tiniest possible button that works … … 303 304 self.btSmearHelp.SetToolTipString("Resolution smearing help.") 304 305 self.btSmearHelp.Bind(wx.EVT_BUTTON, self._onSmearHelp) 305 306 306 307 # textcntrl for custom resolution 307 308 self.smear_pinhole_percent = ModelTextCtrl(self, wx.ID_ANY, … … 564 565 sizer.Add(self.draw_button, 0, 0) 565 566 sizer.Add((-1, 5)) 566 567 567 568 sizer.Add(self.tcChi, 0, 0) 568 569 sizer.Add(self.Npts_fit, 0, 0) … … 570 571 sizer.Add(self.btFit, 0, 0) 571 572 sizer.Add(self.btFitHelp, 0, 0) 572 573 573 574 boxsizer_range.Add(sizer_chi2) 574 575 boxsizer_range.Add(sizer) … … 2775 2776 else: 2776 2777 return cmp(a.lower(), b.lower()) 2777 2778 2778 2779 # keys obtained now from ordered dict, so commenting alphabetical 2779 2780 # ordering keys.sort(custom_compare)
Note: See TracChangeset
for help on using the changeset viewer.