Changeset 437e639 in sasview
- Timestamp:
- Mar 18, 2010 10:28:50 AM (15 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:
- f43827cc
- Parents:
- 471b598
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
invariantview/perspectives/invariant/invariant_panel.py
r471b598 r437e639 335 335 compute invariant 336 336 """ 337 msg= "" 338 wx.PostEvent(self.parent, StatusEvent(status= msg)) 337 339 if self._data is None: 338 340 return … … 353 355 background=background, 354 356 scale=scale) 355 inv, npts_low = self.set_extrapolation_low(inv=inv, low_q=low_q) 356 inv, npts_high = self.set_extrapolation_high(inv=inv, high_q=high_q) 357 try: 358 inv, npts_low = self.set_extrapolation_low(inv=inv, low_q=low_q) 359 inv, npts_high = self.set_extrapolation_high(inv=inv, high_q=high_q) 360 except: 361 msg= "Error occurred computing invariant: %s"%sys.exc_value 362 wx.PostEvent(self.parent, StatusEvent(status= msg, type="stop")) 363 return 357 364 #check the type of extrapolation 358 365 extrapolation = self.get_extrapolation_type(low_q=low_q, high_q=high_q) … … 521 528 Draw widgets related to extrapolation at low q range 522 529 """ 523 self.enable_low_cbox = wx.CheckBox(self, -1, "Extrapolate Low Q") 530 self.enable_low_cbox = wx.CheckBox(self, -1, "Enable Extrapolate Low Q") 531 self.enable_low_cbox.SetForegroundColour('red') 524 532 self.enable_low_cbox.SetValue(False) 525 533 self.fit_low_cbox = wx.CheckBox(self, -1, "Check to Fit Power") … … 579 587 Draw widgets related to extrapolation at high q range 580 588 """ 581 self.enable_high_cbox = wx.CheckBox(self, -1, "Extrapolate high-Q") 589 self.enable_high_cbox = wx.CheckBox(self, -1, "Enable Extrapolate high-Q") 590 self.enable_high_cbox.SetForegroundColour('red') 582 591 self.enable_high_cbox.SetValue(False) 583 592 self.fit_high_cbox = wx.CheckBox(self, -1, "Check to Fit Power")
Note: See TracChangeset
for help on using the changeset viewer.