Changeset da26c1a in sasview for sansview/perspectives/fitting
- Timestamp:
- Apr 27, 2009 12:06:05 PM (16 years ago)
- 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:
- 88b5e83
- Parents:
- ad6dd4c
- Location:
- sansview/perspectives/fitting
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sansview/perspectives/fitting/fitpage.py
rad6dd4c rda26c1a 45 45 ## draw sizer 46 46 self._fill_datainfo_sizer() 47 print "self.qmin, self.qmax====>",self.qmax_x,self.qmin_x47 48 48 self._fill_model_sizer( self.sizer1) 49 49 self._fill_range_sizer() … … 554 554 if check_float(tcrtl): 555 555 self._onparamEnter_helper() 556 self.compute_chisqr() 556 temp_smearer = None 557 if self.enable_smearer.GetValue(): 558 temp_smearer= self.smearer 559 self.compute_chisqr(smearer= temp_smearer) 557 560 else: 558 561 msg= "Cannot Plot :Must enter a number!!! " -
sansview/perspectives/fitting/fitting.py
rad6dd4c rda26c1a 24 24 import time 25 25 import thread 26 26 from sans.fit.AbstractFitEngine import FitAbort 27 27 28 28 (PageInfoEvent, EVT_PAGE_INFO) = wx.lib.newevent.NewEvent() … … 480 480 self.calc_fit.queue() 481 481 self.calc_fit.ready(2.5) 482 482 483 except FitAbort: 484 print "in pluging" 483 485 except: 484 486 msg= "%s error: %s" % (engineType,sys.exc_value) … … 579 581 self.panel = event.GetEventObject() 580 582 for plottable in self.panel.graph.plottables: 581 582 583 if plottable.name == self.panel.graph.selected_plottable: 583 584 #if not hasattr(plottable, "is_data"): … … 606 607 data.is_data= item.is_data 607 608 else: 608 data= self.copy_data(item )609 data= self.copy_data(item, item.dy) 609 610 data.is_data= item.is_data 610 611 … … 616 617 data.is_data=item.is_data 617 618 else: 618 data= self.copy_data(item )619 data= self.copy_data(item,item.dy) 619 620 data.is_data=item.is_data 620 621
Note: See TracChangeset
for help on using the changeset viewer.