Ignore:
Timestamp:
Jun 27, 2017 12:18:33 PM (7 years ago)
Author:
Paul Kienzle <pkienzle@…>
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
Message:

move qsmearing to fit package

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/sasgui/perspectives/fitting/fitpage.py

    red2276f r50fcb09  
    1414from sasmodels.weights import MODELS as POLYDISPERSITY_MODELS 
    1515 
     16from sas.sascalc.fit.qsmearing import smear_selection 
     17 
    1618from sas.sasgui.guiframe.events import StatusEvent, NewPlotEvent, \ 
    1719    PlotQrangeEvent 
     
    2325from sas.sasgui.perspectives.fitting.basepage import PageInfoEvent as \ 
    2426    PageInfoEvent 
    25 from sas.sascalc.data_util.qsmearing import smear_selection 
    2627from .basepage import ModelTextCtrl 
    2728 
     
    289290        self.btFitHelp.SetToolTipString("General fitting help.") 
    290291        self.btFitHelp.Bind(wx.EVT_BUTTON, self._onFitHelp) 
    291          
     292 
    292293        # Resolution Smearing Help button (for now use same technique as 
    293294        # used for dI help to get tiniest possible button that works 
     
    303304        self.btSmearHelp.SetToolTipString("Resolution smearing help.") 
    304305        self.btSmearHelp.Bind(wx.EVT_BUTTON, self._onSmearHelp) 
    305          
     306 
    306307        # textcntrl for custom resolution 
    307308        self.smear_pinhole_percent = ModelTextCtrl(self, wx.ID_ANY, 
     
    564565        sizer.Add(self.draw_button, 0, 0) 
    565566        sizer.Add((-1, 5)) 
    566          
     567 
    567568        sizer.Add(self.tcChi, 0, 0) 
    568569        sizer.Add(self.Npts_fit, 0, 0) 
     
    570571        sizer.Add(self.btFit, 0, 0) 
    571572        sizer.Add(self.btFitHelp, 0, 0) 
    572          
     573 
    573574        boxsizer_range.Add(sizer_chi2) 
    574575        boxsizer_range.Add(sizer) 
     
    27752776            else: 
    27762777                return cmp(a.lower(), b.lower()) 
    2777          
     2778 
    27782779        # keys obtained now from ordered dict, so commenting alphabetical 
    27792780        # ordering keys.sort(custom_compare) 
Note: See TracChangeset for help on using the changeset viewer.