Changeset 77e9ac6 in sasview


Ignore:
Timestamp:
Jul 11, 2016 4:36:55 AM (8 years ago)
Author:
lewis
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, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
f2bbabf
Parents:
3b8efec
git-author:
Lewis O'Driscoll <lewis.o'driscoll@…> (07/07/16 07:31:01)
git-committer:
Lewis O'Driscoll <lewis.o'driscoll@…> (07/11/16 04:36:55)
Message:

Tidy up

Location:
src/sas
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • src/sas/sascalc/corfunc/corfunc_calculator.py

    r3b8efec r77e9ac6  
    143143        # better fitting curve 
    144144        data = interp1d(q, iq) 
    145         s1 = self._Interpolator(data, lambda x: self._porod(x, fitp[0], fitp[1]), 
    146             self.upperq[0], q[-1]) 
     145        s1 = self._Interpolator(data, 
     146            lambda x: self._porod(x, fitp[0], fitp[1]), self.upperq[0], q[-1]) 
    147147 
    148148        mask = np.logical_and(q < self.lowerq, 0 < q) 
  • src/sas/sasgui/perspectives/corfunc/corfunc_panel.py

    r3b8efec r77e9ac6  
    202202            wx.PostEvent(self._manager.parent, PlotQrangeEvent( 
    203203                ctrl=[self._qmin_input, self._qmax1_input, self._qmax2_input], 
    204                 active=event.GetEventObject(), id=IQ_DATA_LABEL, group_id=group_id, 
    205                 leftdown=False)) 
     204                active=event.GetEventObject(), id=IQ_DATA_LABEL, 
     205                group_id=group_id, leftdown=False)) 
    206206 
    207207    def _validate_inputs(self): 
     
    305305        self._background_input.SetToolTipString(("A background value to " 
    306306            "subtract from all intensity values")) 
    307         q_sizer.Add(self._background_input, (1,1), (1,1), wx.RIGHT | wx.EXPAND, 5) 
     307        q_sizer.Add(self._background_input, (1,1), (1,1), 
     308            wx.RIGHT | wx.EXPAND, 5) 
    308309 
    309310        qrange_label = wx.StaticText(self, -1, "Q Range:", size=(50,20)) 
  • src/sas/sasgui/perspectives/corfunc/corfunc_state.py

    rb564ea2 r77e9ac6  
    109109            we will append the data [optional] 
    110110 
    111         :return: None if no doc is provided, modified XML document if doc != None 
     111        :return: None if no doc is provided, modified XML document if doc!=None 
    112112        """ 
    113113        from xml.dom.minidom import getDOMImplementation 
Note: See TracChangeset for help on using the changeset viewer.