- Timestamp:
- Feb 25, 2011 9:40:28 AM (14 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:
- 97ec26b
- Parents:
- 59b9b675
- Location:
- sansview/perspectives/fitting
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sansview/perspectives/fitting/basepage.py
r18cdddb r01b6bd0 2252 2252 self.disp_box.Hide() 2253 2253 self.sizer4_4.Clear(True) 2254 model_disp = wx.StaticText(self, -1, 'No PolyDispersity for this model') 2254 text = "No polydispersity available for this model" 2255 model_disp = wx.StaticText(self, -1, text) 2255 2256 self.sizer4_4.Add(model_disp,( iy, ix),(1,1), wx.LEFT|wx.EXPAND|wx.ADJUST_MINSIZE, 15) 2256 2257 self.sizer4_4.Layout() -
sansview/perspectives/fitting/fitpage.py
r982e953 r01b6bd0 478 478 wx.LEFT|wx.EXPAND|wx.ADJUST_MINSIZE, 15) 479 479 ix += 1 480 values = wx.StaticText(self, -1, 'Sigma [A]') 481 values.SetToolTipString(\ 482 "Sigma(STD) in the A unit; the standard deviation from the mean value.") 480 values = wx.StaticText(self, -1, 'PD[ratio] ') 481 polytext = "Polydispersity (= STD/mean); " 482 polytext += "the standard deviation over the mean value." 483 values.SetToolTipString(polytext) 483 484 484 485 self.sizer4_4.Add(values,( iy, ix),(1,1), wx.EXPAND|wx.ADJUST_MINSIZE, … … 513 514 of the distribution function will be used for weighting. \n\ 514 515 The value '3' covers 99.5% for Gaussian distribution \n\ 515 function. ")516 function. Note: Not recommended to change this value.") 516 517 self.sizer4_4.Add(nsigmas,( iy, ix),(1,1), wx.EXPAND|wx.ADJUST_MINSIZE, 517 518 0) … … 547 548 ctl1 = self.ModelTextCtrl(self, -1, size=(_BOX_WIDTH,20) 548 549 ,style=wx.TE_PROCESS_ENTER) 549 ctl1.SetToolTipString("Absolute Sigma: \n\ 550 1) It is the STD (ratio*mean) of '%s' distribution.\n \ 551 2) It should not exceed Mean/(2*Nsigmas)." %item) 550 ctl1.SetLabel('PD[ratio]') 551 poly_text = "Polydispersity (STD/mean) of %s\n" % item 552 poly_text += "STD: the standard deviation" 553 poly_text += " from the mean value." 554 ctl1.SetToolTipString(poly_text) 552 555 ctl1.SetValue(str (format_number(value))) 553 556 self.sizer4_4.Add(ctl1, (iy,ix),(1,1),wx.EXPAND) … … 661 664 ctl1 = self.ModelTextCtrl(self, -1, size=(_BOX_WIDTH, 662 665 20),style=wx.TE_PROCESS_ENTER) 663 ctl1.SetToolTipString("Absolute Sigma: \n\ 664 1) It is the STD (ratio*mean) of '%s' distribution."% \ 665 item) 666 poly_tip = "Absolute Sigma for %s." % item 667 ctl1.SetToolTipString(poly_tip) 666 668 ctl1.SetValue(str (format_number(value))) 667 669 if self.data.__class__.__name__ =="Data2D": 668 670 if first_orient: 669 values.SetLabel('Sigma [A (or deg)]') 670 values.SetToolTipString(\ 671 "Sigma(STD) in the A or deg(for angles) unit;\n\ 672 the standard deviation from the mean value.") 671 values.SetLabel('PD[ratio], Sig[deg]') 672 poly_text = "PD(polydispersity for lengths):\n" 673 poly_text += "It should be a value between" 674 poly_text += "0 and 1\n" 675 poly_text += "Sigma for angles: \n" 676 poly_text += "It is the STD (ratio*mean)" 677 poly_text += " of the distribution.\n " % item 678 679 values.SetToolTipString(poly_text) 673 680 first_orient = False 674 681 ctl1.Show(True)
Note: See TracChangeset
for help on using the changeset viewer.