Changeset 39a365d in sasview


Ignore:
Timestamp:
Feb 16, 2009 2:18:22 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:
14c707f
Parents:
bd82069
Message:

function called modified for simultaneous fit

File:
1 edited

Legend:

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

    rbd82069 r39a365d  
    249249             @note: expecting park used for fit. 
    250250        """   
    251         sim_page=self.fit_panel.get_page(1) 
     251        sim_page=self.fit_panel.GetPage(1)  
    252252        for page, value in self.page_finder.iteritems(): 
    253253            if page != sim_page: 
     
    320320             
    321321        
    322     def _simul_fit_completed(self,result,qmin,qmax, elapsed,pars=None,cpage=None, ymin=None, ymax=None): 
     322    def _simul_fit_completed(self,result,qmin,qmax, elapsed,pars=None,cpage=None, 
     323                             xmin=None, xmax=None, ymin=None, ymax=None): 
    323324        """ 
    324325            Parameter estimation completed,  
     
    348349                    page.onsetValues(result.fitness, small_out,small_cov) 
    349350                    #Replot model 
    350                     self.plot_helper(currpage= page,qmin= qmin,qmax= qmax,ymin=ymin, ymax=ymax)  
     351                    self.plot_helper(currpage= page,qmin= qmin,qmax= qmax, 
     352                                     xmin=xmin, xmax=xmax, 
     353                                     ymin=ymin, ymax=ymax)  
    351354        except: 
    352355             wx.PostEvent(self.parent, StatusEvent(status="Fitting error: %s" % sys.exc_value)) 
Note: See TracChangeset for help on using the changeset viewer.