Changeset 74b1770 in sasview for calculatorview/perspectives/calculator
- Timestamp:
- Oct 18, 2010 8:44:19 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:
- 89f3b66
- Parents:
- 2e862a0
- Location:
- calculatorview/perspectives/calculator
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
calculatorview/perspectives/calculator/calculator.py
r6137b150 r74b1770 112 112 Returns a set of menu entries for tools 113 113 """ 114 kiessig_help = "This tool is to approximatly compute the " 115 kiessig_help += "thickness of a shell or the size of " 116 kiessig_help += "particles \n from the width of a Kiessig fringe." 114 117 sld_help = "Provides computation related to Scattering Length Density" 115 118 slit_length_help = "Provides computation related to Slit Length Density" … … 117 120 return [("SLD Calculator", sld_help, self.on_calculate_sld), 118 121 ("Slit Size Calculator", slit_length_help, 119 self.on_calculate_slit_size)]#, 122 self.on_calculate_slit_size), 123 ("Kiessig Thickness Calculator", 124 kiessig_help, self.on_calculate_kiessig),]#, 120 125 #("Data Editor", data_editor_help, self.on_edit_data)] 121 126 … … 127 132 frame = DataEditorWindow(parent=self.parent, data=[], title="Data Editor") 128 133 frame.Show(True) 129 134 135 def on_calculate_kiessig(self, event): 136 """ 137 Compute the Kiessig thickness 138 """ 139 from kiessig_calculator_panel import KiessigWindow 140 frame = KiessigWindow() 141 frame.Show(True) 142 143 130 144 def on_calculate_sld(self, event): 131 145 """ -
calculatorview/perspectives/calculator/help_panel.py
r1c779b6 r74b1770 115 115 <li><a href ="sld_calculator_help.html" target ="showframe">SLD Calculator</a><br></li> 116 116 <li><a href ="slit_calculator_help.html" target ="showframe">Slit Size Calculator</a><br></li> 117 <li><a href ="kiessig_calculator_help.html" target ="showframe">Kiessig Thickness Calculator</a><br></li> 117 118 </ul> 118 119 </body> -
calculatorview/perspectives/calculator/slit_length_calculator_panel.py
r25a2ee3 r74b1770 86 86 Fill the sizer containing slit size information 87 87 """ 88 slit_size_txt = wx.StaticText(self, -1, 'Slit Size (FWHM ): ')88 slit_size_txt = wx.StaticText(self, -1, 'Slit Size (FWHM/2): ') 89 89 self.slit_size_tcl = InterActiveOutputTextCtrl(self, -1, size=(_BOX_WIDTH,-1)) 90 90 slit_size_hint = " Estimated full slit size"
Note: See TracChangeset
for help on using the changeset viewer.