Ignore:
Timestamp:
Feb 27, 2009 11:18:12 AM (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:
7d680c7
Parents:
f3113c9
Message:

remove small changes

File:
1 edited

Legend:

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

    rf3113c9 re9e914f  
    4747        self.standalone=True 
    4848        ## Fit engine 
    49         self._fit_engine = 'park' 
     49        self._fit_engine = 'scipy' 
    5050        self.enable_model2D=False 
    5151        # list of selcted data 
     
    7676        #Set park engine 
    7777        id3 = wx.NewId() 
    78         self.menu1.AppendCheckItem(id3, "scipy")  
     78        self.menu1.AppendCheckItem(id3, "park")  
    7979        wx.EVT_MENU(owner, id3, self._onset_engine) 
    8080         
     
    360360                    model.setParam(name,result.pvec) 
    361361                else: 
    362                     model.setParam(name,result.pvec[i]) 
    363 #                    print "fitting: single fit", name, result.pvec[i] 
     362                    print "fitting result : chisqr",result.fitness 
     363                    print "fitting result : pvec",result.pvec 
     364                    print "fitting result : stderr",result.stderr 
     365                    #model.setParam(name,result.pvec[i]) 
     366#                   print "fitting: single fit", name, result.pvec[i] 
    364367                    i += 1 
    365             print "fitting result : chisqr",result.fitness 
    366             print "fitting result : pvec",result.pvec 
    367             print "fitting result : stderr",result.stderr 
     368            
    368369            
    369370            cpage.onsetValues(result.fitness, result.pvec,result.stderr) 
     
    373374                             xmin=xmin, xmax=xmax,title=None) 
    374375        except: 
    375             #raise 
    376             wx.PostEvent(self.parent, StatusEvent(status="Fitting error: %s" % sys.exc_value)) 
    377             return 
     376            raise 
     377            #wx.PostEvent(self.parent, StatusEvent(status="Fitting error: %s" % sys.exc_value)) 
     378            #return 
    378379        
    379380    def _simul_fit_completed(self,result,qmin,qmax, elapsed,pars=None,cpage=None, 
Note: See TracChangeset for help on using the changeset viewer.