Changeset fd25fb0 in sasview for sansview/perspectives/fitting


Ignore:
Timestamp:
Feb 9, 2009 2:05:17 PM (15 years ago)
Author:
Gervaise Alina <gervyh@…>
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:
13e120a
Parents:
a69e233
Message:

changing the default qmax of model plotting

Location:
sansview/perspectives/fitting
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sansview/perspectives/fitting/fitpage1D.py

    r72637e8 rfd25fb0  
    238238        ix = 0 
    239239        iy += 1 
    240         self.sizer9.Add(wx.StaticText(self, -1, 'Q range'),(iy, ix),(1,1),\ 
     240        self.sizer9.Add(wx.StaticText(self, -1, 'Qx range'),(iy, ix),(1,1),\ 
    241241                            wx.LEFT|wx.EXPAND|wx.ADJUST_MINSIZE, 15) 
    242242        ix += 1 
     
    305305        if flag== True: 
    306306            try: 
     307                print "compute",self.data.err_data 
    307308                self.qmin_x = float(self.qmin.GetValue()) 
    308309                self.qmax_x = float(self.qmax.GetValue()) 
     
    324325                self.tcChi.SetLabel(format_number(math.fabs(sum))) 
    325326            except: 
     327                raise 
    326328                wx.PostEvent(self.parent.GrandParent, StatusEvent(status=\ 
    327329                            "Chisqr cannot be compute: %s"% sys.exc_value)) 
  • sansview/perspectives/fitting/fitting.py

    ra69e233 rfd25fb0  
    1818DEFAULT_BEAM = 0.005 
    1919DEFAULT_QMIN = 0.0 
    20 DEFAULT_QMAX = 0.15 
     20DEFAULT_QMAX = 0.1 
    2121DEFAULT_NPTS = 40 
    2222import time 
Note: See TracChangeset for help on using the changeset viewer.