Ignore:
Timestamp:
Oct 24, 2008 3:05:33 PM (16 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:
922b0d1
Parents:
b24bf4e
Message:

replot 2 d model with data bugging…not replotting all the time you seledct model

File:
1 edited

Legend:

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

    r44bbf6a rd171299  
    5454        self.sizer2 = wx.GridBagSizer(5,5) 
    5555        self.sizer1 = wx.GridBagSizer(5,5) 
     56        #self.sizer1 =wx.BoxSizer(wx.HORIZONTAL) 
    5657        #self.DataSource      = wx.TextCtrl(self, -1,size=(_BOX_WIDTH,20)) 
    5758        #self.DataSource.SetToolTipString("name of data to fit") 
     
    127128        self.xmax.Bind(wx.EVT_TEXT_ENTER, self._onTextEnter) 
    128129        self.xmax.Disable() 
     130        iy+=1 
     131        self.sizer4.Add((20,20),(iy,ix),(1,1), wx.LEFT|wx.EXPAND|wx.ADJUST_MINSIZE, 0) 
    129132        #Set chisqr  result into TextCtrl 
    130133        ix = 0 
    131134        iy = 1 
     135         
    132136        self.text1_1 = wx.StaticText(self, -1, 'Chi2/dof', style=wx.ALIGN_LEFT) 
     137        #self.sizer1.Add(self.text1_1,1) 
    133138        self.sizer1.Add(self.text1_1,(iy,ix),(1,1),\ 
    134139                   wx.LEFT|wx.EXPAND|wx.ADJUST_MINSIZE, 15) 
     
    136141        self.tcChi    = wx.TextCtrl(self, -1,size=(_BOX_WIDTH,20)) 
    137142        self.tcChi.SetToolTipString("Chi^2 over degrees of freedom.") 
     143        #self.sizer1.Add(self.tcChi, 1, wx.R | wx.BOTTOM , 5) 
    138144        self.sizer1.Add(self.tcChi,(iy,ix),(1,1), wx.LEFT|wx.EXPAND|wx.ADJUST_MINSIZE, 0) 
    139145        ix +=2 
     146        #self.sizer1.Add(self.btFit, 1, wx.LEFT | wx.BOTTOM , 5) 
    140147        self.sizer1.Add(self.btFit,(iy,ix),(1,1), wx.LEFT|wx.EXPAND|wx.ADJUST_MINSIZE, 0) 
    141148        ix+= 1 
    142149        self.sizer1.Add( self.btClose,(iy,ix),(1,1), wx.LEFT|wx.EXPAND|wx.ADJUST_MINSIZE, 0) 
     150        #self.sizer1.Add( self.btClose,1, wx.LEFT | wx.BOTTOM , 5) 
     151 
    143152        ix= 1 
    144153        iy+=1 
    145154        self.sizer1.Add((20,20),(iy,ix),(1,1), wx.LEFT|wx.EXPAND|wx.ADJUST_MINSIZE, 0) 
     155        #self.sizer1.Add((20,20), 0) 
    146156        # contains link between  model ,all its parameters, and panel organization 
    147157        self.parameters=[] 
     
    166176            @param owner: the class responsible of plotting 
    167177        """ 
    168         self.event_owner=owner     
     178        self.event_owner = owner     
    169179    
    170180   
Note: See TracChangeset for help on using the changeset viewer.