Changeset 01b6bd0 in sasview for theoryview/perspectives
- 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:
- theoryview/perspectives/theory
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
theoryview/perspectives/theory/basepage.py
rf53444be r01b6bd0 1607 1607 self.disp_box.Hide() 1608 1608 self.sizer4_4.Clear(True) 1609 model_disp = wx.StaticText(self, -1, 'No PolyDispersity for this model') 1609 text = "No polydispersity available for this model" 1610 model_disp = wx.StaticText(self, -1, text) 1610 1611 self.sizer4_4.Add(model_disp,(iy, ix), (1,1), 1611 1612 wx.LEFT|wx.EXPAND|wx.ADJUST_MINSIZE, 15) -
theoryview/perspectives/theory/model_panel.py
r18cdddb r01b6bd0 160 160 wx.LEFT|wx.EXPAND|wx.ADJUST_MINSIZE, 15) 161 161 ix += 1 162 values = wx.StaticText(self, -1, 'Sigma [A]') 163 hint_msg = "Sigma(STD) in the A unit; the standard " 164 hint_msg += "deviation from the mean value." 165 values.SetToolTipString(hint_msg) 162 values = wx.StaticText(self, -1, 'PD[ratio] ') 163 polytext = "Polydispersity (= STD/mean); " 164 polytext += "the standard deviation over the mean value." 165 values.SetToolTipString(polytext) 166 166 167 self.sizer4_4.Add(values, (iy, ix), (1, 1), 167 168 wx.EXPAND|wx.ADJUST_MINSIZE, 0) … … 178 179 hint_msg += "of the distribution function will be used for " 179 180 hint_msg += "weighting.\n The value '3' covers 99.5% for Gaussian " 180 hint_msg += " distribution \n function." 181 hint_msg += " distribution \n function. " 182 hint_msg += "Note: Not recommended to change this value." 181 183 nsigmas.SetToolTipString(hint_msg) 182 184 self.sizer4_4.Add(nsigmas, (iy, ix), … … 200 202 ctl1 = self.ModelTextCtrl(self, -1, size=(_BOX_WIDTH,20), 201 203 style=wx.TE_PROCESS_ENTER) 202 ctl1.SetToolTipString("Absolute Sigma: \n\ 203 1) It is the STD (ratio*mean) of '%s' distribution.\n \ 204 2) It should not exceed Mean/(2*Nsigmas)." %item) 204 ctl1.SetLabel('PD[ratio]') 205 poly_text = "Polydispersity (STD/mean) of %s\n" % item 206 poly_text += "STD: the standard deviation" 207 poly_text += " from the mean value." 208 ctl1.SetToolTipString(poly_text) 205 209 ctl1.SetValue(str (format_number(value))) 206 210 self.sizer4_4.Add(ctl1, (iy,ix),(1,1), wx.EXPAND) … … 255 259 ctl1 = self.ModelTextCtrl(self, -1, size=(_BOX_WIDTH,20), 256 260 style=wx.TE_PROCESS_ENTER) 257 ctl1.SetToolTipString("Absolute Sigma: \n\ 258 1) It is the STD (ratio*mean) of '%s' distribution."% \ 259 item) 261 poly_tip = "Absolute Sigma for %s." % item 262 ctl1.SetToolTipString(poly_tip) 260 263 ctl1.SetValue(str (format_number(value))) 261 264 if not self.enable2D: … … 265 268 # in the case of 2D and angle parameter 266 269 if first_orient: 267 values.SetLabel('Sigma [A (or deg)]') 268 values.SetToolTipString(\ 269 "Sigma(STD) in the A or deg(for angles) unit;\n\ 270 the standard deviation from the mean value.") 270 values.SetLabel('PD[ratio], Sig[deg]') 271 poly_text = "PD(polydispersity for lengths):\n" 272 poly_text += "It should be a value between" 273 poly_text += "0 and 1\n" 274 poly_text += "Sigma for angles: \n" 275 poly_text += "It is the STD (ratio*mean)" 276 poly_text += " of the distribution.\n " % item 277 278 values.SetToolTipString(poly_text) 271 279 first_orient = False 272 280 ctl1.Show(True)
Note: See TracChangeset
for help on using the changeset viewer.