Changeset 7b0fd65 in sasview


Ignore:
Timestamp:
Apr 14, 2009 10:19:45 AM (15 years ago)
Author:
Jae Cho <jhjcho@…>
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:
6ea1b87
Parents:
f6b65b8
Message:

chi2 moved

File:
1 edited

Legend:

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

    rfb8daaaf r7b0fd65  
    106106        sizer_smearer.Add( self.disable_smearer ) 
    107107         
     108        #Display Chi^2/dof 
     109        sizer_smearer.Add((70,10)) 
     110        box_description= wx.StaticBox(self, -1,'Chi2/dof') 
     111        boxsizer1 = wx.StaticBoxSizer(box_description, wx.VERTICAL) 
     112        boxsizer1.SetMinSize((55,-1)) 
     113        self.tcChi    =  wx.StaticText(self, -1, "-", style=wx.ALIGN_LEFT)         
     114        boxsizer1.Add( self.tcChi )    
     115        sizer_smearer.Add( boxsizer1 ) 
     116                
     117        #Set sizer for Fitting section 
    108118        self._set_range_sizer( title="Fitting", 
    109119                               object1=sizer_smearer, object= sizer_fit) 
    110         
     120   
    111121        
    112122    def _fill_datainfo_sizer(self): 
     
    138148            # Maximum value of data   
    139149            data_max = str(format_number(numpy.max(self.data.x))) 
    140             text4_3 = wx.StaticText(self, -1, 'Total Q Range(1/A)', 
     150            text4_3 = wx.StaticText(self, -1, 'Total Q Range (1/A)', 
    141151                                     style=wx.ALIGN_LEFT) 
    142152            sizer_data.Add( text4_3 ) 
     
    153163            # Maximum value of data   
    154164            data_max = str(format_number(radius_max)) 
    155             text4_3 = wx.StaticText(self, -1, 'Total Q Range', 
     165            text4_3 = wx.StaticText(self, -1, 'Total Q Range (1/A)', 
    156166                                     style=wx.ALIGN_LEFT) 
    157167            sizer_data.Add( text4_3 ) 
     
    167177        self.qmax_x= data_max 
    168178         
    169          
     179        
    170180    def _fill_model_sizer(self, sizer): 
    171181        """ 
     
    173183        """ 
    174184        
    175         box_description= wx.StaticBox(self, -1,'Chi2/dof') 
    176         boxsizer1 = wx.StaticBoxSizer(box_description, wx.VERTICAL) 
    177         boxsizer1.SetMinSize((50,-1)) 
    178         self.tcChi    =  wx.StaticText(self, -1, "-", style=wx.ALIGN_LEFT) 
    179         boxsizer1.Add( self.tcChi ) 
    180          
    181              
    182185        ## class base method  to add view 2d button     
    183         self._set_model_sizer(sizer=sizer, title="Model",object= boxsizer1 )     
    184      
     186        self._set_model_sizer(sizer=sizer, title="Model",object=None )     
     187         
    185188     
    186189    def _set_sizer_gaussian(self): 
Note: See TracChangeset for help on using the changeset viewer.