Changeset 25f766a in sasview for sansview/perspectives/fitting
- Timestamp:
- Feb 17, 2010 11:48:24 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:
- d361b462
- Parents:
- fb0d7a20
- Location:
- sansview/perspectives/fitting
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sansview/perspectives/fitting/fitting.py
r420cbdd r25f766a 281 281 pass 282 282 283 def get_tools(self):284 """285 Returns a set of menu entries for tools286 """287 id = wx.NewId()288 sld_help = "Provides computation related to Scattering Length density"289 return [("SLD Calculator", sld_help, self.on_calculate_sld)]290 291 283 def copy_data(self, item, dy=None): 292 284 """ … … 523 515 else: 524 516 time.sleep(0.4) 525 526 def on_calculate_sld(self, event): 527 """ 528 Compute the scattering length density of molecula 529 """ 530 try: 531 import sans.perspectives.calculator as sld 532 except: 533 msg= "Couldn't import Sld module" 534 wx.PostEvent(self.parent, StatusEvent(status= msg)) 535 return 536 frame = sld.sld_panel.SldWindow(base=self.parent) 537 frame.Show(True) 538 517 539 518 540 519 def _onEVT_SLICER_PANEL(self, event): -
sansview/perspectives/fitting/help_panel.py
r484faf7 r25f766a 113 113 <li><a href ="doc/model_use_help.html" target ="showframe">Visualize Model</a><br></li> 114 114 <li><a href ="doc/averaging_help.html" target ="showframe">Data Averaging</a><br></li> 115 <li><a href ="doc/sld_calculator_help.html" target ="showframe">SLD Calculator</a><br></li>116 115 <li><a href ="doc/model_functions.html" target ="showframe">Model Functions</a><br></li> 117 116 </ul>
Note: See TracChangeset
for help on using the changeset viewer.