[a462c6a] | 1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" |
---|
| 2 | "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
---|
| 3 | |
---|
| 4 | |
---|
| 5 | <html xmlns="http://www.w3.org/1999/xhtml"> |
---|
| 6 | <head> |
---|
| 7 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
---|
| 8 | |
---|
| 9 | <title>sas.perspectives.calculator package — SasView 3.0.0 documentation</title> |
---|
| 10 | |
---|
| 11 | <link rel="stylesheet" href="../../_static/default.css" type="text/css" /> |
---|
| 12 | <link rel="stylesheet" href="../../_static/pygments.css" type="text/css" /> |
---|
| 13 | |
---|
| 14 | <script type="text/javascript"> |
---|
| 15 | var DOCUMENTATION_OPTIONS = { |
---|
| 16 | URL_ROOT: '../../', |
---|
| 17 | VERSION: '3.0.0', |
---|
| 18 | COLLAPSE_INDEX: false, |
---|
| 19 | FILE_SUFFIX: '.html', |
---|
| 20 | HAS_SOURCE: true |
---|
| 21 | }; |
---|
| 22 | </script> |
---|
| 23 | <script type="text/javascript" src="../../_static/jquery.js"></script> |
---|
| 24 | <script type="text/javascript" src="../../_static/underscore.js"></script> |
---|
| 25 | <script type="text/javascript" src="../../_static/doctools.js"></script> |
---|
| 26 | <script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script> |
---|
| 27 | <link rel="top" title="SasView 3.0.0 documentation" href="../../index.html" /> |
---|
| 28 | <link rel="up" title="sas.perspectives package" href="sas.perspectives.html" /> |
---|
| 29 | <link rel="next" title="sas.perspectives.fitting package" href="sas.perspectives.fitting.html" /> |
---|
| 30 | <link rel="prev" title="sas.perspectives package" href="sas.perspectives.html" /> |
---|
| 31 | </head> |
---|
| 32 | <body> |
---|
| 33 | <div class="related"> |
---|
| 34 | <h3>Navigation</h3> |
---|
| 35 | <ul> |
---|
| 36 | <li class="right" style="margin-right: 10px"> |
---|
| 37 | <a href="../../genindex.html" title="General Index" |
---|
| 38 | accesskey="I">index</a></li> |
---|
| 39 | <li class="right" > |
---|
| 40 | <a href="../../py-modindex.html" title="Python Module Index" |
---|
| 41 | >modules</a> |</li> |
---|
| 42 | <li class="right" > |
---|
| 43 | <a href="sas.perspectives.fitting.html" title="sas.perspectives.fitting package" |
---|
| 44 | accesskey="N">next</a> |</li> |
---|
| 45 | <li class="right" > |
---|
| 46 | <a href="sas.perspectives.html" title="sas.perspectives package" |
---|
| 47 | accesskey="P">previous</a> |</li> |
---|
| 48 | <li><a href="../../index.html">SasView 3.0.0 documentation</a> »</li> |
---|
| 49 | <li><a href="../dev.html" >Developer Documentation</a> »</li> |
---|
| 50 | <li><a href="modules.html" >lib.macosx-10.5-x86_64-2.7</a> »</li> |
---|
| 51 | <li><a href="sas.html" >sas package</a> »</li> |
---|
| 52 | <li><a href="sas.perspectives.html" accesskey="U">sas.perspectives package</a> »</li> |
---|
| 53 | </ul> |
---|
| 54 | </div> |
---|
| 55 | |
---|
| 56 | <div class="document"> |
---|
| 57 | <div class="documentwrapper"> |
---|
| 58 | <div class="bodywrapper"> |
---|
| 59 | <div class="body"> |
---|
| 60 | |
---|
| 61 | <div class="section" id="sas-perspectives-calculator-package"> |
---|
| 62 | <h1>sas.perspectives.calculator package</h1> |
---|
| 63 | <div class="section" id="submodules"> |
---|
| 64 | <h2>Submodules</h2> |
---|
| 65 | </div> |
---|
| 66 | <div class="section" id="module-sas.perspectives.calculator.aperture_editor"> |
---|
| 67 | <span id="sas-perspectives-calculator-aperture-editor-module"></span><h2>sas.perspectives.calculator.aperture_editor module</h2> |
---|
| 68 | <dl class="class"> |
---|
| 69 | <dt id="sas.perspectives.calculator.aperture_editor.ApertureDialog"> |
---|
| 70 | <em class="property">class </em><tt class="descclassname">sas.perspectives.calculator.aperture_editor.</tt><tt class="descname">ApertureDialog</tt><big>(</big><em>parent=None</em>, <em>manager=None</em>, <em>aperture=None</em>, <em>*args</em>, <em>**kwds</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/aperture_editor.html#ApertureDialog"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 71 | <dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">wx._windows.Dialog</span></tt></p> |
---|
| 72 | <dl class="method"> |
---|
| 73 | <dt id="sas.perspectives.calculator.aperture_editor.ApertureDialog.get_aperture"> |
---|
| 74 | <tt class="descname">get_aperture</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/aperture_editor.html#ApertureDialog.get_aperture"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 75 | <dd><p>return the current aperture</p> |
---|
| 76 | </dd></dl> |
---|
| 77 | |
---|
| 78 | <dl class="method"> |
---|
| 79 | <dt id="sas.perspectives.calculator.aperture_editor.ApertureDialog.get_notes"> |
---|
| 80 | <tt class="descname">get_notes</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/aperture_editor.html#ApertureDialog.get_notes"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 81 | <dd><p>return notes</p> |
---|
| 82 | </dd></dl> |
---|
| 83 | |
---|
| 84 | <dl class="method"> |
---|
| 85 | <dt id="sas.perspectives.calculator.aperture_editor.ApertureDialog.on_change_distance"> |
---|
| 86 | <tt class="descname">on_change_distance</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/aperture_editor.html#ApertureDialog.on_change_distance"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 87 | <dd><p>Change distance of the aperture</p> |
---|
| 88 | </dd></dl> |
---|
| 89 | |
---|
| 90 | <dl class="method"> |
---|
| 91 | <dt id="sas.perspectives.calculator.aperture_editor.ApertureDialog.on_change_name"> |
---|
| 92 | <tt class="descname">on_change_name</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/aperture_editor.html#ApertureDialog.on_change_name"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 93 | <dd><p>Change name</p> |
---|
| 94 | </dd></dl> |
---|
| 95 | |
---|
| 96 | <dl class="method"> |
---|
| 97 | <dt id="sas.perspectives.calculator.aperture_editor.ApertureDialog.on_change_size"> |
---|
| 98 | <tt class="descname">on_change_size</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/aperture_editor.html#ApertureDialog.on_change_size"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 99 | <dd><p>Change aperture size</p> |
---|
| 100 | </dd></dl> |
---|
| 101 | |
---|
| 102 | <dl class="method"> |
---|
| 103 | <dt id="sas.perspectives.calculator.aperture_editor.ApertureDialog.on_change_size_name"> |
---|
| 104 | <tt class="descname">on_change_size_name</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/aperture_editor.html#ApertureDialog.on_change_size_name"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 105 | <dd><p>Change the size’s name</p> |
---|
| 106 | </dd></dl> |
---|
| 107 | |
---|
| 108 | <dl class="method"> |
---|
| 109 | <dt id="sas.perspectives.calculator.aperture_editor.ApertureDialog.on_change_type"> |
---|
| 110 | <tt class="descname">on_change_type</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/aperture_editor.html#ApertureDialog.on_change_type"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 111 | <dd><p>Change aperture type</p> |
---|
| 112 | </dd></dl> |
---|
| 113 | |
---|
| 114 | <dl class="method"> |
---|
| 115 | <dt id="sas.perspectives.calculator.aperture_editor.ApertureDialog.on_click_apply"> |
---|
| 116 | <tt class="descname">on_click_apply</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/aperture_editor.html#ApertureDialog.on_click_apply"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 117 | <dd><p>Apply user values to the aperture</p> |
---|
| 118 | </dd></dl> |
---|
| 119 | |
---|
| 120 | <dl class="method"> |
---|
| 121 | <dt id="sas.perspectives.calculator.aperture_editor.ApertureDialog.on_click_cancel"> |
---|
| 122 | <tt class="descname">on_click_cancel</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/aperture_editor.html#ApertureDialog.on_click_cancel"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 123 | <dd><p>reset the current aperture to its initial values</p> |
---|
| 124 | </dd></dl> |
---|
| 125 | |
---|
| 126 | <dl class="method"> |
---|
| 127 | <dt id="sas.perspectives.calculator.aperture_editor.ApertureDialog.reset_aperture"> |
---|
| 128 | <tt class="descname">reset_aperture</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/aperture_editor.html#ApertureDialog.reset_aperture"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 129 | <dd><p>put the default value of the detector back to the current aperture</p> |
---|
| 130 | </dd></dl> |
---|
| 131 | |
---|
| 132 | <dl class="method"> |
---|
| 133 | <dt id="sas.perspectives.calculator.aperture_editor.ApertureDialog.set_manager"> |
---|
| 134 | <tt class="descname">set_manager</tt><big>(</big><em>manager</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/aperture_editor.html#ApertureDialog.set_manager"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 135 | <dd><p>Set manager of this window</p> |
---|
| 136 | </dd></dl> |
---|
| 137 | |
---|
| 138 | <dl class="method"> |
---|
| 139 | <dt id="sas.perspectives.calculator.aperture_editor.ApertureDialog.set_values"> |
---|
| 140 | <tt class="descname">set_values</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/aperture_editor.html#ApertureDialog.set_values"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 141 | <dd><p>take the aperture values of the current data and display them |
---|
| 142 | through the panel</p> |
---|
| 143 | </dd></dl> |
---|
| 144 | |
---|
| 145 | </dd></dl> |
---|
| 146 | |
---|
| 147 | </div> |
---|
| 148 | <div class="section" id="module-sas.perspectives.calculator.calculator"> |
---|
| 149 | <span id="sas-perspectives-calculator-calculator-module"></span><h2>sas.perspectives.calculator.calculator module</h2> |
---|
| 150 | <p>Calculator Module</p> |
---|
| 151 | <dl class="class"> |
---|
| 152 | <dt id="sas.perspectives.calculator.calculator.Plugin"> |
---|
| 153 | <em class="property">class </em><tt class="descclassname">sas.perspectives.calculator.calculator.</tt><tt class="descname">Plugin</tt><big>(</big><em>standalone=True</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/calculator.html#Plugin"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 154 | <dd><p>Bases: <a class="reference internal" href="sas.guiframe.html#sas.guiframe.plugin_base.PluginBase" title="sas.guiframe.plugin_base.PluginBase"><tt class="xref py py-class docutils literal"><span class="pre">sas.guiframe.plugin_base.PluginBase</span></tt></a></p> |
---|
| 155 | <p>This class defines the interface for a Plugin class |
---|
| 156 | for calculator perspective</p> |
---|
| 157 | <dl class="method"> |
---|
| 158 | <dt id="sas.perspectives.calculator.calculator.Plugin.get_python_panel"> |
---|
| 159 | <tt class="descname">get_python_panel</tt><big>(</big><em>filename=None</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/calculator.html#Plugin.get_python_panel"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 160 | <dd><p>Get the python shell panel</p> |
---|
| 161 | <table class="docutils field-list" frame="void" rules="none"> |
---|
| 162 | <col class="field-name" /> |
---|
| 163 | <col class="field-body" /> |
---|
| 164 | <tbody valign="top"> |
---|
| 165 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>filename</strong> – file name to open in editor</td> |
---|
| 166 | </tr> |
---|
| 167 | </tbody> |
---|
| 168 | </table> |
---|
| 169 | </dd></dl> |
---|
| 170 | |
---|
| 171 | <dl class="method"> |
---|
| 172 | <dt id="sas.perspectives.calculator.calculator.Plugin.get_tools"> |
---|
| 173 | <tt class="descname">get_tools</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/calculator.html#Plugin.get_tools"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 174 | <dd><p>Returns a set of menu entries for tools</p> |
---|
| 175 | </dd></dl> |
---|
| 176 | |
---|
| 177 | <dl class="method"> |
---|
| 178 | <dt id="sas.perspectives.calculator.calculator.Plugin.help"> |
---|
| 179 | <tt class="descname">help</tt><big>(</big><em>evt</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/calculator.html#Plugin.help"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 180 | <dd><p>Show a general help dialog.</p> |
---|
| 181 | <table class="docutils field-list" frame="void" rules="none"> |
---|
| 182 | <col class="field-name" /> |
---|
| 183 | <col class="field-body" /> |
---|
| 184 | <tbody valign="top"> |
---|
| 185 | <tr class="field-odd field"><th class="field-name">TODO:</th><td class="field-body">replace the text with a nice image |
---|
| 186 | provide more hint on the SLD calculator</td> |
---|
| 187 | </tr> |
---|
| 188 | </tbody> |
---|
| 189 | </table> |
---|
| 190 | </dd></dl> |
---|
| 191 | |
---|
| 192 | <dl class="method"> |
---|
| 193 | <dt id="sas.perspectives.calculator.calculator.Plugin.on_calculate_dv"> |
---|
| 194 | <tt class="descname">on_calculate_dv</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/calculator.html#Plugin.on_calculate_dv"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 195 | <dd><p>Compute the mass density or molar voulme</p> |
---|
| 196 | </dd></dl> |
---|
| 197 | |
---|
| 198 | <dl class="method"> |
---|
| 199 | <dt id="sas.perspectives.calculator.calculator.Plugin.on_calculate_kiessig"> |
---|
| 200 | <tt class="descname">on_calculate_kiessig</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/calculator.html#Plugin.on_calculate_kiessig"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 201 | <dd><p>Compute the Kiessig thickness</p> |
---|
| 202 | </dd></dl> |
---|
| 203 | |
---|
| 204 | <dl class="method"> |
---|
| 205 | <dt id="sas.perspectives.calculator.calculator.Plugin.on_calculate_resoltuion"> |
---|
| 206 | <tt class="descname">on_calculate_resoltuion</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/calculator.html#Plugin.on_calculate_resoltuion"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 207 | <dd><p>Estimate the instrumental resolution</p> |
---|
| 208 | </dd></dl> |
---|
| 209 | |
---|
| 210 | <dl class="method"> |
---|
| 211 | <dt id="sas.perspectives.calculator.calculator.Plugin.on_calculate_sld"> |
---|
| 212 | <tt class="descname">on_calculate_sld</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/calculator.html#Plugin.on_calculate_sld"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 213 | <dd><p>Compute the scattering length density of molecula</p> |
---|
| 214 | </dd></dl> |
---|
| 215 | |
---|
| 216 | <dl class="method"> |
---|
| 217 | <dt id="sas.perspectives.calculator.calculator.Plugin.on_calculate_slit_size"> |
---|
| 218 | <tt class="descname">on_calculate_slit_size</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/calculator.html#Plugin.on_calculate_slit_size"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 219 | <dd><p>Compute the slit size a given data</p> |
---|
| 220 | </dd></dl> |
---|
| 221 | |
---|
| 222 | <dl class="method"> |
---|
| 223 | <dt id="sas.perspectives.calculator.calculator.Plugin.on_data_operation"> |
---|
| 224 | <tt class="descname">on_data_operation</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/calculator.html#Plugin.on_data_operation"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 225 | <dd><p>Data operation</p> |
---|
| 226 | </dd></dl> |
---|
| 227 | |
---|
| 228 | <dl class="method"> |
---|
| 229 | <dt id="sas.perspectives.calculator.calculator.Plugin.on_edit_data"> |
---|
| 230 | <tt class="descname">on_edit_data</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/calculator.html#Plugin.on_edit_data"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 231 | <dd><p>Edit meta data</p> |
---|
| 232 | </dd></dl> |
---|
| 233 | |
---|
| 234 | <dl class="method"> |
---|
| 235 | <dt id="sas.perspectives.calculator.calculator.Plugin.on_gen_model"> |
---|
| 236 | <tt class="descname">on_gen_model</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/calculator.html#Plugin.on_gen_model"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 237 | <dd><p>On Generic model menu event</p> |
---|
| 238 | </dd></dl> |
---|
| 239 | |
---|
| 240 | <dl class="method"> |
---|
| 241 | <dt id="sas.perspectives.calculator.calculator.Plugin.on_image_viewer"> |
---|
| 242 | <tt class="descname">on_image_viewer</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/calculator.html#Plugin.on_image_viewer"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 243 | <dd><p>Get choose an image file dialog</p> |
---|
| 244 | <table class="docutils field-list" frame="void" rules="none"> |
---|
| 245 | <col class="field-name" /> |
---|
| 246 | <col class="field-body" /> |
---|
| 247 | <tbody valign="top"> |
---|
| 248 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>event</strong> – menu event</td> |
---|
| 249 | </tr> |
---|
| 250 | </tbody> |
---|
| 251 | </table> |
---|
| 252 | </dd></dl> |
---|
| 253 | |
---|
| 254 | <dl class="method"> |
---|
| 255 | <dt id="sas.perspectives.calculator.calculator.Plugin.on_python_console"> |
---|
| 256 | <tt class="descname">on_python_console</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/calculator.html#Plugin.on_python_console"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 257 | <dd><p>Open Python Console</p> |
---|
| 258 | <table class="docutils field-list" frame="void" rules="none"> |
---|
| 259 | <col class="field-name" /> |
---|
| 260 | <col class="field-body" /> |
---|
| 261 | <tbody valign="top"> |
---|
| 262 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>event</strong> – menu event</td> |
---|
| 263 | </tr> |
---|
| 264 | </tbody> |
---|
| 265 | </table> |
---|
| 266 | </dd></dl> |
---|
| 267 | |
---|
| 268 | <dl class="method"> |
---|
| 269 | <dt id="sas.perspectives.calculator.calculator.Plugin.put_icon"> |
---|
| 270 | <tt class="descname">put_icon</tt><big>(</big><em>frame</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/calculator.html#Plugin.put_icon"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 271 | <dd><p>Put icon in the frame title bar</p> |
---|
| 272 | </dd></dl> |
---|
| 273 | |
---|
| 274 | </dd></dl> |
---|
| 275 | |
---|
| 276 | </div> |
---|
| 277 | <div class="section" id="module-sas.perspectives.calculator.calculator_widgets"> |
---|
| 278 | <span id="sas-perspectives-calculator-calculator-widgets-module"></span><h2>sas.perspectives.calculator.calculator_widgets module</h2> |
---|
| 279 | <p>This software was developed by the University of Tennessee as part of the |
---|
| 280 | Distributed Data Analysis of Neutron Scattering Experiments (DANSE) |
---|
| 281 | project funded by the US National Science Foundation.</p> |
---|
| 282 | <p>See the license text in license.txt</p> |
---|
| 283 | <p>copyright 2009, University of Tennessee</p> |
---|
| 284 | <dl class="class"> |
---|
| 285 | <dt id="sas.perspectives.calculator.calculator_widgets.InputTextCtrl"> |
---|
| 286 | <em class="property">class </em><tt class="descclassname">sas.perspectives.calculator.calculator_widgets.</tt><tt class="descname">InputTextCtrl</tt><big>(</big><em>parent=None</em>, <em>*args</em>, <em>**kwds</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/calculator_widgets.html#InputTextCtrl"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 287 | <dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">wx._controls.TextCtrl</span></tt></p> |
---|
| 288 | <p>Text control for model and fit parameters. |
---|
| 289 | Binds the appropriate events for user interactions.</p> |
---|
| 290 | </dd></dl> |
---|
| 291 | |
---|
| 292 | <dl class="class"> |
---|
| 293 | <dt id="sas.perspectives.calculator.calculator_widgets.InterActiveOutputTextCtrl"> |
---|
| 294 | <em class="property">class </em><tt class="descclassname">sas.perspectives.calculator.calculator_widgets.</tt><tt class="descname">InterActiveOutputTextCtrl</tt><big>(</big><em>*args</em>, <em>**kwds</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/calculator_widgets.html#InterActiveOutputTextCtrl"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 295 | <dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">wx._controls.TextCtrl</span></tt></p> |
---|
| 296 | <p>Text control used to display outputs. |
---|
| 297 | No editing allowed. The background is |
---|
| 298 | grayed out. User can’t select text.</p> |
---|
| 299 | </dd></dl> |
---|
| 300 | |
---|
| 301 | <dl class="class"> |
---|
| 302 | <dt id="sas.perspectives.calculator.calculator_widgets.OutputTextCtrl"> |
---|
| 303 | <em class="property">class </em><tt class="descclassname">sas.perspectives.calculator.calculator_widgets.</tt><tt class="descname">OutputTextCtrl</tt><big>(</big><em>*args</em>, <em>**kwds</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/calculator_widgets.html#OutputTextCtrl"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 304 | <dd><p>Bases: <a class="reference internal" href="#sas.perspectives.calculator.calculator_widgets.InterActiveOutputTextCtrl" title="sas.perspectives.calculator.calculator_widgets.InterActiveOutputTextCtrl"><tt class="xref py py-class docutils literal"><span class="pre">sas.perspectives.calculator.calculator_widgets.InterActiveOutputTextCtrl</span></tt></a></p> |
---|
| 305 | <p>Text control used to display outputs. |
---|
| 306 | No editing allowed. The background is |
---|
| 307 | grayed out. User can’t select text.</p> |
---|
| 308 | </dd></dl> |
---|
| 309 | |
---|
| 310 | </div> |
---|
| 311 | <div class="section" id="module-sas.perspectives.calculator.collimation_editor"> |
---|
| 312 | <span id="sas-perspectives-calculator-collimation-editor-module"></span><h2>sas.perspectives.calculator.collimation_editor module</h2> |
---|
| 313 | <dl class="class"> |
---|
| 314 | <dt id="sas.perspectives.calculator.collimation_editor.CollimationDialog"> |
---|
| 315 | <em class="property">class </em><tt class="descclassname">sas.perspectives.calculator.collimation_editor.</tt><tt class="descname">CollimationDialog</tt><big>(</big><em>parent=None</em>, <em>manager=None</em>, <em>collimation=[]</em>, <em>*args</em>, <em>**kwds</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/collimation_editor.html#CollimationDialog"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 316 | <dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">wx._windows.Dialog</span></tt></p> |
---|
| 317 | <dl class="method"> |
---|
| 318 | <dt id="sas.perspectives.calculator.collimation_editor.CollimationDialog.add_aperture"> |
---|
| 319 | <tt class="descname">add_aperture</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/collimation_editor.html#CollimationDialog.add_aperture"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 320 | <dd><p>Append empty aperture to data’s list of aperture</p> |
---|
| 321 | </dd></dl> |
---|
| 322 | |
---|
| 323 | <dl class="method"> |
---|
| 324 | <dt id="sas.perspectives.calculator.collimation_editor.CollimationDialog.add_collimation"> |
---|
| 325 | <tt class="descname">add_collimation</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/collimation_editor.html#CollimationDialog.add_collimation"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 326 | <dd><p>Append empty collimation to data’s list of collimation</p> |
---|
| 327 | </dd></dl> |
---|
| 328 | |
---|
| 329 | <dl class="method"> |
---|
| 330 | <dt id="sas.perspectives.calculator.collimation_editor.CollimationDialog.edit_aperture"> |
---|
| 331 | <tt class="descname">edit_aperture</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/collimation_editor.html#CollimationDialog.edit_aperture"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 332 | <dd><p>Edit the selected aperture</p> |
---|
| 333 | </dd></dl> |
---|
| 334 | |
---|
| 335 | <dl class="method"> |
---|
| 336 | <dt id="sas.perspectives.calculator.collimation_editor.CollimationDialog.enable_aperture"> |
---|
| 337 | <tt class="descname">enable_aperture</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/collimation_editor.html#CollimationDialog.enable_aperture"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 338 | <dd><p>Enable /disable widgets crelated to aperture</p> |
---|
| 339 | </dd></dl> |
---|
| 340 | |
---|
| 341 | <dl class="method"> |
---|
| 342 | <dt id="sas.perspectives.calculator.collimation_editor.CollimationDialog.enable_collimation"> |
---|
| 343 | <tt class="descname">enable_collimation</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/collimation_editor.html#CollimationDialog.enable_collimation"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 344 | <dd><p>Enable /disable widgets related to collimation</p> |
---|
| 345 | </dd></dl> |
---|
| 346 | |
---|
| 347 | <dl class="method"> |
---|
| 348 | <dt id="sas.perspectives.calculator.collimation_editor.CollimationDialog.fill_aperture_combox"> |
---|
| 349 | <tt class="descname">fill_aperture_combox</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/collimation_editor.html#CollimationDialog.fill_aperture_combox"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 350 | <dd><p>fill the current combobox with the available aperture</p> |
---|
| 351 | </dd></dl> |
---|
| 352 | |
---|
| 353 | <dl class="method"> |
---|
| 354 | <dt id="sas.perspectives.calculator.collimation_editor.CollimationDialog.fill_collimation_combox"> |
---|
| 355 | <tt class="descname">fill_collimation_combox</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/collimation_editor.html#CollimationDialog.fill_collimation_combox"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 356 | <dd><p>fill the current combobox with the available collimation</p> |
---|
| 357 | </dd></dl> |
---|
| 358 | |
---|
| 359 | <dl class="method"> |
---|
| 360 | <dt id="sas.perspectives.calculator.collimation_editor.CollimationDialog.get_collimation"> |
---|
| 361 | <tt class="descname">get_collimation</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/collimation_editor.html#CollimationDialog.get_collimation"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 362 | <dd><p>return the current collimation</p> |
---|
| 363 | </dd></dl> |
---|
| 364 | |
---|
| 365 | <dl class="method"> |
---|
| 366 | <dt id="sas.perspectives.calculator.collimation_editor.CollimationDialog.get_current_collimation"> |
---|
| 367 | <tt class="descname">get_current_collimation</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/collimation_editor.html#CollimationDialog.get_current_collimation"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 368 | <dd></dd></dl> |
---|
| 369 | |
---|
| 370 | <dl class="method"> |
---|
| 371 | <dt id="sas.perspectives.calculator.collimation_editor.CollimationDialog.get_notes"> |
---|
| 372 | <tt class="descname">get_notes</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/collimation_editor.html#CollimationDialog.get_notes"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 373 | <dd><p>return notes</p> |
---|
| 374 | </dd></dl> |
---|
| 375 | |
---|
| 376 | <dl class="method"> |
---|
| 377 | <dt id="sas.perspectives.calculator.collimation_editor.CollimationDialog.on_change_length"> |
---|
| 378 | <tt class="descname">on_change_length</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/collimation_editor.html#CollimationDialog.on_change_length"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 379 | <dd><p>Change the length</p> |
---|
| 380 | </dd></dl> |
---|
| 381 | |
---|
| 382 | <dl class="method"> |
---|
| 383 | <dt id="sas.perspectives.calculator.collimation_editor.CollimationDialog.on_change_name"> |
---|
| 384 | <tt class="descname">on_change_name</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/collimation_editor.html#CollimationDialog.on_change_name"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 385 | <dd><p>Change name</p> |
---|
| 386 | </dd></dl> |
---|
| 387 | |
---|
| 388 | <dl class="method"> |
---|
| 389 | <dt id="sas.perspectives.calculator.collimation_editor.CollimationDialog.on_click_apply"> |
---|
| 390 | <tt class="descname">on_click_apply</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/collimation_editor.html#CollimationDialog.on_click_apply"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 391 | <dd><p>Apply user values to the collimation</p> |
---|
| 392 | </dd></dl> |
---|
| 393 | |
---|
| 394 | <dl class="method"> |
---|
| 395 | <dt id="sas.perspectives.calculator.collimation_editor.CollimationDialog.on_click_cancel"> |
---|
| 396 | <tt class="descname">on_click_cancel</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/collimation_editor.html#CollimationDialog.on_click_cancel"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 397 | <dd><p>leave the collimation as it is and close</p> |
---|
| 398 | </dd></dl> |
---|
| 399 | |
---|
| 400 | <dl class="method"> |
---|
| 401 | <dt id="sas.perspectives.calculator.collimation_editor.CollimationDialog.on_select_collimation"> |
---|
| 402 | <tt class="descname">on_select_collimation</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/collimation_editor.html#CollimationDialog.on_select_collimation"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 403 | <dd><p>fill the control on the panel according to |
---|
| 404 | the current selected collimation</p> |
---|
| 405 | </dd></dl> |
---|
| 406 | |
---|
| 407 | <dl class="method"> |
---|
| 408 | <dt id="sas.perspectives.calculator.collimation_editor.CollimationDialog.remove_aperture"> |
---|
| 409 | <tt class="descname">remove_aperture</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/collimation_editor.html#CollimationDialog.remove_aperture"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 410 | <dd><p>Remove aperture to data’s list of aperture</p> |
---|
| 411 | </dd></dl> |
---|
| 412 | |
---|
| 413 | <dl class="method"> |
---|
| 414 | <dt id="sas.perspectives.calculator.collimation_editor.CollimationDialog.remove_collimation"> |
---|
| 415 | <tt class="descname">remove_collimation</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/collimation_editor.html#CollimationDialog.remove_collimation"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 416 | <dd><p>Remove collimation to data’s list of collimation</p> |
---|
| 417 | </dd></dl> |
---|
| 418 | |
---|
| 419 | <dl class="method"> |
---|
| 420 | <dt id="sas.perspectives.calculator.collimation_editor.CollimationDialog.reset_aperture_combobox"> |
---|
| 421 | <tt class="descname">reset_aperture_combobox</tt><big>(</big><em>edited_aperture</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/collimation_editor.html#CollimationDialog.reset_aperture_combobox"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 422 | <dd><p>take all edited editor and reset clientdata of aperture combo box</p> |
---|
| 423 | </dd></dl> |
---|
| 424 | |
---|
| 425 | <dl class="method"> |
---|
| 426 | <dt id="sas.perspectives.calculator.collimation_editor.CollimationDialog.reset_collimation_combobox"> |
---|
| 427 | <tt class="descname">reset_collimation_combobox</tt><big>(</big><em>edited_collimation</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/collimation_editor.html#CollimationDialog.reset_collimation_combobox"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 428 | <dd><p>take all edited editor and reset clientdata of collimation combo box</p> |
---|
| 429 | </dd></dl> |
---|
| 430 | |
---|
| 431 | <dl class="method"> |
---|
| 432 | <dt id="sas.perspectives.calculator.collimation_editor.CollimationDialog.set_aperture"> |
---|
| 433 | <tt class="descname">set_aperture</tt><big>(</big><em>aperture</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/collimation_editor.html#CollimationDialog.set_aperture"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 434 | <dd><p>set aperture for data</p> |
---|
| 435 | </dd></dl> |
---|
| 436 | |
---|
| 437 | <dl class="method"> |
---|
| 438 | <dt id="sas.perspectives.calculator.collimation_editor.CollimationDialog.set_manager"> |
---|
| 439 | <tt class="descname">set_manager</tt><big>(</big><em>manager</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/collimation_editor.html#CollimationDialog.set_manager"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 440 | <dd><p>Set manager of this window</p> |
---|
| 441 | </dd></dl> |
---|
| 442 | |
---|
| 443 | <dl class="method"> |
---|
| 444 | <dt id="sas.perspectives.calculator.collimation_editor.CollimationDialog.set_values"> |
---|
| 445 | <tt class="descname">set_values</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/collimation_editor.html#CollimationDialog.set_values"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 446 | <dd><p>take the collimation values of the current data and display them |
---|
| 447 | through the panel</p> |
---|
| 448 | </dd></dl> |
---|
| 449 | |
---|
| 450 | </dd></dl> |
---|
| 451 | |
---|
| 452 | </div> |
---|
| 453 | <div class="section" id="module-sas.perspectives.calculator.console"> |
---|
| 454 | <span id="sas-perspectives-calculator-console-module"></span><h2>sas.perspectives.calculator.console module</h2> |
---|
| 455 | <p>Console Module display message of a dialog</p> |
---|
| 456 | <dl class="class"> |
---|
| 457 | <dt id="sas.perspectives.calculator.console.ConsoleDialog"> |
---|
| 458 | <em class="property">class </em><tt class="descclassname">sas.perspectives.calculator.console.</tt><tt class="descname">ConsoleDialog</tt><big>(</big><em>parent=None</em>, <em>manager=None</em>, <em>data=None</em>, <em>title='Data Summary'</em>, <em>size=(530</em>, <em>560)</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/console.html#ConsoleDialog"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 459 | <dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">wx._windows.Dialog</span></tt></p> |
---|
| 460 | <p>Data summary dialog</p> |
---|
| 461 | <dl class="method"> |
---|
| 462 | <dt id="sas.perspectives.calculator.console.ConsoleDialog.set_manager"> |
---|
| 463 | <tt class="descname">set_manager</tt><big>(</big><em>manager</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/console.html#ConsoleDialog.set_manager"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 464 | <dd><p>Set the manager of this window</p> |
---|
| 465 | </dd></dl> |
---|
| 466 | |
---|
| 467 | <dl class="method"> |
---|
| 468 | <dt id="sas.perspectives.calculator.console.ConsoleDialog.set_message"> |
---|
| 469 | <tt class="descname">set_message</tt><big>(</big><em>msg=''</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/console.html#ConsoleDialog.set_message"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 470 | <dd><p>Display the message received</p> |
---|
| 471 | </dd></dl> |
---|
| 472 | |
---|
| 473 | </dd></dl> |
---|
| 474 | |
---|
| 475 | </div> |
---|
| 476 | <div class="section" id="module-sas.perspectives.calculator.data_editor"> |
---|
| 477 | <span id="sas-perspectives-calculator-data-editor-module"></span><h2>sas.perspectives.calculator.data_editor module</h2> |
---|
| 478 | <dl class="class"> |
---|
| 479 | <dt id="sas.perspectives.calculator.data_editor.DataEditorPanel"> |
---|
| 480 | <em class="property">class </em><tt class="descclassname">sas.perspectives.calculator.data_editor.</tt><tt class="descname">DataEditorPanel</tt><big>(</big><em>parent</em>, <em>data=[]</em>, <em>*args</em>, <em>**kwds</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/data_editor.html#DataEditorPanel"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 481 | <dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">wx._windows.ScrolledWindow</span></tt></p> |
---|
| 482 | <table class="docutils field-list" frame="void" rules="none"> |
---|
| 483 | <col class="field-name" /> |
---|
| 484 | <col class="field-body" /> |
---|
| 485 | <tbody valign="top"> |
---|
| 486 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>data</strong> – <dl class="docutils"> |
---|
| 487 | <dt>when not empty the class can </dt> |
---|
| 488 | <dd>same information into a dat object</dd> |
---|
| 489 | </dl> |
---|
| 490 | <p>and post event containing the changed data object to some other frame</p> |
---|
| 491 | </td> |
---|
| 492 | </tr> |
---|
| 493 | </tbody> |
---|
| 494 | </table> |
---|
| 495 | <dl class="method"> |
---|
| 496 | <dt id="sas.perspectives.calculator.data_editor.DataEditorPanel.choose_data_file"> |
---|
| 497 | <tt class="descname">choose_data_file</tt><big>(</big><em>location=None</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/data_editor.html#DataEditorPanel.choose_data_file"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 498 | <dd><p>Open a file dialog to allow loading a file</p> |
---|
| 499 | </dd></dl> |
---|
| 500 | |
---|
| 501 | <dl class="method"> |
---|
| 502 | <dt id="sas.perspectives.calculator.data_editor.DataEditorPanel.complete_loading"> |
---|
| 503 | <tt class="descname">complete_loading</tt><big>(</big><em>data=None</em>, <em>filename=''</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/data_editor.html#DataEditorPanel.complete_loading"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 504 | <dd><p>Complete the loading and compute the slit size</p> |
---|
| 505 | </dd></dl> |
---|
| 506 | |
---|
| 507 | <dl class="method"> |
---|
| 508 | <dt id="sas.perspectives.calculator.data_editor.DataEditorPanel.edit_collimation"> |
---|
| 509 | <tt class="descname">edit_collimation</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/data_editor.html#DataEditorPanel.edit_collimation"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 510 | <dd><p>Edit the selected collimation</p> |
---|
| 511 | </dd></dl> |
---|
| 512 | |
---|
| 513 | <dl class="method"> |
---|
| 514 | <dt id="sas.perspectives.calculator.data_editor.DataEditorPanel.edit_detector"> |
---|
| 515 | <tt class="descname">edit_detector</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/data_editor.html#DataEditorPanel.edit_detector"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 516 | <dd><p>Edit the selected detector</p> |
---|
| 517 | </dd></dl> |
---|
| 518 | |
---|
| 519 | <dl class="method"> |
---|
| 520 | <dt id="sas.perspectives.calculator.data_editor.DataEditorPanel.edit_sample"> |
---|
| 521 | <tt class="descname">edit_sample</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/data_editor.html#DataEditorPanel.edit_sample"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 522 | <dd><p>Open the dialog to edit the sample of the current data</p> |
---|
| 523 | </dd></dl> |
---|
| 524 | |
---|
| 525 | <dl class="method"> |
---|
| 526 | <dt id="sas.perspectives.calculator.data_editor.DataEditorPanel.edit_source"> |
---|
| 527 | <tt class="descname">edit_source</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/data_editor.html#DataEditorPanel.edit_source"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 528 | <dd><p>Open the dialog to edit the saource of the current data</p> |
---|
| 529 | </dd></dl> |
---|
| 530 | |
---|
| 531 | <dl class="method"> |
---|
| 532 | <dt id="sas.perspectives.calculator.data_editor.DataEditorPanel.enable_data_cbox"> |
---|
| 533 | <tt class="descname">enable_data_cbox</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/data_editor.html#DataEditorPanel.enable_data_cbox"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 534 | <dd></dd></dl> |
---|
| 535 | |
---|
| 536 | <dl class="method"> |
---|
| 537 | <dt id="sas.perspectives.calculator.data_editor.DataEditorPanel.fill_data_combox"> |
---|
| 538 | <tt class="descname">fill_data_combox</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/data_editor.html#DataEditorPanel.fill_data_combox"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 539 | <dd><p>fill the current combobox with the available data</p> |
---|
| 540 | </dd></dl> |
---|
| 541 | |
---|
| 542 | <dl class="method"> |
---|
| 543 | <dt id="sas.perspectives.calculator.data_editor.DataEditorPanel.get_current_data"> |
---|
| 544 | <tt class="descname">get_current_data</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/data_editor.html#DataEditorPanel.get_current_data"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 545 | <dd></dd></dl> |
---|
| 546 | |
---|
| 547 | <dl class="method"> |
---|
| 548 | <dt id="sas.perspectives.calculator.data_editor.DataEditorPanel.get_data"> |
---|
| 549 | <tt class="descname">get_data</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/data_editor.html#DataEditorPanel.get_data"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 550 | <dd><p>return the current data</p> |
---|
| 551 | </dd></dl> |
---|
| 552 | |
---|
| 553 | <dl class="method"> |
---|
| 554 | <dt id="sas.perspectives.calculator.data_editor.DataEditorPanel.get_notes"> |
---|
| 555 | <tt class="descname">get_notes</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/data_editor.html#DataEditorPanel.get_notes"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 556 | <dd><p>return notes</p> |
---|
| 557 | </dd></dl> |
---|
| 558 | |
---|
| 559 | <dl class="method"> |
---|
| 560 | <dt id="sas.perspectives.calculator.data_editor.DataEditorPanel.on_change_run"> |
---|
| 561 | <tt class="descname">on_change_run</tt><big>(</big><em>event=None</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/data_editor.html#DataEditorPanel.on_change_run"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 562 | <dd><p>Change run</p> |
---|
| 563 | </dd></dl> |
---|
| 564 | |
---|
| 565 | <dl class="method"> |
---|
| 566 | <dt id="sas.perspectives.calculator.data_editor.DataEditorPanel.on_change_title"> |
---|
| 567 | <tt class="descname">on_change_title</tt><big>(</big><em>event=None</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/data_editor.html#DataEditorPanel.on_change_title"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 568 | <dd><p>Change title</p> |
---|
| 569 | </dd></dl> |
---|
| 570 | |
---|
| 571 | <dl class="method"> |
---|
| 572 | <dt id="sas.perspectives.calculator.data_editor.DataEditorPanel.on_click_apply"> |
---|
| 573 | <tt class="descname">on_click_apply</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/data_editor.html#DataEditorPanel.on_click_apply"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 574 | <dd><p>changes are saved in data object imported to edit</p> |
---|
| 575 | </dd></dl> |
---|
| 576 | |
---|
| 577 | <dl class="method"> |
---|
| 578 | <dt id="sas.perspectives.calculator.data_editor.DataEditorPanel.on_click_browse"> |
---|
| 579 | <tt class="descname">on_click_browse</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/data_editor.html#DataEditorPanel.on_click_browse"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 580 | <dd><p>Open a file dialog to allow the user to select a given file. |
---|
| 581 | Display the loaded data if available.</p> |
---|
| 582 | </dd></dl> |
---|
| 583 | |
---|
| 584 | <dl class="method"> |
---|
| 585 | <dt id="sas.perspectives.calculator.data_editor.DataEditorPanel.on_click_reset"> |
---|
| 586 | <tt class="descname">on_click_reset</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/data_editor.html#DataEditorPanel.on_click_reset"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 587 | <dd></dd></dl> |
---|
| 588 | |
---|
| 589 | <dl class="method"> |
---|
| 590 | <dt id="sas.perspectives.calculator.data_editor.DataEditorPanel.on_click_save"> |
---|
| 591 | <tt class="descname">on_click_save</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/data_editor.html#DataEditorPanel.on_click_save"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 592 | <dd><p>Save change into a file</p> |
---|
| 593 | </dd></dl> |
---|
| 594 | |
---|
| 595 | <dl class="method"> |
---|
| 596 | <dt id="sas.perspectives.calculator.data_editor.DataEditorPanel.on_click_view"> |
---|
| 597 | <tt class="descname">on_click_view</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/data_editor.html#DataEditorPanel.on_click_view"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 598 | <dd><p>Display data info</p> |
---|
| 599 | </dd></dl> |
---|
| 600 | |
---|
| 601 | <dl class="method"> |
---|
| 602 | <dt id="sas.perspectives.calculator.data_editor.DataEditorPanel.on_close"> |
---|
| 603 | <tt class="descname">on_close</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/data_editor.html#DataEditorPanel.on_close"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 604 | <dd><p>leave data as it is and close</p> |
---|
| 605 | </dd></dl> |
---|
| 606 | |
---|
| 607 | <dl class="method"> |
---|
| 608 | <dt id="sas.perspectives.calculator.data_editor.DataEditorPanel.on_edit"> |
---|
| 609 | <tt class="descname">on_edit</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/data_editor.html#DataEditorPanel.on_edit"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 610 | <dd></dd></dl> |
---|
| 611 | |
---|
| 612 | <dl class="method"> |
---|
| 613 | <dt id="sas.perspectives.calculator.data_editor.DataEditorPanel.on_select_data"> |
---|
| 614 | <tt class="descname">on_select_data</tt><big>(</big><em>event=None</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/data_editor.html#DataEditorPanel.on_select_data"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 615 | <dd></dd></dl> |
---|
| 616 | |
---|
| 617 | <dl class="method"> |
---|
| 618 | <dt id="sas.perspectives.calculator.data_editor.DataEditorPanel.reset_panel"> |
---|
| 619 | <tt class="descname">reset_panel</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/data_editor.html#DataEditorPanel.reset_panel"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 620 | <dd></dd></dl> |
---|
| 621 | |
---|
| 622 | <dl class="method"> |
---|
| 623 | <dt id="sas.perspectives.calculator.data_editor.DataEditorPanel.reset_radiobox"> |
---|
| 624 | <tt class="descname">reset_radiobox</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/data_editor.html#DataEditorPanel.reset_radiobox"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 625 | <dd></dd></dl> |
---|
| 626 | |
---|
| 627 | <dl class="method"> |
---|
| 628 | <dt id="sas.perspectives.calculator.data_editor.DataEditorPanel.set_collimation"> |
---|
| 629 | <tt class="descname">set_collimation</tt><big>(</big><em>collimation</em>, <em>notes=None</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/data_editor.html#DataEditorPanel.set_collimation"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 630 | <dd><p>set collimation for data</p> |
---|
| 631 | </dd></dl> |
---|
| 632 | |
---|
| 633 | <dl class="method"> |
---|
| 634 | <dt id="sas.perspectives.calculator.data_editor.DataEditorPanel.set_detector"> |
---|
| 635 | <tt class="descname">set_detector</tt><big>(</big><em>detector</em>, <em>notes=None</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/data_editor.html#DataEditorPanel.set_detector"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 636 | <dd><p>set detector for data</p> |
---|
| 637 | </dd></dl> |
---|
| 638 | |
---|
| 639 | <dl class="method"> |
---|
| 640 | <dt id="sas.perspectives.calculator.data_editor.DataEditorPanel.set_sample"> |
---|
| 641 | <tt class="descname">set_sample</tt><big>(</big><em>sample</em>, <em>notes=None</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/data_editor.html#DataEditorPanel.set_sample"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 642 | <dd><p>set sample for data</p> |
---|
| 643 | </dd></dl> |
---|
| 644 | |
---|
| 645 | <dl class="method"> |
---|
| 646 | <dt id="sas.perspectives.calculator.data_editor.DataEditorPanel.set_source"> |
---|
| 647 | <tt class="descname">set_source</tt><big>(</big><em>source</em>, <em>notes=None</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/data_editor.html#DataEditorPanel.set_source"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 648 | <dd><p>set source for data</p> |
---|
| 649 | </dd></dl> |
---|
| 650 | |
---|
| 651 | <dl class="method"> |
---|
| 652 | <dt id="sas.perspectives.calculator.data_editor.DataEditorPanel.set_values"> |
---|
| 653 | <tt class="descname">set_values</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/data_editor.html#DataEditorPanel.set_values"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 654 | <dd><p>take the aperture values of the current data and display them |
---|
| 655 | through the panel</p> |
---|
| 656 | </dd></dl> |
---|
| 657 | |
---|
| 658 | </dd></dl> |
---|
| 659 | |
---|
| 660 | <dl class="class"> |
---|
| 661 | <dt id="sas.perspectives.calculator.data_editor.DataEditorWindow"> |
---|
| 662 | <em class="property">class </em><tt class="descclassname">sas.perspectives.calculator.data_editor.</tt><tt class="descname">DataEditorWindow</tt><big>(</big><em>parent</em>, <em>manager</em>, <em>data=None</em>, <em>*args</em>, <em>**kwds</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/data_editor.html#DataEditorWindow"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 663 | <dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">wx._windows.Frame</span></tt></p> |
---|
| 664 | <dl class="method"> |
---|
| 665 | <dt id="sas.perspectives.calculator.data_editor.DataEditorWindow.get_data"> |
---|
| 666 | <tt class="descname">get_data</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/data_editor.html#DataEditorWindow.get_data"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 667 | <dd><p>return the current data</p> |
---|
| 668 | </dd></dl> |
---|
| 669 | |
---|
| 670 | </dd></dl> |
---|
| 671 | |
---|
| 672 | <dl class="function"> |
---|
| 673 | <dt id="sas.perspectives.calculator.data_editor.load_error"> |
---|
| 674 | <tt class="descclassname">sas.perspectives.calculator.data_editor.</tt><tt class="descname">load_error</tt><big>(</big><em>error=None</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/data_editor.html#load_error"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 675 | <dd><p>Pop up an error message.</p> |
---|
| 676 | <p>@param error: details error message to be displayed</p> |
---|
| 677 | </dd></dl> |
---|
| 678 | |
---|
| 679 | </div> |
---|
| 680 | <div class="section" id="module-sas.perspectives.calculator.data_operator"> |
---|
| 681 | <span id="sas-perspectives-calculator-data-operator-module"></span><h2>sas.perspectives.calculator.data_operator module</h2> |
---|
| 682 | <p>GUI for the data operation</p> |
---|
| 683 | <dl class="class"> |
---|
| 684 | <dt id="sas.perspectives.calculator.data_operator.DataOperPanel"> |
---|
| 685 | <em class="property">class </em><tt class="descclassname">sas.perspectives.calculator.data_operator.</tt><tt class="descname">DataOperPanel</tt><big>(</big><em>parent</em>, <em>*args</em>, <em>**kwds</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/data_operator.html#DataOperPanel"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 686 | <dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">wx._windows.ScrolledWindow</span></tt></p> |
---|
| 687 | <dl class="method"> |
---|
| 688 | <dt id="sas.perspectives.calculator.data_operator.DataOperPanel.check_data_inputs"> |
---|
| 689 | <tt class="descname">check_data_inputs</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/data_operator.html#DataOperPanel.check_data_inputs"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 690 | <dd><p>Check data1 and data2 whether or not they are ready for operation</p> |
---|
| 691 | </dd></dl> |
---|
| 692 | |
---|
| 693 | <dl class="method"> |
---|
| 694 | <dt id="sas.perspectives.calculator.data_operator.DataOperPanel.disconnect_panels"> |
---|
| 695 | <tt class="descname">disconnect_panels</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/data_operator.html#DataOperPanel.disconnect_panels"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 696 | <dd></dd></dl> |
---|
| 697 | |
---|
| 698 | <dl class="method"> |
---|
| 699 | <dt id="sas.perspectives.calculator.data_operator.DataOperPanel.draw_output"> |
---|
| 700 | <tt class="descname">draw_output</tt><big>(</big><em>output</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/data_operator.html#DataOperPanel.draw_output"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 701 | <dd><p>Draw output data(temp)</p> |
---|
| 702 | </dd></dl> |
---|
| 703 | |
---|
| 704 | <dl class="method"> |
---|
| 705 | <dt id="sas.perspectives.calculator.data_operator.DataOperPanel.fill_data_combox"> |
---|
| 706 | <tt class="descname">fill_data_combox</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/data_operator.html#DataOperPanel.fill_data_combox"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 707 | <dd><p>fill the current combobox with the available data</p> |
---|
| 708 | </dd></dl> |
---|
| 709 | |
---|
| 710 | <dl class="method"> |
---|
| 711 | <dt id="sas.perspectives.calculator.data_operator.DataOperPanel.fill_oprator_combox"> |
---|
| 712 | <tt class="descname">fill_oprator_combox</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/data_operator.html#DataOperPanel.fill_oprator_combox"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 713 | <dd><p>fill the current combobox with the operator</p> |
---|
| 714 | </dd></dl> |
---|
| 715 | |
---|
| 716 | <dl class="method"> |
---|
| 717 | <dt id="sas.perspectives.calculator.data_operator.DataOperPanel.get_datalist"> |
---|
| 718 | <tt class="descname">get_datalist</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/data_operator.html#DataOperPanel.get_datalist"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 719 | <dd></dd></dl> |
---|
| 720 | |
---|
| 721 | <dl class="method"> |
---|
| 722 | <dt id="sas.perspectives.calculator.data_operator.DataOperPanel.make_data_out"> |
---|
| 723 | <tt class="descname">make_data_out</tt><big>(</big><em>data1</em>, <em>data2</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/data_operator.html#DataOperPanel.make_data_out"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 724 | <dd><p>Make a temp. data output set</p> |
---|
| 725 | </dd></dl> |
---|
| 726 | |
---|
| 727 | <dl class="method"> |
---|
| 728 | <dt id="sas.perspectives.calculator.data_operator.DataOperPanel.on_click_apply"> |
---|
| 729 | <tt class="descname">on_click_apply</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/data_operator.html#DataOperPanel.on_click_apply"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 730 | <dd><p>changes are saved in data object imported to edit</p> |
---|
| 731 | </dd></dl> |
---|
| 732 | |
---|
| 733 | <dl class="method"> |
---|
| 734 | <dt id="sas.perspectives.calculator.data_operator.DataOperPanel.on_close"> |
---|
| 735 | <tt class="descname">on_close</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/data_operator.html#DataOperPanel.on_close"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 736 | <dd><p>leave data as it is and close</p> |
---|
| 737 | </dd></dl> |
---|
| 738 | |
---|
| 739 | <dl class="method"> |
---|
| 740 | <dt id="sas.perspectives.calculator.data_operator.DataOperPanel.on_name"> |
---|
| 741 | <tt class="descname">on_name</tt><big>(</big><em>event=None</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/data_operator.html#DataOperPanel.on_name"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 742 | <dd><p>On data name typing</p> |
---|
| 743 | </dd></dl> |
---|
| 744 | |
---|
| 745 | <dl class="method"> |
---|
| 746 | <dt id="sas.perspectives.calculator.data_operator.DataOperPanel.on_number"> |
---|
| 747 | <tt class="descname">on_number</tt><big>(</big><em>event=None</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/data_operator.html#DataOperPanel.on_number"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 748 | <dd><p>On selecting Number for Data2</p> |
---|
| 749 | </dd></dl> |
---|
| 750 | |
---|
| 751 | <dl class="method"> |
---|
| 752 | <dt id="sas.perspectives.calculator.data_operator.DataOperPanel.on_select_data1"> |
---|
| 753 | <tt class="descname">on_select_data1</tt><big>(</big><em>event=None</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/data_operator.html#DataOperPanel.on_select_data1"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 754 | <dd><p>On select data1</p> |
---|
| 755 | </dd></dl> |
---|
| 756 | |
---|
| 757 | <dl class="method"> |
---|
| 758 | <dt id="sas.perspectives.calculator.data_operator.DataOperPanel.on_select_data2"> |
---|
| 759 | <tt class="descname">on_select_data2</tt><big>(</big><em>event=None</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/data_operator.html#DataOperPanel.on_select_data2"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 760 | <dd><p>On Selecting Data2</p> |
---|
| 761 | </dd></dl> |
---|
| 762 | |
---|
| 763 | <dl class="method"> |
---|
| 764 | <dt id="sas.perspectives.calculator.data_operator.DataOperPanel.on_select_operator"> |
---|
| 765 | <tt class="descname">on_select_operator</tt><big>(</big><em>event=None</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/data_operator.html#DataOperPanel.on_select_operator"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 766 | <dd><p>On Select an Operator</p> |
---|
| 767 | </dd></dl> |
---|
| 768 | |
---|
| 769 | <dl class="method"> |
---|
| 770 | <dt id="sas.perspectives.calculator.data_operator.DataOperPanel.put_text_pic"> |
---|
| 771 | <tt class="descname">put_text_pic</tt><big>(</big><em>pic=None</em>, <em>content=''</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/data_operator.html#DataOperPanel.put_text_pic"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 772 | <dd><p>Put text to the pic</p> |
---|
| 773 | </dd></dl> |
---|
| 774 | |
---|
| 775 | <dl class="method"> |
---|
| 776 | <dt id="sas.perspectives.calculator.data_operator.DataOperPanel.send_warnings"> |
---|
| 777 | <tt class="descname">send_warnings</tt><big>(</big><em>msg=''</em>, <em>info='info'</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/data_operator.html#DataOperPanel.send_warnings"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 778 | <dd><p>Send warning to status bar</p> |
---|
| 779 | </dd></dl> |
---|
| 780 | |
---|
| 781 | <dl class="method"> |
---|
| 782 | <dt id="sas.perspectives.calculator.data_operator.DataOperPanel.set_panel_on_focus"> |
---|
| 783 | <tt class="descname">set_panel_on_focus</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/data_operator.html#DataOperPanel.set_panel_on_focus"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 784 | <dd><p>On Focus at this window</p> |
---|
| 785 | </dd></dl> |
---|
| 786 | |
---|
| 787 | <dl class="method"> |
---|
| 788 | <dt id="sas.perspectives.calculator.data_operator.DataOperPanel.set_plot_unfocus"> |
---|
| 789 | <tt class="descname">set_plot_unfocus</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/data_operator.html#DataOperPanel.set_plot_unfocus"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 790 | <dd><p>Unfocus on right click</p> |
---|
| 791 | </dd></dl> |
---|
| 792 | |
---|
| 793 | </dd></dl> |
---|
| 794 | |
---|
| 795 | <dl class="class"> |
---|
| 796 | <dt id="sas.perspectives.calculator.data_operator.DataOperatorWindow"> |
---|
| 797 | <em class="property">class </em><tt class="descclassname">sas.perspectives.calculator.data_operator.</tt><tt class="descname">DataOperatorWindow</tt><big>(</big><em>parent</em>, <em>manager</em>, <em>*args</em>, <em>**kwds</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/data_operator.html#DataOperatorWindow"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 798 | <dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">wx._windows.MDIChildFrame</span></tt></p> |
---|
| 799 | <dl class="method"> |
---|
| 800 | <dt id="sas.perspectives.calculator.data_operator.DataOperatorWindow.OnClose"> |
---|
| 801 | <tt class="descname">OnClose</tt><big>(</big><em>event=None</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/data_operator.html#DataOperatorWindow.OnClose"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 802 | <dd><p>On close event</p> |
---|
| 803 | </dd></dl> |
---|
| 804 | |
---|
| 805 | </dd></dl> |
---|
| 806 | |
---|
| 807 | <dl class="class"> |
---|
| 808 | <dt id="sas.perspectives.calculator.data_operator.SmallPanel"> |
---|
| 809 | <em class="property">class </em><tt class="descclassname">sas.perspectives.calculator.data_operator.</tt><tt class="descname">SmallPanel</tt><big>(</big><em>parent</em>, <em>id=-1</em>, <em>is_number=False</em>, <em>content='?'</em>, <em>**kwargs</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/data_operator.html#SmallPanel"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 810 | <dd><p>Bases: <a class="reference internal" href="sas.plottools.html#sas.plottools.PlotPanel.PlotPanel" title="sas.plottools.PlotPanel.PlotPanel"><tt class="xref py py-class docutils literal"><span class="pre">sas.plottools.PlotPanel.PlotPanel</span></tt></a></p> |
---|
| 811 | <p>PlotPanel for Quick plot and masking plot</p> |
---|
| 812 | <dl class="method"> |
---|
| 813 | <dt id="sas.perspectives.calculator.data_operator.SmallPanel.add_image"> |
---|
| 814 | <tt class="descname">add_image</tt><big>(</big><em>plot</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/data_operator.html#SmallPanel.add_image"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 815 | <dd><p>Add Image</p> |
---|
| 816 | </dd></dl> |
---|
| 817 | |
---|
| 818 | <dl class="method"> |
---|
| 819 | <dt id="sas.perspectives.calculator.data_operator.SmallPanel.add_text"> |
---|
| 820 | <tt class="descname">add_text</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/data_operator.html#SmallPanel.add_text"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 821 | <dd><p>Text in the plot</p> |
---|
| 822 | </dd></dl> |
---|
| 823 | |
---|
| 824 | <dl class="method"> |
---|
| 825 | <dt id="sas.perspectives.calculator.data_operator.SmallPanel.add_toolbar"> |
---|
| 826 | <tt class="descname">add_toolbar</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/data_operator.html#SmallPanel.add_toolbar"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 827 | <dd><p>Add toolbar</p> |
---|
| 828 | </dd></dl> |
---|
| 829 | |
---|
| 830 | <dl class="method"> |
---|
| 831 | <dt id="sas.perspectives.calculator.data_operator.SmallPanel.draw"> |
---|
| 832 | <tt class="descname">draw</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/data_operator.html#SmallPanel.draw"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 833 | <dd><p>Draw</p> |
---|
| 834 | </dd></dl> |
---|
| 835 | |
---|
| 836 | <dl class="method"> |
---|
| 837 | <dt id="sas.perspectives.calculator.data_operator.SmallPanel.erase_legend"> |
---|
| 838 | <tt class="descname">erase_legend</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/data_operator.html#SmallPanel.erase_legend"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 839 | <dd><p>Remove Legend</p> |
---|
| 840 | </dd></dl> |
---|
| 841 | |
---|
| 842 | <dl class="method"> |
---|
| 843 | <dt id="sas.perspectives.calculator.data_operator.SmallPanel.onContextMenu"> |
---|
| 844 | <tt class="descname">onContextMenu</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/data_operator.html#SmallPanel.onContextMenu"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 845 | <dd><p>Default context menu for a plot panel</p> |
---|
| 846 | </dd></dl> |
---|
| 847 | |
---|
| 848 | <dl class="method"> |
---|
| 849 | <dt id="sas.perspectives.calculator.data_operator.SmallPanel.onLeftDown"> |
---|
| 850 | <tt class="descname">onLeftDown</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/data_operator.html#SmallPanel.onLeftDown"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 851 | <dd><p>Disables LeftDown</p> |
---|
| 852 | </dd></dl> |
---|
| 853 | |
---|
| 854 | <dl class="method"> |
---|
| 855 | <dt id="sas.perspectives.calculator.data_operator.SmallPanel.onMouseMotion"> |
---|
| 856 | <tt class="descname">onMouseMotion</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/data_operator.html#SmallPanel.onMouseMotion"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 857 | <dd><p>Disable dragging 2D image</p> |
---|
| 858 | </dd></dl> |
---|
| 859 | |
---|
| 860 | <dl class="method"> |
---|
| 861 | <dt id="sas.perspectives.calculator.data_operator.SmallPanel.onPick"> |
---|
| 862 | <tt class="descname">onPick</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/data_operator.html#SmallPanel.onPick"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 863 | <dd><p>Remove Legend</p> |
---|
| 864 | </dd></dl> |
---|
| 865 | |
---|
| 866 | <dl class="method"> |
---|
| 867 | <dt id="sas.perspectives.calculator.data_operator.SmallPanel.onWheel"> |
---|
| 868 | <tt class="descname">onWheel</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/data_operator.html#SmallPanel.onWheel"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 869 | <dd></dd></dl> |
---|
| 870 | |
---|
| 871 | <dl class="method"> |
---|
| 872 | <dt id="sas.perspectives.calculator.data_operator.SmallPanel.on_set_focus"> |
---|
| 873 | <tt class="descname">on_set_focus</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/data_operator.html#SmallPanel.on_set_focus"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 874 | <dd><p>send to the parenet the current panel on focus</p> |
---|
| 875 | </dd></dl> |
---|
| 876 | |
---|
| 877 | <dl class="method"> |
---|
| 878 | <dt id="sas.perspectives.calculator.data_operator.SmallPanel.ontogglescale"> |
---|
| 879 | <tt class="descname">ontogglescale</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/data_operator.html#SmallPanel.ontogglescale"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 880 | <dd><p>On toggle 2d scale</p> |
---|
| 881 | </dd></dl> |
---|
| 882 | |
---|
| 883 | <dl class="method"> |
---|
| 884 | <dt id="sas.perspectives.calculator.data_operator.SmallPanel.set_content"> |
---|
| 885 | <tt class="descname">set_content</tt><big>(</big><em>content=''</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/data_operator.html#SmallPanel.set_content"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 886 | <dd><p>Set text content</p> |
---|
| 887 | </dd></dl> |
---|
| 888 | |
---|
| 889 | </dd></dl> |
---|
| 890 | |
---|
| 891 | </div> |
---|
| 892 | <div class="section" id="module-sas.perspectives.calculator.density_panel"> |
---|
| 893 | <span id="sas-perspectives-calculator-density-panel-module"></span><h2>sas.perspectives.calculator.density_panel module</h2> |
---|
| 894 | <p>This module provide GUI for the mass density calculator</p> |
---|
| 895 | <dl class="class"> |
---|
| 896 | <dt id="sas.perspectives.calculator.density_panel.DensityPanel"> |
---|
| 897 | <em class="property">class </em><tt class="descclassname">sas.perspectives.calculator.density_panel.</tt><tt class="descname">DensityPanel</tt><big>(</big><em>parent</em>, <em>base=None</em>, <em>*args</em>, <em>**kwds</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/density_panel.html#DensityPanel"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 898 | <dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">wx.lib.scrolledpanel.ScrolledPanel</span></tt>, <a class="reference internal" href="sas.guiframe.html#sas.guiframe.panel_base.PanelBase" title="sas.guiframe.panel_base.PanelBase"><tt class="xref py py-class docutils literal"><span class="pre">sas.guiframe.panel_base.PanelBase</span></tt></a></p> |
---|
| 899 | <p>Provides the mass density calculator GUI.</p> |
---|
| 900 | <dl class="attribute"> |
---|
| 901 | <dt id="sas.perspectives.calculator.density_panel.DensityPanel.CENTER_PANE"> |
---|
| 902 | <tt class="descname">CENTER_PANE</tt><em class="property"> = True</em></dt> |
---|
| 903 | <dd></dd></dl> |
---|
| 904 | |
---|
| 905 | <dl class="method"> |
---|
| 906 | <dt id="sas.perspectives.calculator.density_panel.DensityPanel.calculate"> |
---|
| 907 | <tt class="descname">calculate</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/density_panel.html#DensityPanel.calculate"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 908 | <dd><p>Calculate the mass Density/molar Volume of the molecules</p> |
---|
| 909 | </dd></dl> |
---|
| 910 | |
---|
| 911 | <dl class="method"> |
---|
| 912 | <dt id="sas.perspectives.calculator.density_panel.DensityPanel.check_inputs"> |
---|
| 913 | <tt class="descname">check_inputs</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/density_panel.html#DensityPanel.check_inputs"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 914 | <dd><p>Check validity user inputs</p> |
---|
| 915 | </dd></dl> |
---|
| 916 | |
---|
| 917 | <dl class="method"> |
---|
| 918 | <dt id="sas.perspectives.calculator.density_panel.DensityPanel.clear_outputs"> |
---|
| 919 | <tt class="descname">clear_outputs</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/density_panel.html#DensityPanel.clear_outputs"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 920 | <dd><p>Clear the outputs textctrl</p> |
---|
| 921 | </dd></dl> |
---|
| 922 | |
---|
| 923 | <dl class="method"> |
---|
| 924 | <dt id="sas.perspectives.calculator.density_panel.DensityPanel.get_input"> |
---|
| 925 | <tt class="descname">get_input</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/density_panel.html#DensityPanel.get_input"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 926 | <dd><p>Return the current input and output combobox values</p> |
---|
| 927 | </dd></dl> |
---|
| 928 | |
---|
| 929 | <dl class="method"> |
---|
| 930 | <dt id="sas.perspectives.calculator.density_panel.DensityPanel.on_select_input"> |
---|
| 931 | <tt class="descname">on_select_input</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/density_panel.html#DensityPanel.on_select_input"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 932 | <dd><p>On selection of input combobox, |
---|
| 933 | update units and output combobox</p> |
---|
| 934 | </dd></dl> |
---|
| 935 | |
---|
| 936 | <dl class="method"> |
---|
| 937 | <dt id="sas.perspectives.calculator.density_panel.DensityPanel.on_select_output"> |
---|
| 938 | <tt class="descname">on_select_output</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/density_panel.html#DensityPanel.on_select_output"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 939 | <dd><p>On selection of output combobox, |
---|
| 940 | update units and input combobox</p> |
---|
| 941 | </dd></dl> |
---|
| 942 | |
---|
| 943 | <dl class="method"> |
---|
| 944 | <dt id="sas.perspectives.calculator.density_panel.DensityPanel.set_values"> |
---|
| 945 | <tt class="descname">set_values</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/density_panel.html#DensityPanel.set_values"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 946 | <dd><p>Sets units and combobox values</p> |
---|
| 947 | </dd></dl> |
---|
| 948 | |
---|
| 949 | <dl class="attribute"> |
---|
| 950 | <dt id="sas.perspectives.calculator.density_panel.DensityPanel.window_caption"> |
---|
| 951 | <tt class="descname">window_caption</tt><em class="property"> = 'Mass Density Calculator'</em></dt> |
---|
| 952 | <dd></dd></dl> |
---|
| 953 | |
---|
| 954 | <dl class="attribute"> |
---|
| 955 | <dt id="sas.perspectives.calculator.density_panel.DensityPanel.window_name"> |
---|
| 956 | <tt class="descname">window_name</tt><em class="property"> = 'Mass Density Calculator'</em></dt> |
---|
| 957 | <dd></dd></dl> |
---|
| 958 | |
---|
| 959 | </dd></dl> |
---|
| 960 | |
---|
| 961 | <dl class="class"> |
---|
| 962 | <dt id="sas.perspectives.calculator.density_panel.DensityWindow"> |
---|
| 963 | <em class="property">class </em><tt class="descclassname">sas.perspectives.calculator.density_panel.</tt><tt class="descname">DensityWindow</tt><big>(</big><em>parent=None</em>, <em>title='Density/Volume Calculator'</em>, <em>base=None</em>, <em>manager=None</em>, <em>size=(460</em>, <em>270.5882352941177)</em>, <em>*args</em>, <em>**kwds</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/density_panel.html#DensityWindow"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 964 | <dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">wx._windows.MDIChildFrame</span></tt></p> |
---|
| 965 | <dl class="method"> |
---|
| 966 | <dt id="sas.perspectives.calculator.density_panel.DensityWindow.on_close"> |
---|
| 967 | <tt class="descname">on_close</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/density_panel.html#DensityWindow.on_close"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 968 | <dd><p>On close event</p> |
---|
| 969 | </dd></dl> |
---|
| 970 | |
---|
| 971 | </dd></dl> |
---|
| 972 | |
---|
| 973 | <dl class="class"> |
---|
| 974 | <dt id="sas.perspectives.calculator.density_panel.ViewApp"> |
---|
| 975 | <em class="property">class </em><tt class="descclassname">sas.perspectives.calculator.density_panel.</tt><tt class="descname">ViewApp</tt><big>(</big><em>redirect=False</em>, <em>filename=None</em>, <em>useBestVisual=False</em>, <em>clearSigInt=True</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/density_panel.html#ViewApp"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 976 | <dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">wx._core.App</span></tt></p> |
---|
| 977 | <dl class="method"> |
---|
| 978 | <dt id="sas.perspectives.calculator.density_panel.ViewApp.OnInit"> |
---|
| 979 | <tt class="descname">OnInit</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/density_panel.html#ViewApp.OnInit"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 980 | <dd></dd></dl> |
---|
| 981 | |
---|
| 982 | </dd></dl> |
---|
| 983 | |
---|
| 984 | </div> |
---|
| 985 | <div class="section" id="module-sas.perspectives.calculator.detector_editor"> |
---|
| 986 | <span id="sas-perspectives-calculator-detector-editor-module"></span><h2>sas.perspectives.calculator.detector_editor module</h2> |
---|
| 987 | <dl class="class"> |
---|
| 988 | <dt id="sas.perspectives.calculator.detector_editor.DetectorDialog"> |
---|
| 989 | <em class="property">class </em><tt class="descclassname">sas.perspectives.calculator.detector_editor.</tt><tt class="descname">DetectorDialog</tt><big>(</big><em>parent=None</em>, <em>manager=None</em>, <em>detector=None</em>, <em>title='Detector Editor'</em>, <em>size=(550</em>, <em>480)</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/detector_editor.html#DetectorDialog"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 990 | <dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">wx._windows.Dialog</span></tt></p> |
---|
| 991 | <dl class="method"> |
---|
| 992 | <dt id="sas.perspectives.calculator.detector_editor.DetectorDialog.add_detector"> |
---|
| 993 | <tt class="descname">add_detector</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/detector_editor.html#DetectorDialog.add_detector"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 994 | <dd><p>Append empty detector to data’s list of detector</p> |
---|
| 995 | </dd></dl> |
---|
| 996 | |
---|
| 997 | <dl class="method"> |
---|
| 998 | <dt id="sas.perspectives.calculator.detector_editor.DetectorDialog.enable_detector"> |
---|
| 999 | <tt class="descname">enable_detector</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/detector_editor.html#DetectorDialog.enable_detector"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1000 | <dd><p>Enable /disable widgets crelated to detector</p> |
---|
| 1001 | </dd></dl> |
---|
| 1002 | |
---|
| 1003 | <dl class="method"> |
---|
| 1004 | <dt id="sas.perspectives.calculator.detector_editor.DetectorDialog.fill_detector_combox"> |
---|
| 1005 | <tt class="descname">fill_detector_combox</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/detector_editor.html#DetectorDialog.fill_detector_combox"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1006 | <dd><p>fill the current combobox with the available detector</p> |
---|
| 1007 | </dd></dl> |
---|
| 1008 | |
---|
| 1009 | <dl class="method"> |
---|
| 1010 | <dt id="sas.perspectives.calculator.detector_editor.DetectorDialog.get_current_detector"> |
---|
| 1011 | <tt class="descname">get_current_detector</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/detector_editor.html#DetectorDialog.get_current_detector"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1012 | <dd></dd></dl> |
---|
| 1013 | |
---|
| 1014 | <dl class="method"> |
---|
| 1015 | <dt id="sas.perspectives.calculator.detector_editor.DetectorDialog.get_detector"> |
---|
| 1016 | <tt class="descname">get_detector</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/detector_editor.html#DetectorDialog.get_detector"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1017 | <dd><p>return the current detector</p> |
---|
| 1018 | </dd></dl> |
---|
| 1019 | |
---|
| 1020 | <dl class="method"> |
---|
| 1021 | <dt id="sas.perspectives.calculator.detector_editor.DetectorDialog.get_notes"> |
---|
| 1022 | <tt class="descname">get_notes</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/detector_editor.html#DetectorDialog.get_notes"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1023 | <dd><p>return notes</p> |
---|
| 1024 | </dd></dl> |
---|
| 1025 | |
---|
| 1026 | <dl class="method"> |
---|
| 1027 | <dt id="sas.perspectives.calculator.detector_editor.DetectorDialog.on_change_beam_center"> |
---|
| 1028 | <tt class="descname">on_change_beam_center</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/detector_editor.html#DetectorDialog.on_change_beam_center"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1029 | <dd><p>Change the detector beam center</p> |
---|
| 1030 | </dd></dl> |
---|
| 1031 | |
---|
| 1032 | <dl class="method"> |
---|
| 1033 | <dt id="sas.perspectives.calculator.detector_editor.DetectorDialog.on_change_distance"> |
---|
| 1034 | <tt class="descname">on_change_distance</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/detector_editor.html#DetectorDialog.on_change_distance"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1035 | <dd><p>Change distance of the sample to the detector</p> |
---|
| 1036 | </dd></dl> |
---|
| 1037 | |
---|
| 1038 | <dl class="method"> |
---|
| 1039 | <dt id="sas.perspectives.calculator.detector_editor.DetectorDialog.on_change_instrument"> |
---|
| 1040 | <tt class="descname">on_change_instrument</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/detector_editor.html#DetectorDialog.on_change_instrument"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1041 | <dd><p>Change instrument</p> |
---|
| 1042 | </dd></dl> |
---|
| 1043 | |
---|
| 1044 | <dl class="method"> |
---|
| 1045 | <dt id="sas.perspectives.calculator.detector_editor.DetectorDialog.on_change_offset"> |
---|
| 1046 | <tt class="descname">on_change_offset</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/detector_editor.html#DetectorDialog.on_change_offset"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1047 | <dd><p>Change the detector offset</p> |
---|
| 1048 | </dd></dl> |
---|
| 1049 | |
---|
| 1050 | <dl class="method"> |
---|
| 1051 | <dt id="sas.perspectives.calculator.detector_editor.DetectorDialog.on_change_orientation"> |
---|
| 1052 | <tt class="descname">on_change_orientation</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/detector_editor.html#DetectorDialog.on_change_orientation"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1053 | <dd><p>Change the detector orientation</p> |
---|
| 1054 | </dd></dl> |
---|
| 1055 | |
---|
| 1056 | <dl class="method"> |
---|
| 1057 | <dt id="sas.perspectives.calculator.detector_editor.DetectorDialog.on_change_pixel_size"> |
---|
| 1058 | <tt class="descname">on_change_pixel_size</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/detector_editor.html#DetectorDialog.on_change_pixel_size"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1059 | <dd><p>Change the detector pixel size</p> |
---|
| 1060 | </dd></dl> |
---|
| 1061 | |
---|
| 1062 | <dl class="method"> |
---|
| 1063 | <dt id="sas.perspectives.calculator.detector_editor.DetectorDialog.on_change_slit_length"> |
---|
| 1064 | <tt class="descname">on_change_slit_length</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/detector_editor.html#DetectorDialog.on_change_slit_length"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1065 | <dd><p>Change slit length of the detector</p> |
---|
| 1066 | </dd></dl> |
---|
| 1067 | |
---|
| 1068 | <dl class="method"> |
---|
| 1069 | <dt id="sas.perspectives.calculator.detector_editor.DetectorDialog.on_click_apply"> |
---|
| 1070 | <tt class="descname">on_click_apply</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/detector_editor.html#DetectorDialog.on_click_apply"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1071 | <dd><p>Apply user values to the detector</p> |
---|
| 1072 | </dd></dl> |
---|
| 1073 | |
---|
| 1074 | <dl class="method"> |
---|
| 1075 | <dt id="sas.perspectives.calculator.detector_editor.DetectorDialog.on_click_cancel"> |
---|
| 1076 | <tt class="descname">on_click_cancel</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/detector_editor.html#DetectorDialog.on_click_cancel"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1077 | <dd><p>reset the current detector to its initial values</p> |
---|
| 1078 | </dd></dl> |
---|
| 1079 | |
---|
| 1080 | <dl class="method"> |
---|
| 1081 | <dt id="sas.perspectives.calculator.detector_editor.DetectorDialog.remove_detector"> |
---|
| 1082 | <tt class="descname">remove_detector</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/detector_editor.html#DetectorDialog.remove_detector"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1083 | <dd><p>Remove detector to data’s list of detector</p> |
---|
| 1084 | </dd></dl> |
---|
| 1085 | |
---|
| 1086 | <dl class="method"> |
---|
| 1087 | <dt id="sas.perspectives.calculator.detector_editor.DetectorDialog.reset_detector"> |
---|
| 1088 | <tt class="descname">reset_detector</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/detector_editor.html#DetectorDialog.reset_detector"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1089 | <dd><p>put the default value of the detector back to the current detector</p> |
---|
| 1090 | </dd></dl> |
---|
| 1091 | |
---|
| 1092 | <dl class="method"> |
---|
| 1093 | <dt id="sas.perspectives.calculator.detector_editor.DetectorDialog.reset_detector_combobox"> |
---|
| 1094 | <tt class="descname">reset_detector_combobox</tt><big>(</big><em>edited_detector</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/detector_editor.html#DetectorDialog.reset_detector_combobox"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1095 | <dd><p>take all edited editor and reset clientdata of detector combo box</p> |
---|
| 1096 | </dd></dl> |
---|
| 1097 | |
---|
| 1098 | <dl class="method"> |
---|
| 1099 | <dt id="sas.perspectives.calculator.detector_editor.DetectorDialog.set_detector"> |
---|
| 1100 | <tt class="descname">set_detector</tt><big>(</big><em>detector</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/detector_editor.html#DetectorDialog.set_detector"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1101 | <dd><p>set detector for data</p> |
---|
| 1102 | </dd></dl> |
---|
| 1103 | |
---|
| 1104 | <dl class="method"> |
---|
| 1105 | <dt id="sas.perspectives.calculator.detector_editor.DetectorDialog.set_manager"> |
---|
| 1106 | <tt class="descname">set_manager</tt><big>(</big><em>manager</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/detector_editor.html#DetectorDialog.set_manager"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1107 | <dd><p>Set manager of this window</p> |
---|
| 1108 | </dd></dl> |
---|
| 1109 | |
---|
| 1110 | <dl class="method"> |
---|
| 1111 | <dt id="sas.perspectives.calculator.detector_editor.DetectorDialog.set_values"> |
---|
| 1112 | <tt class="descname">set_values</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/detector_editor.html#DetectorDialog.set_values"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1113 | <dd><p>take the detector values of the current data and display them |
---|
| 1114 | through the panel</p> |
---|
| 1115 | </dd></dl> |
---|
| 1116 | |
---|
| 1117 | </dd></dl> |
---|
| 1118 | |
---|
| 1119 | </div> |
---|
| 1120 | <div class="section" id="module-sas.perspectives.calculator.gen_scatter_panel"> |
---|
| 1121 | <span id="sas-perspectives-calculator-gen-scatter-panel-module"></span><h2>sas.perspectives.calculator.gen_scatter_panel module</h2> |
---|
| 1122 | <p>Generic Scattering panel. |
---|
| 1123 | This module relies on guiframe manager.</p> |
---|
| 1124 | <dl class="class"> |
---|
| 1125 | <dt id="sas.perspectives.calculator.gen_scatter_panel.CalcGen"> |
---|
| 1126 | <em class="property">class </em><tt class="descclassname">sas.perspectives.calculator.gen_scatter_panel.</tt><tt class="descname">CalcGen</tt><big>(</big><em>id=-1</em>, <em>input=None</em>, <em>completefn=None</em>, <em>updatefn=None</em>, <em>yieldtime=0.01</em>, <em>worktime=0.01</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/gen_scatter_panel.html#CalcGen"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1127 | <dd><p>Bases: <a class="reference internal" href="sas.data_util.html#sas.data_util.calcthread.CalcThread" title="sas.data_util.calcthread.CalcThread"><tt class="xref py py-class docutils literal"><span class="pre">sas.data_util.calcthread.CalcThread</span></tt></a></p> |
---|
| 1128 | <p>Computation</p> |
---|
| 1129 | <dl class="method"> |
---|
| 1130 | <dt id="sas.perspectives.calculator.gen_scatter_panel.CalcGen.compute"> |
---|
| 1131 | <tt class="descname">compute</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/gen_scatter_panel.html#CalcGen.compute"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1132 | <dd><p>excuting computation</p> |
---|
| 1133 | </dd></dl> |
---|
| 1134 | |
---|
| 1135 | </dd></dl> |
---|
| 1136 | |
---|
| 1137 | <dl class="class"> |
---|
| 1138 | <dt id="sas.perspectives.calculator.gen_scatter_panel.OmfPanel"> |
---|
| 1139 | <em class="property">class </em><tt class="descclassname">sas.perspectives.calculator.gen_scatter_panel.</tt><tt class="descname">OmfPanel</tt><big>(</big><em>parent</em>, <em>*args</em>, <em>**kwds</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/gen_scatter_panel.html#OmfPanel"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1140 | <dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">wx.lib.scrolledpanel.ScrolledPanel</span></tt>, <a class="reference internal" href="sas.guiframe.html#sas.guiframe.panel_base.PanelBase" title="sas.guiframe.panel_base.PanelBase"><tt class="xref py py-class docutils literal"><span class="pre">sas.guiframe.panel_base.PanelBase</span></tt></a></p> |
---|
| 1141 | <p>Provides the sas gen calculator GUI.</p> |
---|
| 1142 | <dl class="attribute"> |
---|
| 1143 | <dt id="sas.perspectives.calculator.gen_scatter_panel.OmfPanel.CENTER_PANE"> |
---|
| 1144 | <tt class="descname">CENTER_PANE</tt><em class="property"> = False</em></dt> |
---|
| 1145 | <dd></dd></dl> |
---|
| 1146 | |
---|
| 1147 | <dl class="method"> |
---|
| 1148 | <dt id="sas.perspectives.calculator.gen_scatter_panel.OmfPanel.check_inputs"> |
---|
| 1149 | <tt class="descname">check_inputs</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/gen_scatter_panel.html#OmfPanel.check_inputs"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1150 | <dd><p>check if the inputs are valid</p> |
---|
| 1151 | </dd></dl> |
---|
| 1152 | |
---|
| 1153 | <dl class="method"> |
---|
| 1154 | <dt id="sas.perspectives.calculator.gen_scatter_panel.OmfPanel.display_npts"> |
---|
| 1155 | <tt class="descname">display_npts</tt><big>(</big><em>nop</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/gen_scatter_panel.html#OmfPanel.display_npts"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1156 | <dd><p>Displays Npts ctrl</p> |
---|
| 1157 | </dd></dl> |
---|
| 1158 | |
---|
| 1159 | <dl class="method"> |
---|
| 1160 | <dt id="sas.perspectives.calculator.gen_scatter_panel.OmfPanel.get_pix_volumes"> |
---|
| 1161 | <tt class="descname">get_pix_volumes</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/gen_scatter_panel.html#OmfPanel.get_pix_volumes"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1162 | <dd><p>Get the pixel volume</p> |
---|
| 1163 | </dd></dl> |
---|
| 1164 | |
---|
| 1165 | <dl class="method"> |
---|
| 1166 | <dt id="sas.perspectives.calculator.gen_scatter_panel.OmfPanel.get_sld_val"> |
---|
| 1167 | <tt class="descname">get_sld_val</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/gen_scatter_panel.html#OmfPanel.get_sld_val"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1168 | <dd><p>Set sld_n of slddata on sld input</p> |
---|
| 1169 | </dd></dl> |
---|
| 1170 | |
---|
| 1171 | <dl class="method"> |
---|
| 1172 | <dt id="sas.perspectives.calculator.gen_scatter_panel.OmfPanel.on_save"> |
---|
| 1173 | <tt class="descname">on_save</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/gen_scatter_panel.html#OmfPanel.on_save"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1174 | <dd><p>Close the window containing this panel</p> |
---|
| 1175 | </dd></dl> |
---|
| 1176 | |
---|
| 1177 | <dl class="method"> |
---|
| 1178 | <dt id="sas.perspectives.calculator.gen_scatter_panel.OmfPanel.on_sld_draw"> |
---|
| 1179 | <tt class="descname">on_sld_draw</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/gen_scatter_panel.html#OmfPanel.on_sld_draw"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1180 | <dd><p>Draw sld profile as scattered plot</p> |
---|
| 1181 | </dd></dl> |
---|
| 1182 | |
---|
| 1183 | <dl class="method"> |
---|
| 1184 | <dt id="sas.perspectives.calculator.gen_scatter_panel.OmfPanel.set_npts_from_slddata"> |
---|
| 1185 | <tt class="descname">set_npts_from_slddata</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/gen_scatter_panel.html#OmfPanel.set_npts_from_slddata"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1186 | <dd><p>Set total n. of points form the sld data</p> |
---|
| 1187 | </dd></dl> |
---|
| 1188 | |
---|
| 1189 | <dl class="method"> |
---|
| 1190 | <dt id="sas.perspectives.calculator.gen_scatter_panel.OmfPanel.set_sld_ctr"> |
---|
| 1191 | <tt class="descname">set_sld_ctr</tt><big>(</big><em>sld_data</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/gen_scatter_panel.html#OmfPanel.set_sld_ctr"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1192 | <dd><p>Set sld textctrls</p> |
---|
| 1193 | </dd></dl> |
---|
| 1194 | |
---|
| 1195 | <dl class="method"> |
---|
| 1196 | <dt id="sas.perspectives.calculator.gen_scatter_panel.OmfPanel.set_slddata"> |
---|
| 1197 | <tt class="descname">set_slddata</tt><big>(</big><em>slddata</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/gen_scatter_panel.html#OmfPanel.set_slddata"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1198 | <dd><p>Set sld data related items</p> |
---|
| 1199 | </dd></dl> |
---|
| 1200 | |
---|
| 1201 | <dl class="attribute"> |
---|
| 1202 | <dt id="sas.perspectives.calculator.gen_scatter_panel.OmfPanel.window_caption"> |
---|
| 1203 | <tt class="descname">window_caption</tt><em class="property"> = 'SLD Pixel Info '</em></dt> |
---|
| 1204 | <dd></dd></dl> |
---|
| 1205 | |
---|
| 1206 | <dl class="attribute"> |
---|
| 1207 | <dt id="sas.perspectives.calculator.gen_scatter_panel.OmfPanel.window_name"> |
---|
| 1208 | <tt class="descname">window_name</tt><em class="property"> = 'SLD Pixel Info'</em></dt> |
---|
| 1209 | <dd></dd></dl> |
---|
| 1210 | |
---|
| 1211 | </dd></dl> |
---|
| 1212 | |
---|
| 1213 | <dl class="class"> |
---|
| 1214 | <dt id="sas.perspectives.calculator.gen_scatter_panel.SasGenPanel"> |
---|
| 1215 | <em class="property">class </em><tt class="descclassname">sas.perspectives.calculator.gen_scatter_panel.</tt><tt class="descname">SasGenPanel</tt><big>(</big><em>parent</em>, <em>*args</em>, <em>**kwds</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/gen_scatter_panel.html#SasGenPanel"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1216 | <dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">wx.lib.scrolledpanel.ScrolledPanel</span></tt>, <a class="reference internal" href="sas.guiframe.html#sas.guiframe.panel_base.PanelBase" title="sas.guiframe.panel_base.PanelBase"><tt class="xref py py-class docutils literal"><span class="pre">sas.guiframe.panel_base.PanelBase</span></tt></a></p> |
---|
| 1217 | <p>Provides the sas gen calculator GUI.</p> |
---|
| 1218 | <dl class="attribute"> |
---|
| 1219 | <dt id="sas.perspectives.calculator.gen_scatter_panel.SasGenPanel.CENTER_PANE"> |
---|
| 1220 | <tt class="descname">CENTER_PANE</tt><em class="property"> = True</em></dt> |
---|
| 1221 | <dd></dd></dl> |
---|
| 1222 | |
---|
| 1223 | <dl class="method"> |
---|
| 1224 | <dt id="sas.perspectives.calculator.gen_scatter_panel.SasGenPanel.choose_data_file"> |
---|
| 1225 | <tt class="descname">choose_data_file</tt><big>(</big><em>location=None</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/gen_scatter_panel.html#SasGenPanel.choose_data_file"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1226 | <dd><p>Choosing a dtata file</p> |
---|
| 1227 | </dd></dl> |
---|
| 1228 | |
---|
| 1229 | <dl class="method"> |
---|
| 1230 | <dt id="sas.perspectives.calculator.gen_scatter_panel.SasGenPanel.complete"> |
---|
| 1231 | <tt class="descname">complete</tt><big>(</big><em>input</em>, <em>update=None</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/gen_scatter_panel.html#SasGenPanel.complete"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1232 | <dd><p>Gen compute complete function |
---|
| 1233 | :Param input: input list [qx_data, qy_data, i_out]</p> |
---|
| 1234 | </dd></dl> |
---|
| 1235 | |
---|
| 1236 | <dl class="method"> |
---|
| 1237 | <dt id="sas.perspectives.calculator.gen_scatter_panel.SasGenPanel.complete_loading"> |
---|
| 1238 | <tt class="descname">complete_loading</tt><big>(</big><em>data=None</em>, <em>filename=''</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/gen_scatter_panel.html#SasGenPanel.complete_loading"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1239 | <dd><p>Complete the loading</p> |
---|
| 1240 | </dd></dl> |
---|
| 1241 | |
---|
| 1242 | <dl class="method"> |
---|
| 1243 | <dt id="sas.perspectives.calculator.gen_scatter_panel.SasGenPanel.estimate_ctime"> |
---|
| 1244 | <tt class="descname">estimate_ctime</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/gen_scatter_panel.html#SasGenPanel.estimate_ctime"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1245 | <dd><p>Calculation time estimation</p> |
---|
| 1246 | </dd></dl> |
---|
| 1247 | |
---|
| 1248 | <dl class="method"> |
---|
| 1249 | <dt id="sas.perspectives.calculator.gen_scatter_panel.SasGenPanel.load_update"> |
---|
| 1250 | <tt class="descname">load_update</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/gen_scatter_panel.html#SasGenPanel.load_update"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1251 | <dd><p>print update on the status bar</p> |
---|
| 1252 | </dd></dl> |
---|
| 1253 | |
---|
| 1254 | <dl class="method"> |
---|
| 1255 | <dt id="sas.perspectives.calculator.gen_scatter_panel.SasGenPanel.on_compute"> |
---|
| 1256 | <tt class="descname">on_compute</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/gen_scatter_panel.html#SasGenPanel.on_compute"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1257 | <dd><p>Compute I(qx, qy)</p> |
---|
| 1258 | </dd></dl> |
---|
| 1259 | |
---|
| 1260 | <dl class="method"> |
---|
| 1261 | <dt id="sas.perspectives.calculator.gen_scatter_panel.SasGenPanel.on_load_data"> |
---|
| 1262 | <tt class="descname">on_load_data</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/gen_scatter_panel.html#SasGenPanel.on_load_data"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1263 | <dd><p>Open a file dialog to allow the user to select a given file. |
---|
| 1264 | The user is only allow to load file with extension .omf, .txt, .sld. |
---|
| 1265 | Display the slit size corresponding to the loaded data.</p> |
---|
| 1266 | </dd></dl> |
---|
| 1267 | |
---|
| 1268 | <dl class="method"> |
---|
| 1269 | <dt id="sas.perspectives.calculator.gen_scatter_panel.SasGenPanel.on_panel_close"> |
---|
| 1270 | <tt class="descname">on_panel_close</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/gen_scatter_panel.html#SasGenPanel.on_panel_close"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1271 | <dd><p>On Close SLD panel</p> |
---|
| 1272 | </dd></dl> |
---|
| 1273 | |
---|
| 1274 | <dl class="method"> |
---|
| 1275 | <dt id="sas.perspectives.calculator.gen_scatter_panel.SasGenPanel.set_est_time"> |
---|
| 1276 | <tt class="descname">set_est_time</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/gen_scatter_panel.html#SasGenPanel.set_est_time"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1277 | <dd><p>Set text for est. computation time</p> |
---|
| 1278 | </dd></dl> |
---|
| 1279 | |
---|
| 1280 | <dl class="method"> |
---|
| 1281 | <dt id="sas.perspectives.calculator.gen_scatter_panel.SasGenPanel.set_input_params"> |
---|
| 1282 | <tt class="descname">set_input_params</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/gen_scatter_panel.html#SasGenPanel.set_input_params"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1283 | <dd><p>Set model parameters</p> |
---|
| 1284 | </dd></dl> |
---|
| 1285 | |
---|
| 1286 | <dl class="method"> |
---|
| 1287 | <dt id="sas.perspectives.calculator.gen_scatter_panel.SasGenPanel.set_scale2d"> |
---|
| 1288 | <tt class="descname">set_scale2d</tt><big>(</big><em>scale</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/gen_scatter_panel.html#SasGenPanel.set_scale2d"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1289 | <dd><p>Set SLD plot scale</p> |
---|
| 1290 | </dd></dl> |
---|
| 1291 | |
---|
| 1292 | <dl class="method"> |
---|
| 1293 | <dt id="sas.perspectives.calculator.gen_scatter_panel.SasGenPanel.set_volume_ctl_val"> |
---|
| 1294 | <tt class="descname">set_volume_ctl_val</tt><big>(</big><em>val</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/gen_scatter_panel.html#SasGenPanel.set_volume_ctl_val"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1295 | <dd><p>Set volume txtctrl value</p> |
---|
| 1296 | </dd></dl> |
---|
| 1297 | |
---|
| 1298 | <dl class="method"> |
---|
| 1299 | <dt id="sas.perspectives.calculator.gen_scatter_panel.SasGenPanel.sld_draw"> |
---|
| 1300 | <tt class="descname">sld_draw</tt><big>(</big><em>event=None</em>, <em>has_arrow=True</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/gen_scatter_panel.html#SasGenPanel.sld_draw"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1301 | <dd><p>Draw 3D sld profile</p> |
---|
| 1302 | </dd></dl> |
---|
| 1303 | |
---|
| 1304 | <dl class="attribute"> |
---|
| 1305 | <dt id="sas.perspectives.calculator.gen_scatter_panel.SasGenPanel.window_caption"> |
---|
| 1306 | <tt class="descname">window_caption</tt><em class="property"> = 'Generic SAS '</em></dt> |
---|
| 1307 | <dd></dd></dl> |
---|
| 1308 | |
---|
| 1309 | <dl class="attribute"> |
---|
| 1310 | <dt id="sas.perspectives.calculator.gen_scatter_panel.SasGenPanel.window_name"> |
---|
| 1311 | <tt class="descname">window_name</tt><em class="property"> = 'Generic SAS Calculator'</em></dt> |
---|
| 1312 | <dd></dd></dl> |
---|
| 1313 | |
---|
| 1314 | </dd></dl> |
---|
| 1315 | |
---|
| 1316 | <dl class="class"> |
---|
| 1317 | <dt id="sas.perspectives.calculator.gen_scatter_panel.SasGenWindow"> |
---|
| 1318 | <em class="property">class </em><tt class="descclassname">sas.perspectives.calculator.gen_scatter_panel.</tt><tt class="descname">SasGenWindow</tt><big>(</big><em>parent=None</em>, <em>manager=None</em>, <em>title='Generic Scattering Calculator'</em>, <em>size=(806.0</em>, <em>610.5)</em>, <em>*args</em>, <em>**kwds</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/gen_scatter_panel.html#SasGenWindow"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1319 | <dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">wx._windows.MDIChildFrame</span></tt></p> |
---|
| 1320 | <p>GEN SAS main window</p> |
---|
| 1321 | <dl class="method"> |
---|
| 1322 | <dt id="sas.perspectives.calculator.gen_scatter_panel.SasGenWindow.build_panels"> |
---|
| 1323 | <tt class="descname">build_panels</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/gen_scatter_panel.html#SasGenWindow.build_panels"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1324 | <dd></dd></dl> |
---|
| 1325 | |
---|
| 1326 | <dl class="method"> |
---|
| 1327 | <dt id="sas.perspectives.calculator.gen_scatter_panel.SasGenWindow.check_omfpanel_inputs"> |
---|
| 1328 | <tt class="descname">check_omfpanel_inputs</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/gen_scatter_panel.html#SasGenWindow.check_omfpanel_inputs"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1329 | <dd><p>Check OMF panel inputs</p> |
---|
| 1330 | </dd></dl> |
---|
| 1331 | |
---|
| 1332 | <dl class="method"> |
---|
| 1333 | <dt id="sas.perspectives.calculator.gen_scatter_panel.SasGenWindow.draw_graph"> |
---|
| 1334 | <tt class="descname">draw_graph</tt><big>(</big><em>plot</em>, <em>title=''</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/gen_scatter_panel.html#SasGenWindow.draw_graph"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1335 | <dd></dd></dl> |
---|
| 1336 | |
---|
| 1337 | <dl class="method"> |
---|
| 1338 | <dt id="sas.perspectives.calculator.gen_scatter_panel.SasGenWindow.get_npix"> |
---|
| 1339 | <tt class="descname">get_npix</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/gen_scatter_panel.html#SasGenWindow.get_npix"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1340 | <dd><p>Get no. of pixels from omf panel</p> |
---|
| 1341 | </dd></dl> |
---|
| 1342 | |
---|
| 1343 | <dl class="method"> |
---|
| 1344 | <dt id="sas.perspectives.calculator.gen_scatter_panel.SasGenWindow.get_path"> |
---|
| 1345 | <tt class="descname">get_path</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/gen_scatter_panel.html#SasGenWindow.get_path"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1346 | <dd><p>File location</p> |
---|
| 1347 | </dd></dl> |
---|
| 1348 | |
---|
| 1349 | <dl class="method"> |
---|
| 1350 | <dt id="sas.perspectives.calculator.gen_scatter_panel.SasGenWindow.get_pix_volumes"> |
---|
| 1351 | <tt class="descname">get_pix_volumes</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/gen_scatter_panel.html#SasGenWindow.get_pix_volumes"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1352 | <dd><p>Get a pixel volume</p> |
---|
| 1353 | </dd></dl> |
---|
| 1354 | |
---|
| 1355 | <dl class="method"> |
---|
| 1356 | <dt id="sas.perspectives.calculator.gen_scatter_panel.SasGenWindow.get_sld_data"> |
---|
| 1357 | <tt class="descname">get_sld_data</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/gen_scatter_panel.html#SasGenWindow.get_sld_data"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1358 | <dd><p>Return slddata</p> |
---|
| 1359 | </dd></dl> |
---|
| 1360 | |
---|
| 1361 | <dl class="method"> |
---|
| 1362 | <dt id="sas.perspectives.calculator.gen_scatter_panel.SasGenWindow.get_sld_data_from_omf"> |
---|
| 1363 | <tt class="descname">get_sld_data_from_omf</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/gen_scatter_panel.html#SasGenWindow.get_sld_data_from_omf"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1364 | <dd></dd></dl> |
---|
| 1365 | |
---|
| 1366 | <dl class="method"> |
---|
| 1367 | <dt id="sas.perspectives.calculator.gen_scatter_panel.SasGenWindow.get_sld_from_omf"> |
---|
| 1368 | <tt class="descname">get_sld_from_omf</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/gen_scatter_panel.html#SasGenWindow.get_sld_from_omf"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1369 | <dd></dd></dl> |
---|
| 1370 | |
---|
| 1371 | <dl class="method"> |
---|
| 1372 | <dt id="sas.perspectives.calculator.gen_scatter_panel.SasGenWindow.on_close"> |
---|
| 1373 | <tt class="descname">on_close</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/gen_scatter_panel.html#SasGenWindow.on_close"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1374 | <dd><p>Close</p> |
---|
| 1375 | </dd></dl> |
---|
| 1376 | |
---|
| 1377 | <dl class="method"> |
---|
| 1378 | <dt id="sas.perspectives.calculator.gen_scatter_panel.SasGenWindow.on_help"> |
---|
| 1379 | <tt class="descname">on_help</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/gen_scatter_panel.html#SasGenWindow.on_help"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1380 | <dd><p>Gen scatter angle help panel</p> |
---|
| 1381 | </dd></dl> |
---|
| 1382 | |
---|
| 1383 | <dl class="method"> |
---|
| 1384 | <dt id="sas.perspectives.calculator.gen_scatter_panel.SasGenWindow.on_open_file"> |
---|
| 1385 | <tt class="descname">on_open_file</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/gen_scatter_panel.html#SasGenWindow.on_open_file"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1386 | <dd><p>On Open</p> |
---|
| 1387 | </dd></dl> |
---|
| 1388 | |
---|
| 1389 | <dl class="method"> |
---|
| 1390 | <dt id="sas.perspectives.calculator.gen_scatter_panel.SasGenWindow.on_panel_close"> |
---|
| 1391 | <tt class="descname">on_panel_close</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/gen_scatter_panel.html#SasGenWindow.on_panel_close"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1392 | <dd></dd></dl> |
---|
| 1393 | |
---|
| 1394 | <dl class="method"> |
---|
| 1395 | <dt id="sas.perspectives.calculator.gen_scatter_panel.SasGenWindow.on_save_file"> |
---|
| 1396 | <tt class="descname">on_save_file</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/gen_scatter_panel.html#SasGenWindow.on_save_file"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1397 | <dd><p>On Close</p> |
---|
| 1398 | </dd></dl> |
---|
| 1399 | |
---|
| 1400 | <dl class="method"> |
---|
| 1401 | <dt id="sas.perspectives.calculator.gen_scatter_panel.SasGenWindow.set_etime"> |
---|
| 1402 | <tt class="descname">set_etime</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/gen_scatter_panel.html#SasGenWindow.set_etime"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1403 | <dd><p>Sets est. computation time on panel</p> |
---|
| 1404 | </dd></dl> |
---|
| 1405 | |
---|
| 1406 | <dl class="method"> |
---|
| 1407 | <dt id="sas.perspectives.calculator.gen_scatter_panel.SasGenWindow.set_file_location"> |
---|
| 1408 | <tt class="descname">set_file_location</tt><big>(</big><em>path</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/gen_scatter_panel.html#SasGenWindow.set_file_location"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1409 | <dd><p>File location</p> |
---|
| 1410 | </dd></dl> |
---|
| 1411 | |
---|
| 1412 | <dl class="method"> |
---|
| 1413 | <dt id="sas.perspectives.calculator.gen_scatter_panel.SasGenWindow.set_main_panel_sld_data"> |
---|
| 1414 | <tt class="descname">set_main_panel_sld_data</tt><big>(</big><em>sld_data</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/gen_scatter_panel.html#SasGenWindow.set_main_panel_sld_data"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1415 | <dd></dd></dl> |
---|
| 1416 | |
---|
| 1417 | <dl class="method"> |
---|
| 1418 | <dt id="sas.perspectives.calculator.gen_scatter_panel.SasGenWindow.set_omfpanel_default_shap"> |
---|
| 1419 | <tt class="descname">set_omfpanel_default_shap</tt><big>(</big><em>shape</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/gen_scatter_panel.html#SasGenWindow.set_omfpanel_default_shap"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1420 | <dd><p>Set default_shape in omfpanel</p> |
---|
| 1421 | </dd></dl> |
---|
| 1422 | |
---|
| 1423 | <dl class="method"> |
---|
| 1424 | <dt id="sas.perspectives.calculator.gen_scatter_panel.SasGenWindow.set_omfpanel_npts"> |
---|
| 1425 | <tt class="descname">set_omfpanel_npts</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/gen_scatter_panel.html#SasGenWindow.set_omfpanel_npts"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1426 | <dd><p>Set Npts in omf panel</p> |
---|
| 1427 | </dd></dl> |
---|
| 1428 | |
---|
| 1429 | <dl class="method"> |
---|
| 1430 | <dt id="sas.perspectives.calculator.gen_scatter_panel.SasGenWindow.set_scale2d"> |
---|
| 1431 | <tt class="descname">set_scale2d</tt><big>(</big><em>scale</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/gen_scatter_panel.html#SasGenWindow.set_scale2d"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1432 | <dd></dd></dl> |
---|
| 1433 | |
---|
| 1434 | <dl class="method"> |
---|
| 1435 | <dt id="sas.perspectives.calculator.gen_scatter_panel.SasGenWindow.set_schedule_full_draw"> |
---|
| 1436 | <tt class="descname">set_schedule_full_draw</tt><big>(</big><em>panel=None</em>, <em>func='del'</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/gen_scatter_panel.html#SasGenWindow.set_schedule_full_draw"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1437 | <dd><p>Send full draw to gui frame</p> |
---|
| 1438 | </dd></dl> |
---|
| 1439 | |
---|
| 1440 | <dl class="method"> |
---|
| 1441 | <dt id="sas.perspectives.calculator.gen_scatter_panel.SasGenWindow.set_sld_data"> |
---|
| 1442 | <tt class="descname">set_sld_data</tt><big>(</big><em>data</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/gen_scatter_panel.html#SasGenWindow.set_sld_data"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1443 | <dd><p>Set omfdata</p> |
---|
| 1444 | </dd></dl> |
---|
| 1445 | |
---|
| 1446 | <dl class="method"> |
---|
| 1447 | <dt id="sas.perspectives.calculator.gen_scatter_panel.SasGenWindow.set_sld_n"> |
---|
| 1448 | <tt class="descname">set_sld_n</tt><big>(</big><em>sld</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/gen_scatter_panel.html#SasGenWindow.set_sld_n"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1449 | <dd></dd></dl> |
---|
| 1450 | |
---|
| 1451 | <dl class="method"> |
---|
| 1452 | <dt id="sas.perspectives.calculator.gen_scatter_panel.SasGenWindow.set_volume_ctr_val"> |
---|
| 1453 | <tt class="descname">set_volume_ctr_val</tt><big>(</big><em>val</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/gen_scatter_panel.html#SasGenWindow.set_volume_ctr_val"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1454 | <dd><p>Set volume txtctl value</p> |
---|
| 1455 | </dd></dl> |
---|
| 1456 | |
---|
| 1457 | <dl class="method"> |
---|
| 1458 | <dt id="sas.perspectives.calculator.gen_scatter_panel.SasGenWindow.sld_draw"> |
---|
| 1459 | <tt class="descname">sld_draw</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/gen_scatter_panel.html#SasGenWindow.sld_draw"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1460 | <dd><p>sld draw</p> |
---|
| 1461 | </dd></dl> |
---|
| 1462 | |
---|
| 1463 | </dd></dl> |
---|
| 1464 | |
---|
| 1465 | <dl class="function"> |
---|
| 1466 | <dt id="sas.perspectives.calculator.gen_scatter_panel.add_icon"> |
---|
| 1467 | <tt class="descclassname">sas.perspectives.calculator.gen_scatter_panel.</tt><tt class="descname">add_icon</tt><big>(</big><em>parent</em>, <em>frame</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/gen_scatter_panel.html#add_icon"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1468 | <dd><p>Add icon in the frame</p> |
---|
| 1469 | </dd></dl> |
---|
| 1470 | |
---|
| 1471 | </div> |
---|
| 1472 | <div class="section" id="module-sas.perspectives.calculator.help_panel"> |
---|
| 1473 | <span id="sas-perspectives-calculator-help-panel-module"></span><h2>sas.perspectives.calculator.help_panel module</h2> |
---|
| 1474 | <p>Help panel for calculator</p> |
---|
| 1475 | <dl class="class"> |
---|
| 1476 | <dt id="sas.perspectives.calculator.help_panel.HelpWindow"> |
---|
| 1477 | <em class="property">class </em><tt class="descclassname">sas.perspectives.calculator.help_panel.</tt><tt class="descname">HelpWindow</tt><big>(</big><em>parent</em>, <em>id=-1</em>, <em>title='Tool Help'</em>, <em>pageToOpen=None</em>, <em>size=(700</em>, <em>450)</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/help_panel.html#HelpWindow"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1478 | <dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">wx._windows.Frame</span></tt></p> |
---|
| 1479 | <dl class="method"> |
---|
| 1480 | <dt id="sas.perspectives.calculator.help_panel.HelpWindow.OnLinkClicked"> |
---|
| 1481 | <tt class="descname">OnLinkClicked</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/help_panel.html#HelpWindow.OnLinkClicked"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1482 | <dd><p>Function to diplay html page related to the hyperlinktext selected</p> |
---|
| 1483 | </dd></dl> |
---|
| 1484 | |
---|
| 1485 | </dd></dl> |
---|
| 1486 | |
---|
| 1487 | <dl class="class"> |
---|
| 1488 | <dt id="sas.perspectives.calculator.help_panel.ViewApp"> |
---|
| 1489 | <em class="property">class </em><tt class="descclassname">sas.perspectives.calculator.help_panel.</tt><tt class="descname">ViewApp</tt><big>(</big><em>redirect=False</em>, <em>filename=None</em>, <em>useBestVisual=False</em>, <em>clearSigInt=True</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/help_panel.html#ViewApp"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1490 | <dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">wx._core.App</span></tt></p> |
---|
| 1491 | <dl class="method"> |
---|
| 1492 | <dt id="sas.perspectives.calculator.help_panel.ViewApp.OnInit"> |
---|
| 1493 | <tt class="descname">OnInit</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/help_panel.html#ViewApp.OnInit"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1494 | <dd></dd></dl> |
---|
| 1495 | |
---|
| 1496 | </dd></dl> |
---|
| 1497 | |
---|
| 1498 | </div> |
---|
| 1499 | <div class="section" id="module-sas.perspectives.calculator.image_viewer"> |
---|
| 1500 | <span id="sas-perspectives-calculator-image-viewer-module"></span><h2>sas.perspectives.calculator.image_viewer module</h2> |
---|
| 1501 | <dl class="class"> |
---|
| 1502 | <dt id="sas.perspectives.calculator.image_viewer.ImageFrame"> |
---|
| 1503 | <em class="property">class </em><tt class="descclassname">sas.perspectives.calculator.image_viewer.</tt><tt class="descname">ImageFrame</tt><big>(</big><em>parent</em>, <em>id</em>, <em>title</em>, <em>image=None</em>, <em>scale='log_{10}'</em>, <em>size=wx.Size(550</em>, <em>470)</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/image_viewer.html#ImageFrame"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1504 | <dd><p>Bases: <a class="reference internal" href="sas.guiframe.local_perspectives.plotting.html#sas.guiframe.local_perspectives.plotting.SimplePlot.PlotFrame" title="sas.guiframe.local_perspectives.plotting.SimplePlot.PlotFrame"><tt class="xref py py-class docutils literal"><span class="pre">sas.guiframe.local_perspectives.plotting.SimplePlot.PlotFrame</span></tt></a></p> |
---|
| 1505 | <p>Frame for simple plot</p> |
---|
| 1506 | <dl class="method"> |
---|
| 1507 | <dt id="sas.perspectives.calculator.image_viewer.ImageFrame.on_help"> |
---|
| 1508 | <tt class="descname">on_help</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/image_viewer.html#ImageFrame.on_help"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1509 | <dd><p>Image Viewer help panel</p> |
---|
| 1510 | </dd></dl> |
---|
| 1511 | |
---|
| 1512 | <dl class="method"> |
---|
| 1513 | <dt id="sas.perspectives.calculator.image_viewer.ImageFrame.on_set_data"> |
---|
| 1514 | <tt class="descname">on_set_data</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/image_viewer.html#ImageFrame.on_set_data"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1515 | <dd><p>Rescale the x y range, make 2D data and send it to data explore</p> |
---|
| 1516 | </dd></dl> |
---|
| 1517 | |
---|
| 1518 | </dd></dl> |
---|
| 1519 | |
---|
| 1520 | <dl class="class"> |
---|
| 1521 | <dt id="sas.perspectives.calculator.image_viewer.ImageView"> |
---|
| 1522 | <em class="property">class </em><tt class="descclassname">sas.perspectives.calculator.image_viewer.</tt><tt class="descname">ImageView</tt><big>(</big><em>parent=None</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/image_viewer.html#ImageView"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1523 | <dd><p>Open a file dialog to allow the user to select a given file. |
---|
| 1524 | Display the loaded data if available.</p> |
---|
| 1525 | <dl class="method"> |
---|
| 1526 | <dt id="sas.perspectives.calculator.image_viewer.ImageView.choose_data_file"> |
---|
| 1527 | <tt class="descname">choose_data_file</tt><big>(</big><em>location=None</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/image_viewer.html#ImageView.choose_data_file"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1528 | <dd><p>Open a file dialog to allow loading a file</p> |
---|
| 1529 | </dd></dl> |
---|
| 1530 | |
---|
| 1531 | <dl class="method"> |
---|
| 1532 | <dt id="sas.perspectives.calculator.image_viewer.ImageView.load"> |
---|
| 1533 | <tt class="descname">load</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/image_viewer.html#ImageView.load"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1534 | <dd><p>load image files</p> |
---|
| 1535 | </dd></dl> |
---|
| 1536 | |
---|
| 1537 | </dd></dl> |
---|
| 1538 | |
---|
| 1539 | <dl class="class"> |
---|
| 1540 | <dt id="sas.perspectives.calculator.image_viewer.SetDialog"> |
---|
| 1541 | <em class="property">class </em><tt class="descclassname">sas.perspectives.calculator.image_viewer.</tt><tt class="descname">SetDialog</tt><big>(</big><em>parent</em>, <em>id=-1</em>, <em>title='Convert to Data'</em>, <em>image=None</em>, <em>size=(480</em>, <em>270)</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/image_viewer.html#SetDialog"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1542 | <dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">wx._windows.Dialog</span></tt></p> |
---|
| 1543 | <p>Dialog for Data Set</p> |
---|
| 1544 | <dl class="method"> |
---|
| 1545 | <dt id="sas.perspectives.calculator.image_viewer.SetDialog.OnClose"> |
---|
| 1546 | <tt class="descname">OnClose</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/image_viewer.html#SetDialog.OnClose"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1547 | <dd><p>Close event</p> |
---|
| 1548 | </dd></dl> |
---|
| 1549 | |
---|
| 1550 | <dl class="method"> |
---|
| 1551 | <dt id="sas.perspectives.calculator.image_viewer.SetDialog.convert_image"> |
---|
| 1552 | <tt class="descname">convert_image</tt><big>(</big><em>rgb</em>, <em>xmin</em>, <em>xmax</em>, <em>ymin</em>, <em>ymax</em>, <em>zscale</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/image_viewer.html#SetDialog.convert_image"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1553 | <dd><p>Convert image to data2D</p> |
---|
| 1554 | </dd></dl> |
---|
| 1555 | |
---|
| 1556 | <dl class="method"> |
---|
| 1557 | <dt id="sas.perspectives.calculator.image_viewer.SetDialog.on_set"> |
---|
| 1558 | <tt class="descname">on_set</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/image_viewer.html#SetDialog.on_set"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1559 | <dd><p>Set image as data</p> |
---|
| 1560 | </dd></dl> |
---|
| 1561 | |
---|
| 1562 | <dl class="method"> |
---|
| 1563 | <dt id="sas.perspectives.calculator.image_viewer.SetDialog.rgb2gray"> |
---|
| 1564 | <tt class="descname">rgb2gray</tt><big>(</big><em>rgb</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/image_viewer.html#SetDialog.rgb2gray"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1565 | <dd><p>RGB to Grey</p> |
---|
| 1566 | </dd></dl> |
---|
| 1567 | |
---|
| 1568 | </dd></dl> |
---|
| 1569 | |
---|
| 1570 | </div> |
---|
| 1571 | <div class="section" id="module-sas.perspectives.calculator.kiessig_calculator_panel"> |
---|
| 1572 | <span id="sas-perspectives-calculator-kiessig-calculator-panel-module"></span><h2>sas.perspectives.calculator.kiessig_calculator_panel module</h2> |
---|
| 1573 | <p>This software was developed by the University of Tennessee as part of the |
---|
| 1574 | Distributed Data Analysis of Neutron Scattering Experiments (DANSE) |
---|
| 1575 | project funded by the US National Science Foundation.</p> |
---|
| 1576 | <p>See the license text in license.txt</p> |
---|
| 1577 | <p>copyright 2008, 2009, University of Tennessee</p> |
---|
| 1578 | <dl class="class"> |
---|
| 1579 | <dt id="sas.perspectives.calculator.kiessig_calculator_panel.KiessigThicknessCalculatorPanel"> |
---|
| 1580 | <em class="property">class </em><tt class="descclassname">sas.perspectives.calculator.kiessig_calculator_panel.</tt><tt class="descname">KiessigThicknessCalculatorPanel</tt><big>(</big><em>parent</em>, <em>*args</em>, <em>**kwds</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/kiessig_calculator_panel.html#KiessigThicknessCalculatorPanel"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1581 | <dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">wx._windows.Panel</span></tt>, <a class="reference internal" href="sas.guiframe.html#sas.guiframe.panel_base.PanelBase" title="sas.guiframe.panel_base.PanelBase"><tt class="xref py py-class docutils literal"><span class="pre">sas.guiframe.panel_base.PanelBase</span></tt></a></p> |
---|
| 1582 | <p>Provides the Kiessig thickness calculator GUI.</p> |
---|
| 1583 | <dl class="attribute"> |
---|
| 1584 | <dt id="sas.perspectives.calculator.kiessig_calculator_panel.KiessigThicknessCalculatorPanel.CENTER_PANE"> |
---|
| 1585 | <tt class="descname">CENTER_PANE</tt><em class="property"> = True</em></dt> |
---|
| 1586 | <dd></dd></dl> |
---|
| 1587 | |
---|
| 1588 | <dl class="method"> |
---|
| 1589 | <dt id="sas.perspectives.calculator.kiessig_calculator_panel.KiessigThicknessCalculatorPanel.format_number"> |
---|
| 1590 | <tt class="descname">format_number</tt><big>(</big><em>value=None</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/kiessig_calculator_panel.html#KiessigThicknessCalculatorPanel.format_number"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1591 | <dd><p>Return a float in a standardized, human-readable formatted string</p> |
---|
| 1592 | </dd></dl> |
---|
| 1593 | |
---|
| 1594 | <dl class="method"> |
---|
| 1595 | <dt id="sas.perspectives.calculator.kiessig_calculator_panel.KiessigThicknessCalculatorPanel.on_close"> |
---|
| 1596 | <tt class="descname">on_close</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/kiessig_calculator_panel.html#KiessigThicknessCalculatorPanel.on_close"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1597 | <dd><p>close the window containing this panel</p> |
---|
| 1598 | </dd></dl> |
---|
| 1599 | |
---|
| 1600 | <dl class="method"> |
---|
| 1601 | <dt id="sas.perspectives.calculator.kiessig_calculator_panel.KiessigThicknessCalculatorPanel.on_compute"> |
---|
| 1602 | <tt class="descname">on_compute</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/kiessig_calculator_panel.html#KiessigThicknessCalculatorPanel.on_compute"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1603 | <dd><p>Execute the computation of thickness</p> |
---|
| 1604 | </dd></dl> |
---|
| 1605 | |
---|
| 1606 | <dl class="attribute"> |
---|
| 1607 | <dt id="sas.perspectives.calculator.kiessig_calculator_panel.KiessigThicknessCalculatorPanel.window_caption"> |
---|
| 1608 | <tt class="descname">window_caption</tt><em class="property"> = 'Kiessig Thickness Calculator'</em></dt> |
---|
| 1609 | <dd></dd></dl> |
---|
| 1610 | |
---|
| 1611 | <dl class="attribute"> |
---|
| 1612 | <dt id="sas.perspectives.calculator.kiessig_calculator_panel.KiessigThicknessCalculatorPanel.window_name"> |
---|
| 1613 | <tt class="descname">window_name</tt><em class="property"> = 'Kiessig Thickness Calculator'</em></dt> |
---|
| 1614 | <dd></dd></dl> |
---|
| 1615 | |
---|
| 1616 | </dd></dl> |
---|
| 1617 | |
---|
| 1618 | <dl class="class"> |
---|
| 1619 | <dt id="sas.perspectives.calculator.kiessig_calculator_panel.KiessigWindow"> |
---|
| 1620 | <em class="property">class </em><tt class="descclassname">sas.perspectives.calculator.kiessig_calculator_panel.</tt><tt class="descname">KiessigWindow</tt><big>(</big><em>parent=None</em>, <em>manager=None</em>, <em>title='Kiessig Thickness Calculator'</em>, <em>size=(560</em>, <em>230)</em>, <em>*args</em>, <em>**kwds</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/kiessig_calculator_panel.html#KiessigWindow"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1621 | <dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">wx._windows.MDIChildFrame</span></tt></p> |
---|
| 1622 | <dl class="method"> |
---|
| 1623 | <dt id="sas.perspectives.calculator.kiessig_calculator_panel.KiessigWindow.on_close"> |
---|
| 1624 | <tt class="descname">on_close</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/kiessig_calculator_panel.html#KiessigWindow.on_close"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1625 | <dd><p>Close event</p> |
---|
| 1626 | </dd></dl> |
---|
| 1627 | |
---|
| 1628 | </dd></dl> |
---|
| 1629 | |
---|
| 1630 | </div> |
---|
| 1631 | <div class="section" id="module-sas.perspectives.calculator.load_thread"> |
---|
| 1632 | <span id="sas-perspectives-calculator-load-thread-module"></span><h2>sas.perspectives.calculator.load_thread module</h2> |
---|
| 1633 | <p>Thread handler used to load data</p> |
---|
| 1634 | <dl class="class"> |
---|
| 1635 | <dt id="sas.perspectives.calculator.load_thread.DataReader"> |
---|
| 1636 | <em class="property">class </em><tt class="descclassname">sas.perspectives.calculator.load_thread.</tt><tt class="descname">DataReader</tt><big>(</big><em>path</em>, <em>completefn=None</em>, <em>updatefn=None</em>, <em>yieldtime=0.01</em>, <em>worktime=0.01</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/load_thread.html#DataReader"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1637 | <dd><p>Bases: <a class="reference internal" href="sas.data_util.html#sas.data_util.calcthread.CalcThread" title="sas.data_util.calcthread.CalcThread"><tt class="xref py py-class docutils literal"><span class="pre">sas.data_util.calcthread.CalcThread</span></tt></a></p> |
---|
| 1638 | <p>Load a data given a filename</p> |
---|
| 1639 | <dl class="method"> |
---|
| 1640 | <dt id="sas.perspectives.calculator.load_thread.DataReader.compute"> |
---|
| 1641 | <tt class="descname">compute</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/load_thread.html#DataReader.compute"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1642 | <dd><p>read some data</p> |
---|
| 1643 | </dd></dl> |
---|
| 1644 | |
---|
| 1645 | <dl class="method"> |
---|
| 1646 | <dt id="sas.perspectives.calculator.load_thread.DataReader.isquit"> |
---|
| 1647 | <tt class="descname">isquit</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/load_thread.html#DataReader.isquit"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1648 | <dd><p>@raise KeyboardInterrupt: when the thread is interrupted</p> |
---|
| 1649 | </dd></dl> |
---|
| 1650 | |
---|
| 1651 | </dd></dl> |
---|
| 1652 | |
---|
| 1653 | <dl class="class"> |
---|
| 1654 | <dt id="sas.perspectives.calculator.load_thread.GenReader"> |
---|
| 1655 | <em class="property">class </em><tt class="descclassname">sas.perspectives.calculator.load_thread.</tt><tt class="descname">GenReader</tt><big>(</big><em>path</em>, <em>loader</em>, <em>completefn=None</em>, <em>updatefn=None</em>, <em>yieldtime=0.01</em>, <em>worktime=0.01</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/load_thread.html#GenReader"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1656 | <dd><p>Bases: <a class="reference internal" href="sas.data_util.html#sas.data_util.calcthread.CalcThread" title="sas.data_util.calcthread.CalcThread"><tt class="xref py py-class docutils literal"><span class="pre">sas.data_util.calcthread.CalcThread</span></tt></a></p> |
---|
| 1657 | <p>Load a sld data given a filename</p> |
---|
| 1658 | <dl class="method"> |
---|
| 1659 | <dt id="sas.perspectives.calculator.load_thread.GenReader.compute"> |
---|
| 1660 | <tt class="descname">compute</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/load_thread.html#GenReader.compute"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1661 | <dd><p>read some data</p> |
---|
| 1662 | </dd></dl> |
---|
| 1663 | |
---|
| 1664 | <dl class="method"> |
---|
| 1665 | <dt id="sas.perspectives.calculator.load_thread.GenReader.isquit"> |
---|
| 1666 | <tt class="descname">isquit</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/load_thread.html#GenReader.isquit"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1667 | <dd><p>@raise KeyboardInterrupt: when the thread is interrupted</p> |
---|
| 1668 | </dd></dl> |
---|
| 1669 | |
---|
| 1670 | </dd></dl> |
---|
| 1671 | |
---|
| 1672 | </div> |
---|
| 1673 | <div class="section" id="module-sas.perspectives.calculator.model_editor"> |
---|
| 1674 | <span id="sas-perspectives-calculator-model-editor-module"></span><h2>sas.perspectives.calculator.model_editor module</h2> |
---|
| 1675 | <dl class="class"> |
---|
| 1676 | <dt id="sas.perspectives.calculator.model_editor.EditorPanel"> |
---|
| 1677 | <em class="property">class </em><tt class="descclassname">sas.perspectives.calculator.model_editor.</tt><tt class="descname">EditorPanel</tt><big>(</big><em>parent</em>, <em>base</em>, <em>path</em>, <em>title</em>, <em>*args</em>, <em>**kwds</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/model_editor.html#EditorPanel"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1678 | <dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">wx._windows.ScrolledWindow</span></tt></p> |
---|
| 1679 | <p>Custom model function editor</p> |
---|
| 1680 | <dl class="method"> |
---|
| 1681 | <dt id="sas.perspectives.calculator.model_editor.EditorPanel.check_name"> |
---|
| 1682 | <tt class="descname">check_name</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/model_editor.html#EditorPanel.check_name"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1683 | <dd><p>Check name if exist already</p> |
---|
| 1684 | </dd></dl> |
---|
| 1685 | |
---|
| 1686 | <dl class="method"> |
---|
| 1687 | <dt id="sas.perspectives.calculator.model_editor.EditorPanel.get_notes"> |
---|
| 1688 | <tt class="descname">get_notes</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/model_editor.html#EditorPanel.get_notes"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1689 | <dd><p>return notes</p> |
---|
| 1690 | </dd></dl> |
---|
| 1691 | |
---|
| 1692 | <dl class="method"> |
---|
| 1693 | <dt id="sas.perspectives.calculator.model_editor.EditorPanel.get_warning"> |
---|
| 1694 | <tt class="descname">get_warning</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/model_editor.html#EditorPanel.get_warning"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1695 | <dd><p>Get the warning msg</p> |
---|
| 1696 | </dd></dl> |
---|
| 1697 | |
---|
| 1698 | <dl class="method"> |
---|
| 1699 | <dt id="sas.perspectives.calculator.model_editor.EditorPanel.on_change_name"> |
---|
| 1700 | <tt class="descname">on_change_name</tt><big>(</big><em>event=None</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/model_editor.html#EditorPanel.on_change_name"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1701 | <dd><p>Change name</p> |
---|
| 1702 | </dd></dl> |
---|
| 1703 | |
---|
| 1704 | <dl class="method"> |
---|
| 1705 | <dt id="sas.perspectives.calculator.model_editor.EditorPanel.on_click_apply"> |
---|
| 1706 | <tt class="descname">on_click_apply</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/model_editor.html#EditorPanel.on_click_apply"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1707 | <dd><p>Changes are saved in data object imported to edit</p> |
---|
| 1708 | </dd></dl> |
---|
| 1709 | |
---|
| 1710 | <dl class="method"> |
---|
| 1711 | <dt id="sas.perspectives.calculator.model_editor.EditorPanel.on_close"> |
---|
| 1712 | <tt class="descname">on_close</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/model_editor.html#EditorPanel.on_close"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1713 | <dd><p>leave data as it is and close</p> |
---|
| 1714 | </dd></dl> |
---|
| 1715 | |
---|
| 1716 | <dl class="method"> |
---|
| 1717 | <dt id="sas.perspectives.calculator.model_editor.EditorPanel.on_over_cb"> |
---|
| 1718 | <tt class="descname">on_over_cb</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/model_editor.html#EditorPanel.on_over_cb"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1719 | <dd><p>Set overwrite name flag on cb event</p> |
---|
| 1720 | </dd></dl> |
---|
| 1721 | |
---|
| 1722 | <dl class="method"> |
---|
| 1723 | <dt id="sas.perspectives.calculator.model_editor.EditorPanel.set_function_helper"> |
---|
| 1724 | <tt class="descname">set_function_helper</tt><big>(</big><em>line</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/model_editor.html#EditorPanel.set_function_helper"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1725 | <dd><p>Get string in line to define the local params</p> |
---|
| 1726 | <table class="docutils field-list" frame="void" rules="none"> |
---|
| 1727 | <col class="field-name" /> |
---|
| 1728 | <col class="field-body" /> |
---|
| 1729 | <tbody valign="top"> |
---|
| 1730 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>line</strong> – one line of string got from the param_str</td> |
---|
| 1731 | </tr> |
---|
| 1732 | </tbody> |
---|
| 1733 | </table> |
---|
| 1734 | </dd></dl> |
---|
| 1735 | |
---|
| 1736 | <dl class="method"> |
---|
| 1737 | <dt id="sas.perspectives.calculator.model_editor.EditorPanel.set_param_helper"> |
---|
| 1738 | <tt class="descname">set_param_helper</tt><big>(</big><em>line</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/model_editor.html#EditorPanel.set_param_helper"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1739 | <dd><p>Get string in line to define the params dictionary</p> |
---|
| 1740 | <table class="docutils field-list" frame="void" rules="none"> |
---|
| 1741 | <col class="field-name" /> |
---|
| 1742 | <col class="field-body" /> |
---|
| 1743 | <tbody valign="top"> |
---|
| 1744 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>line</strong> – one line of string got from the param_str</td> |
---|
| 1745 | </tr> |
---|
| 1746 | </tbody> |
---|
| 1747 | </table> |
---|
| 1748 | </dd></dl> |
---|
| 1749 | |
---|
| 1750 | <dl class="method"> |
---|
| 1751 | <dt id="sas.perspectives.calculator.model_editor.EditorPanel.write_file"> |
---|
| 1752 | <tt class="descname">write_file</tt><big>(</big><em>fname</em>, <em>desc_str</em>, <em>param_str</em>, <em>func_str</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/model_editor.html#EditorPanel.write_file"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1753 | <dd><p>Write content in file</p> |
---|
| 1754 | <table class="docutils field-list" frame="void" rules="none"> |
---|
| 1755 | <col class="field-name" /> |
---|
| 1756 | <col class="field-body" /> |
---|
| 1757 | <tbody valign="top"> |
---|
| 1758 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple"> |
---|
| 1759 | <li><strong>fname</strong> – full file path</li> |
---|
| 1760 | <li><strong>desc_str</strong> – content of the description strings</li> |
---|
| 1761 | <li><strong>param_str</strong> – content of params; Strings</li> |
---|
| 1762 | <li><strong>func_str</strong> – content of func; Strings</li> |
---|
| 1763 | </ul> |
---|
| 1764 | </td> |
---|
| 1765 | </tr> |
---|
| 1766 | </tbody> |
---|
| 1767 | </table> |
---|
| 1768 | </dd></dl> |
---|
| 1769 | |
---|
| 1770 | </dd></dl> |
---|
| 1771 | |
---|
| 1772 | <dl class="class"> |
---|
| 1773 | <dt id="sas.perspectives.calculator.model_editor.EditorWindow"> |
---|
| 1774 | <em class="property">class </em><tt class="descclassname">sas.perspectives.calculator.model_editor.</tt><tt class="descname">EditorWindow</tt><big>(</big><em>parent</em>, <em>base</em>, <em>path</em>, <em>title</em>, <em>size=(800</em>, <em>735)</em>, <em>*args</em>, <em>**kwds</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/model_editor.html#EditorWindow"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1775 | <dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">wx._windows.Frame</span></tt></p> |
---|
| 1776 | <p>Editor Window</p> |
---|
| 1777 | <dl class="method"> |
---|
| 1778 | <dt id="sas.perspectives.calculator.model_editor.EditorWindow.OnClose"> |
---|
| 1779 | <tt class="descname">OnClose</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/model_editor.html#EditorWindow.OnClose"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1780 | <dd><p>On close event</p> |
---|
| 1781 | </dd></dl> |
---|
| 1782 | |
---|
| 1783 | </dd></dl> |
---|
| 1784 | |
---|
| 1785 | <dl class="class"> |
---|
| 1786 | <dt id="sas.perspectives.calculator.model_editor.TextDialog"> |
---|
| 1787 | <em class="property">class </em><tt class="descclassname">sas.perspectives.calculator.model_editor.</tt><tt class="descname">TextDialog</tt><big>(</big><em>parent=None</em>, <em>base=None</em>, <em>id=None</em>, <em>title=''</em>, <em>model_list=[]</em>, <em>plugin_dir=None</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/model_editor.html#TextDialog"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1788 | <dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">wx._windows.Dialog</span></tt></p> |
---|
| 1789 | <p>Dialog for easy custom sum models</p> |
---|
| 1790 | <dl class="method"> |
---|
| 1791 | <dt id="sas.perspectives.calculator.model_editor.TextDialog.check_name"> |
---|
| 1792 | <tt class="descname">check_name</tt><big>(</big><em>event=None</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/model_editor.html#TextDialog.check_name"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1793 | <dd><p>Check name if exist already</p> |
---|
| 1794 | </dd></dl> |
---|
| 1795 | |
---|
| 1796 | <dl class="method"> |
---|
| 1797 | <dt id="sas.perspectives.calculator.model_editor.TextDialog.compile_file"> |
---|
| 1798 | <tt class="descname">compile_file</tt><big>(</big><em>path</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/model_editor.html#TextDialog.compile_file"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1799 | <dd><p>Compile the file in the path</p> |
---|
| 1800 | </dd></dl> |
---|
| 1801 | |
---|
| 1802 | <dl class="method"> |
---|
| 1803 | <dt id="sas.perspectives.calculator.model_editor.TextDialog.delete_file"> |
---|
| 1804 | <tt class="descname">delete_file</tt><big>(</big><em>path</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/model_editor.html#TextDialog.delete_file"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1805 | <dd><p>Delete file in the path</p> |
---|
| 1806 | </dd></dl> |
---|
| 1807 | |
---|
| 1808 | <dl class="method"> |
---|
| 1809 | <dt id="sas.perspectives.calculator.model_editor.TextDialog.fill_oprator_combox"> |
---|
| 1810 | <tt class="descname">fill_oprator_combox</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/model_editor.html#TextDialog.fill_oprator_combox"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1811 | <dd><p>fill the current combobox with the operator</p> |
---|
| 1812 | </dd></dl> |
---|
| 1813 | |
---|
| 1814 | <dl class="method"> |
---|
| 1815 | <dt id="sas.perspectives.calculator.model_editor.TextDialog.getText"> |
---|
| 1816 | <tt class="descname">getText</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/model_editor.html#TextDialog.getText"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1817 | <dd><p>Returns model name string as list</p> |
---|
| 1818 | </dd></dl> |
---|
| 1819 | |
---|
| 1820 | <dl class="method"> |
---|
| 1821 | <dt id="sas.perspectives.calculator.model_editor.TextDialog.on_apply"> |
---|
| 1822 | <tt class="descname">on_apply</tt><big>(</big><em>path</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/model_editor.html#TextDialog.on_apply"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1823 | <dd><p>On Apply</p> |
---|
| 1824 | </dd></dl> |
---|
| 1825 | |
---|
| 1826 | <dl class="method"> |
---|
| 1827 | <dt id="sas.perspectives.calculator.model_editor.TextDialog.on_change_name"> |
---|
| 1828 | <tt class="descname">on_change_name</tt><big>(</big><em>event=None</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/model_editor.html#TextDialog.on_change_name"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1829 | <dd><p>Change name</p> |
---|
| 1830 | </dd></dl> |
---|
| 1831 | |
---|
| 1832 | <dl class="method"> |
---|
| 1833 | <dt id="sas.perspectives.calculator.model_editor.TextDialog.on_model1"> |
---|
| 1834 | <tt class="descname">on_model1</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/model_editor.html#TextDialog.on_model1"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1835 | <dd><p>Set model1</p> |
---|
| 1836 | </dd></dl> |
---|
| 1837 | |
---|
| 1838 | <dl class="method"> |
---|
| 1839 | <dt id="sas.perspectives.calculator.model_editor.TextDialog.on_model2"> |
---|
| 1840 | <tt class="descname">on_model2</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/model_editor.html#TextDialog.on_model2"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1841 | <dd><p>Set model2</p> |
---|
| 1842 | </dd></dl> |
---|
| 1843 | |
---|
| 1844 | <dl class="method"> |
---|
| 1845 | <dt id="sas.perspectives.calculator.model_editor.TextDialog.on_select_operator"> |
---|
| 1846 | <tt class="descname">on_select_operator</tt><big>(</big><em>event=None</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/model_editor.html#TextDialog.on_select_operator"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1847 | <dd><p>On Select an Operator</p> |
---|
| 1848 | </dd></dl> |
---|
| 1849 | |
---|
| 1850 | <dl class="method"> |
---|
| 1851 | <dt id="sas.perspectives.calculator.model_editor.TextDialog.update_cm_list"> |
---|
| 1852 | <tt class="descname">update_cm_list</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/model_editor.html#TextDialog.update_cm_list"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1853 | <dd><p>Update custom model list</p> |
---|
| 1854 | </dd></dl> |
---|
| 1855 | |
---|
| 1856 | <dl class="method"> |
---|
| 1857 | <dt id="sas.perspectives.calculator.model_editor.TextDialog.write_string"> |
---|
| 1858 | <tt class="descname">write_string</tt><big>(</big><em>fname</em>, <em>name1</em>, <em>name2</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/model_editor.html#TextDialog.write_string"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1859 | <dd><p>Write and Save file</p> |
---|
| 1860 | </dd></dl> |
---|
| 1861 | |
---|
| 1862 | </dd></dl> |
---|
| 1863 | |
---|
| 1864 | </div> |
---|
| 1865 | <div class="section" id="module-sas.perspectives.calculator.pyconsole"> |
---|
| 1866 | <span id="sas-perspectives-calculator-pyconsole-module"></span><h2>sas.perspectives.calculator.pyconsole module</h2> |
---|
| 1867 | <p>Console Module display Python console</p> |
---|
| 1868 | <dl class="class"> |
---|
| 1869 | <dt id="sas.perspectives.calculator.pyconsole.PyConsole"> |
---|
| 1870 | <em class="property">class </em><tt class="descclassname">sas.perspectives.calculator.pyconsole.</tt><tt class="descname">PyConsole</tt><big>(</big><em>parent=None</em>, <em>base=None</em>, <em>manager=None</em>, <em>panel=None</em>, <em>title='Python Shell/Editor'</em>, <em>filename=None</em>, <em>size=(830</em>, <em>730)</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/pyconsole.html#PyConsole"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1871 | <dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">wx.py.editor.EditorNotebookFrame</span></tt></p> |
---|
| 1872 | <dl class="attribute"> |
---|
| 1873 | <dt id="sas.perspectives.calculator.pyconsole.PyConsole.CENTER_PANE"> |
---|
| 1874 | <tt class="descname">CENTER_PANE</tt><em class="property"> = False</em></dt> |
---|
| 1875 | <dd></dd></dl> |
---|
| 1876 | |
---|
| 1877 | <dl class="method"> |
---|
| 1878 | <dt id="sas.perspectives.calculator.pyconsole.PyConsole.OnAbout"> |
---|
| 1879 | <tt class="descname">OnAbout</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/pyconsole.html#PyConsole.OnAbout"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1880 | <dd><p>On About</p> |
---|
| 1881 | </dd></dl> |
---|
| 1882 | |
---|
| 1883 | <dl class="method"> |
---|
| 1884 | <dt id="sas.perspectives.calculator.pyconsole.PyConsole.OnCompile"> |
---|
| 1885 | <tt class="descname">OnCompile</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/pyconsole.html#PyConsole.OnCompile"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1886 | <dd><p>Compile</p> |
---|
| 1887 | </dd></dl> |
---|
| 1888 | |
---|
| 1889 | <dl class="method"> |
---|
| 1890 | <dt id="sas.perspectives.calculator.pyconsole.PyConsole.OnHelp"> |
---|
| 1891 | <tt class="descname">OnHelp</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/pyconsole.html#PyConsole.OnHelp"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1892 | <dd><p>Show a help dialog.</p> |
---|
| 1893 | </dd></dl> |
---|
| 1894 | |
---|
| 1895 | <dl class="method"> |
---|
| 1896 | <dt id="sas.perspectives.calculator.pyconsole.PyConsole.OnNewFile"> |
---|
| 1897 | <tt class="descname">OnNewFile</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/pyconsole.html#PyConsole.OnNewFile"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1898 | <dd><p>OnFileOpen</p> |
---|
| 1899 | </dd></dl> |
---|
| 1900 | |
---|
| 1901 | <dl class="method"> |
---|
| 1902 | <dt id="sas.perspectives.calculator.pyconsole.PyConsole.OnOpenFile"> |
---|
| 1903 | <tt class="descname">OnOpenFile</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/pyconsole.html#PyConsole.OnOpenFile"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1904 | <dd><p>OnFileOpen</p> |
---|
| 1905 | </dd></dl> |
---|
| 1906 | |
---|
| 1907 | <dl class="method"> |
---|
| 1908 | <dt id="sas.perspectives.calculator.pyconsole.PyConsole.OnRun"> |
---|
| 1909 | <tt class="descname">OnRun</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/pyconsole.html#PyConsole.OnRun"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1910 | <dd><p>Run</p> |
---|
| 1911 | </dd></dl> |
---|
| 1912 | |
---|
| 1913 | <dl class="method"> |
---|
| 1914 | <dt id="sas.perspectives.calculator.pyconsole.PyConsole.OnSaveAsFile"> |
---|
| 1915 | <tt class="descname">OnSaveAsFile</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/pyconsole.html#PyConsole.OnSaveAsFile"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1916 | <dd><p>OnFileSaveAs overwrite</p> |
---|
| 1917 | </dd></dl> |
---|
| 1918 | |
---|
| 1919 | <dl class="method"> |
---|
| 1920 | <dt id="sas.perspectives.calculator.pyconsole.PyConsole.OnSaveFile"> |
---|
| 1921 | <tt class="descname">OnSaveFile</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/pyconsole.html#PyConsole.OnSaveFile"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1922 | <dd><p>OnFileSave overwrite</p> |
---|
| 1923 | </dd></dl> |
---|
| 1924 | |
---|
| 1925 | <dl class="method"> |
---|
| 1926 | <dt id="sas.perspectives.calculator.pyconsole.PyConsole.OnUpdateCompileMenu"> |
---|
| 1927 | <tt class="descname">OnUpdateCompileMenu</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/pyconsole.html#PyConsole.OnUpdateCompileMenu"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1928 | <dd><p>Update Compile menu items based on current tap.</p> |
---|
| 1929 | </dd></dl> |
---|
| 1930 | |
---|
| 1931 | <dl class="method"> |
---|
| 1932 | <dt id="sas.perspectives.calculator.pyconsole.PyConsole.bufferOpen"> |
---|
| 1933 | <tt class="descname">bufferOpen</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/pyconsole.html#PyConsole.bufferOpen"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1934 | <dd><p>Open file in buffer, bypassing editor bufferOpen</p> |
---|
| 1935 | </dd></dl> |
---|
| 1936 | |
---|
| 1937 | <dl class="method"> |
---|
| 1938 | <dt id="sas.perspectives.calculator.pyconsole.PyConsole.bufferSaveAs"> |
---|
| 1939 | <tt class="descname">bufferSaveAs</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/pyconsole.html#PyConsole.bufferSaveAs"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1940 | <dd><p>Save buffer to a new filename: Bypassing editor bufferSaveAs</p> |
---|
| 1941 | </dd></dl> |
---|
| 1942 | |
---|
| 1943 | <dl class="method"> |
---|
| 1944 | <dt id="sas.perspectives.calculator.pyconsole.PyConsole.on_close"> |
---|
| 1945 | <tt class="descname">on_close</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/pyconsole.html#PyConsole.on_close"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1946 | <dd><p>Close event</p> |
---|
| 1947 | </dd></dl> |
---|
| 1948 | |
---|
| 1949 | <dl class="method"> |
---|
| 1950 | <dt id="sas.perspectives.calculator.pyconsole.PyConsole.set_manager"> |
---|
| 1951 | <tt class="descname">set_manager</tt><big>(</big><em>manager</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/pyconsole.html#PyConsole.set_manager"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1952 | <dd><p>Set the manager of this window</p> |
---|
| 1953 | </dd></dl> |
---|
| 1954 | |
---|
| 1955 | <dl class="attribute"> |
---|
| 1956 | <dt id="sas.perspectives.calculator.pyconsole.PyConsole.window_caption"> |
---|
| 1957 | <tt class="descname">window_caption</tt><em class="property"> = 'Custom Model Editor'</em></dt> |
---|
| 1958 | <dd></dd></dl> |
---|
| 1959 | |
---|
| 1960 | <dl class="attribute"> |
---|
| 1961 | <dt id="sas.perspectives.calculator.pyconsole.PyConsole.window_name"> |
---|
| 1962 | <tt class="descname">window_name</tt><em class="property"> = 'Custom Model Editor'</em></dt> |
---|
| 1963 | <dd></dd></dl> |
---|
| 1964 | |
---|
| 1965 | </dd></dl> |
---|
| 1966 | |
---|
| 1967 | <dl class="function"> |
---|
| 1968 | <dt id="sas.perspectives.calculator.pyconsole.compile_file"> |
---|
| 1969 | <tt class="descclassname">sas.perspectives.calculator.pyconsole.</tt><tt class="descname">compile_file</tt><big>(</big><em>path</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/pyconsole.html#compile_file"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1970 | <dd><p>Compile a python file</p> |
---|
| 1971 | </dd></dl> |
---|
| 1972 | |
---|
| 1973 | </div> |
---|
| 1974 | <div class="section" id="module-sas.perspectives.calculator.resolcal_thread"> |
---|
| 1975 | <span id="sas-perspectives-calculator-resolcal-thread-module"></span><h2>sas.perspectives.calculator.resolcal_thread module</h2> |
---|
| 1976 | <p>Thread for Resolution computation</p> |
---|
| 1977 | <dl class="class"> |
---|
| 1978 | <dt id="sas.perspectives.calculator.resolcal_thread.CalcRes"> |
---|
| 1979 | <em class="property">class </em><tt class="descclassname">sas.perspectives.calculator.resolcal_thread.</tt><tt class="descname">CalcRes</tt><big>(</big><em>id=-1</em>, <em>func=None</em>, <em>qx=None</em>, <em>qy=None</em>, <em>qx_min=None</em>, <em>qx_max=None</em>, <em>qy_min=None</em>, <em>qy_max=None</em>, <em>image=None</em>, <em>completefn=None</em>, <em>updatefn=None</em>, <em>elapsed=0</em>, <em>yieldtime=0.01</em>, <em>worktime=0.01</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/resolcal_thread.html#CalcRes"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1980 | <dd><p>Bases: <a class="reference internal" href="sas.data_util.html#sas.data_util.calcthread.CalcThread" title="sas.data_util.calcthread.CalcThread"><tt class="xref py py-class docutils literal"><span class="pre">sas.data_util.calcthread.CalcThread</span></tt></a></p> |
---|
| 1981 | <p>Compute Resolution</p> |
---|
| 1982 | <dl class="method"> |
---|
| 1983 | <dt id="sas.perspectives.calculator.resolcal_thread.CalcRes.compute"> |
---|
| 1984 | <tt class="descname">compute</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/resolcal_thread.html#CalcRes.compute"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 1985 | <dd><p>excuting computation</p> |
---|
| 1986 | </dd></dl> |
---|
| 1987 | |
---|
| 1988 | </dd></dl> |
---|
| 1989 | |
---|
| 1990 | </div> |
---|
| 1991 | <div class="section" id="module-sas.perspectives.calculator.resolution_calculator_panel"> |
---|
| 1992 | <span id="sas-perspectives-calculator-resolution-calculator-panel-module"></span><h2>sas.perspectives.calculator.resolution_calculator_panel module</h2> |
---|
| 1993 | <p>This software was developed by the University of Tennessee as part of the |
---|
| 1994 | Distributed Data Analysis of Neutron Scattering Experiments (DANSE) |
---|
| 1995 | project funded by the US National Science Foundation.</p> |
---|
| 1996 | <p>See the license text in license.txt</p> |
---|
| 1997 | <p>copyright 2008, 2009, 2010 University of Tennessee</p> |
---|
| 1998 | <dl class="class"> |
---|
| 1999 | <dt id="sas.perspectives.calculator.resolution_calculator_panel.ResolutionCalculatorPanel"> |
---|
| 2000 | <em class="property">class </em><tt class="descclassname">sas.perspectives.calculator.resolution_calculator_panel.</tt><tt class="descname">ResolutionCalculatorPanel</tt><big>(</big><em>parent</em>, <em>*args</em>, <em>**kwds</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/resolution_calculator_panel.html#ResolutionCalculatorPanel"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 2001 | <dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">wx.lib.scrolledpanel.ScrolledPanel</span></tt></p> |
---|
| 2002 | <p>Provides the Resolution calculator GUI.</p> |
---|
| 2003 | <dl class="attribute"> |
---|
| 2004 | <dt id="sas.perspectives.calculator.resolution_calculator_panel.ResolutionCalculatorPanel.CENTER_PANE"> |
---|
| 2005 | <tt class="descname">CENTER_PANE</tt><em class="property"> = True</em></dt> |
---|
| 2006 | <dd></dd></dl> |
---|
| 2007 | |
---|
| 2008 | <dl class="method"> |
---|
| 2009 | <dt id="sas.perspectives.calculator.resolution_calculator_panel.ResolutionCalculatorPanel.complete"> |
---|
| 2010 | <tt class="descname">complete</tt><big>(</big><em>image</em>, <em>elapsed=None</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/resolution_calculator_panel.html#ResolutionCalculatorPanel.complete"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 2011 | <dd><p>Callafter complete: wx call after needed for stable output</p> |
---|
| 2012 | </dd></dl> |
---|
| 2013 | |
---|
| 2014 | <dl class="method"> |
---|
| 2015 | <dt id="sas.perspectives.calculator.resolution_calculator_panel.ResolutionCalculatorPanel.complete_cal"> |
---|
| 2016 | <tt class="descname">complete_cal</tt><big>(</big><em>image</em>, <em>elapsed=None</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/resolution_calculator_panel.html#ResolutionCalculatorPanel.complete_cal"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 2017 | <dd><p>Complete computation</p> |
---|
| 2018 | </dd></dl> |
---|
| 2019 | |
---|
| 2020 | <dl class="method"> |
---|
| 2021 | <dt id="sas.perspectives.calculator.resolution_calculator_panel.ResolutionCalculatorPanel.format_number"> |
---|
| 2022 | <tt class="descname">format_number</tt><big>(</big><em>value=None</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/resolution_calculator_panel.html#ResolutionCalculatorPanel.format_number"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 2023 | <dd><p>Return a float in a standardized, human-readable formatted string</p> |
---|
| 2024 | </dd></dl> |
---|
| 2025 | |
---|
| 2026 | <dl class="method"> |
---|
| 2027 | <dt id="sas.perspectives.calculator.resolution_calculator_panel.ResolutionCalculatorPanel.on_close"> |
---|
| 2028 | <tt class="descname">on_close</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/resolution_calculator_panel.html#ResolutionCalculatorPanel.on_close"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 2029 | <dd><p>close the window containing this panel</p> |
---|
| 2030 | </dd></dl> |
---|
| 2031 | |
---|
| 2032 | <dl class="method"> |
---|
| 2033 | <dt id="sas.perspectives.calculator.resolution_calculator_panel.ResolutionCalculatorPanel.on_compute"> |
---|
| 2034 | <tt class="descname">on_compute</tt><big>(</big><em>event=None</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/resolution_calculator_panel.html#ResolutionCalculatorPanel.on_compute"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 2035 | <dd><p>Execute the computation of resolution</p> |
---|
| 2036 | </dd></dl> |
---|
| 2037 | |
---|
| 2038 | <dl class="method"> |
---|
| 2039 | <dt id="sas.perspectives.calculator.resolution_calculator_panel.ResolutionCalculatorPanel.on_compute_call"> |
---|
| 2040 | <tt class="descname">on_compute_call</tt><big>(</big><em>event=None</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/resolution_calculator_panel.html#ResolutionCalculatorPanel.on_compute_call"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 2041 | <dd><p>Execute the computation of resolution</p> |
---|
| 2042 | </dd></dl> |
---|
| 2043 | |
---|
| 2044 | <dl class="method"> |
---|
| 2045 | <dt id="sas.perspectives.calculator.resolution_calculator_panel.ResolutionCalculatorPanel.on_reset"> |
---|
| 2046 | <tt class="descname">on_reset</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/resolution_calculator_panel.html#ResolutionCalculatorPanel.on_reset"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 2047 | <dd><p>Execute the reset</p> |
---|
| 2048 | </dd></dl> |
---|
| 2049 | |
---|
| 2050 | <dl class="attribute"> |
---|
| 2051 | <dt id="sas.perspectives.calculator.resolution_calculator_panel.ResolutionCalculatorPanel.window_caption"> |
---|
| 2052 | <tt class="descname">window_caption</tt><em class="property"> = ''</em></dt> |
---|
| 2053 | <dd></dd></dl> |
---|
| 2054 | |
---|
| 2055 | <dl class="attribute"> |
---|
| 2056 | <dt id="sas.perspectives.calculator.resolution_calculator_panel.ResolutionCalculatorPanel.window_name"> |
---|
| 2057 | <tt class="descname">window_name</tt><em class="property"> = 'SAS Resolution Estimator'</em></dt> |
---|
| 2058 | <dd></dd></dl> |
---|
| 2059 | |
---|
| 2060 | </dd></dl> |
---|
| 2061 | |
---|
| 2062 | <dl class="class"> |
---|
| 2063 | <dt id="sas.perspectives.calculator.resolution_calculator_panel.ResolutionWindow"> |
---|
| 2064 | <em class="property">class </em><tt class="descclassname">sas.perspectives.calculator.resolution_calculator_panel.</tt><tt class="descname">ResolutionWindow</tt><big>(</big><em>parent=None</em>, <em>manager=None</em>, <em>title='SAS Resolution Estimator'</em>, <em>size=(1080</em>, <em>662)</em>, <em>*args</em>, <em>**kwds</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/resolution_calculator_panel.html#ResolutionWindow"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 2065 | <dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">wx._windows.MDIChildFrame</span></tt></p> |
---|
| 2066 | <p>Resolution Window</p> |
---|
| 2067 | <dl class="method"> |
---|
| 2068 | <dt id="sas.perspectives.calculator.resolution_calculator_panel.ResolutionWindow.OnClose"> |
---|
| 2069 | <tt class="descname">OnClose</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/resolution_calculator_panel.html#ResolutionWindow.OnClose"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 2070 | <dd><p>On close event</p> |
---|
| 2071 | </dd></dl> |
---|
| 2072 | |
---|
| 2073 | </dd></dl> |
---|
| 2074 | |
---|
| 2075 | </div> |
---|
| 2076 | <div class="section" id="module-sas.perspectives.calculator.sample_editor"> |
---|
| 2077 | <span id="sas-perspectives-calculator-sample-editor-module"></span><h2>sas.perspectives.calculator.sample_editor module</h2> |
---|
| 2078 | <dl class="class"> |
---|
| 2079 | <dt id="sas.perspectives.calculator.sample_editor.SampleDialog"> |
---|
| 2080 | <em class="property">class </em><tt class="descclassname">sas.perspectives.calculator.sample_editor.</tt><tt class="descname">SampleDialog</tt><big>(</big><em>parent=None</em>, <em>manager=None</em>, <em>sample=None</em>, <em>size=(550</em>, <em>430)</em>, <em>title='Sample Editor'</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/sample_editor.html#SampleDialog"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 2081 | <dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">wx._windows.Dialog</span></tt></p> |
---|
| 2082 | <dl class="method"> |
---|
| 2083 | <dt id="sas.perspectives.calculator.sample_editor.SampleDialog.get_notes"> |
---|
| 2084 | <tt class="descname">get_notes</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/sample_editor.html#SampleDialog.get_notes"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 2085 | <dd><p>return notes</p> |
---|
| 2086 | </dd></dl> |
---|
| 2087 | |
---|
| 2088 | <dl class="method"> |
---|
| 2089 | <dt id="sas.perspectives.calculator.sample_editor.SampleDialog.get_sample"> |
---|
| 2090 | <tt class="descname">get_sample</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/sample_editor.html#SampleDialog.get_sample"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 2091 | <dd><p>return the current sample</p> |
---|
| 2092 | </dd></dl> |
---|
| 2093 | |
---|
| 2094 | <dl class="method"> |
---|
| 2095 | <dt id="sas.perspectives.calculator.sample_editor.SampleDialog.on_change_details"> |
---|
| 2096 | <tt class="descname">on_change_details</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/sample_editor.html#SampleDialog.on_change_details"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 2097 | <dd><p>Change details</p> |
---|
| 2098 | </dd></dl> |
---|
| 2099 | |
---|
| 2100 | <dl class="method"> |
---|
| 2101 | <dt id="sas.perspectives.calculator.sample_editor.SampleDialog.on_change_id"> |
---|
| 2102 | <tt class="descname">on_change_id</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/sample_editor.html#SampleDialog.on_change_id"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 2103 | <dd><p>Change id of the sample</p> |
---|
| 2104 | </dd></dl> |
---|
| 2105 | |
---|
| 2106 | <dl class="method"> |
---|
| 2107 | <dt id="sas.perspectives.calculator.sample_editor.SampleDialog.on_change_name"> |
---|
| 2108 | <tt class="descname">on_change_name</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/sample_editor.html#SampleDialog.on_change_name"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 2109 | <dd><p>Change name</p> |
---|
| 2110 | </dd></dl> |
---|
| 2111 | |
---|
| 2112 | <dl class="method"> |
---|
| 2113 | <dt id="sas.perspectives.calculator.sample_editor.SampleDialog.on_change_orientation"> |
---|
| 2114 | <tt class="descname">on_change_orientation</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/sample_editor.html#SampleDialog.on_change_orientation"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 2115 | <dd><p>Change orientation</p> |
---|
| 2116 | </dd></dl> |
---|
| 2117 | |
---|
| 2118 | <dl class="method"> |
---|
| 2119 | <dt id="sas.perspectives.calculator.sample_editor.SampleDialog.on_change_position"> |
---|
| 2120 | <tt class="descname">on_change_position</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/sample_editor.html#SampleDialog.on_change_position"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 2121 | <dd><p>Change position</p> |
---|
| 2122 | </dd></dl> |
---|
| 2123 | |
---|
| 2124 | <dl class="method"> |
---|
| 2125 | <dt id="sas.perspectives.calculator.sample_editor.SampleDialog.on_change_temperature"> |
---|
| 2126 | <tt class="descname">on_change_temperature</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/sample_editor.html#SampleDialog.on_change_temperature"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 2127 | <dd><p>Change temperature</p> |
---|
| 2128 | </dd></dl> |
---|
| 2129 | |
---|
| 2130 | <dl class="method"> |
---|
| 2131 | <dt id="sas.perspectives.calculator.sample_editor.SampleDialog.on_change_thickness"> |
---|
| 2132 | <tt class="descname">on_change_thickness</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/sample_editor.html#SampleDialog.on_change_thickness"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 2133 | <dd><p>Change thickness</p> |
---|
| 2134 | </dd></dl> |
---|
| 2135 | |
---|
| 2136 | <dl class="method"> |
---|
| 2137 | <dt id="sas.perspectives.calculator.sample_editor.SampleDialog.on_change_transmission"> |
---|
| 2138 | <tt class="descname">on_change_transmission</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/sample_editor.html#SampleDialog.on_change_transmission"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 2139 | <dd><p>Change transmission</p> |
---|
| 2140 | </dd></dl> |
---|
| 2141 | |
---|
| 2142 | <dl class="method"> |
---|
| 2143 | <dt id="sas.perspectives.calculator.sample_editor.SampleDialog.on_click_apply"> |
---|
| 2144 | <tt class="descname">on_click_apply</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/sample_editor.html#SampleDialog.on_click_apply"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 2145 | <dd><p>Apply user values to the sample</p> |
---|
| 2146 | </dd></dl> |
---|
| 2147 | |
---|
| 2148 | <dl class="method"> |
---|
| 2149 | <dt id="sas.perspectives.calculator.sample_editor.SampleDialog.on_click_cancel"> |
---|
| 2150 | <tt class="descname">on_click_cancel</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/sample_editor.html#SampleDialog.on_click_cancel"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 2151 | <dd><p>leave the sample as it is and close</p> |
---|
| 2152 | </dd></dl> |
---|
| 2153 | |
---|
| 2154 | <dl class="method"> |
---|
| 2155 | <dt id="sas.perspectives.calculator.sample_editor.SampleDialog.reset_sample"> |
---|
| 2156 | <tt class="descname">reset_sample</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/sample_editor.html#SampleDialog.reset_sample"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 2157 | <dd><p>Put initial values of the sample back to the current sample</p> |
---|
| 2158 | </dd></dl> |
---|
| 2159 | |
---|
| 2160 | <dl class="method"> |
---|
| 2161 | <dt id="sas.perspectives.calculator.sample_editor.SampleDialog.set_details"> |
---|
| 2162 | <tt class="descname">set_details</tt><big>(</big><em>sample</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/sample_editor.html#SampleDialog.set_details"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 2163 | <dd><p>print details on the current sample</p> |
---|
| 2164 | </dd></dl> |
---|
| 2165 | |
---|
| 2166 | <dl class="method"> |
---|
| 2167 | <dt id="sas.perspectives.calculator.sample_editor.SampleDialog.set_manager"> |
---|
| 2168 | <tt class="descname">set_manager</tt><big>(</big><em>manager</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/sample_editor.html#SampleDialog.set_manager"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 2169 | <dd><p>Set manager of this window</p> |
---|
| 2170 | </dd></dl> |
---|
| 2171 | |
---|
| 2172 | <dl class="method"> |
---|
| 2173 | <dt id="sas.perspectives.calculator.sample_editor.SampleDialog.set_values"> |
---|
| 2174 | <tt class="descname">set_values</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/sample_editor.html#SampleDialog.set_values"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 2175 | <dd><p>take the sample values of the current data and display them |
---|
| 2176 | through the panel</p> |
---|
| 2177 | </dd></dl> |
---|
| 2178 | |
---|
| 2179 | </dd></dl> |
---|
| 2180 | |
---|
| 2181 | </div> |
---|
| 2182 | <div class="section" id="module-sas.perspectives.calculator.sld_panel"> |
---|
| 2183 | <span id="sas-perspectives-calculator-sld-panel-module"></span><h2>sas.perspectives.calculator.sld_panel module</h2> |
---|
| 2184 | <p>This module provide GUI for the neutron scattering length density calculator</p> |
---|
| 2185 | <dl class="class"> |
---|
| 2186 | <dt id="sas.perspectives.calculator.sld_panel.SldPanel"> |
---|
| 2187 | <em class="property">class </em><tt class="descclassname">sas.perspectives.calculator.sld_panel.</tt><tt class="descname">SldPanel</tt><big>(</big><em>parent</em>, <em>base=None</em>, <em>*args</em>, <em>**kwds</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/sld_panel.html#SldPanel"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 2188 | <dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">wx._windows.Panel</span></tt>, <a class="reference internal" href="sas.guiframe.html#sas.guiframe.panel_base.PanelBase" title="sas.guiframe.panel_base.PanelBase"><tt class="xref py py-class docutils literal"><span class="pre">sas.guiframe.panel_base.PanelBase</span></tt></a></p> |
---|
| 2189 | <p>Provides the SLD calculator GUI.</p> |
---|
| 2190 | <dl class="attribute"> |
---|
| 2191 | <dt id="sas.perspectives.calculator.sld_panel.SldPanel.CENTER_PANE"> |
---|
| 2192 | <tt class="descname">CENTER_PANE</tt><em class="property"> = True</em></dt> |
---|
| 2193 | <dd></dd></dl> |
---|
| 2194 | |
---|
| 2195 | <dl class="method"> |
---|
| 2196 | <dt id="sas.perspectives.calculator.sld_panel.SldPanel.calculateSld"> |
---|
| 2197 | <tt class="descname">calculateSld</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/sld_panel.html#SldPanel.calculateSld"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 2198 | <dd><p>Calculate the neutron scattering density length of a molecule</p> |
---|
| 2199 | </dd></dl> |
---|
| 2200 | |
---|
| 2201 | <dl class="method"> |
---|
| 2202 | <dt id="sas.perspectives.calculator.sld_panel.SldPanel.calculate_sld_helper"> |
---|
| 2203 | <tt class="descname">calculate_sld_helper</tt><big>(</big><em>element</em>, <em>density</em>, <em>molecule_formula</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/sld_panel.html#SldPanel.calculate_sld_helper"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 2204 | <dd><p>Get an element and compute the corresponding SLD for a given formula</p> |
---|
| 2205 | <table class="docutils field-list" frame="void" rules="none"> |
---|
| 2206 | <col class="field-name" /> |
---|
| 2207 | <col class="field-body" /> |
---|
| 2208 | <tbody valign="top"> |
---|
| 2209 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>element</strong> – elements a string of existing atom</td> |
---|
| 2210 | </tr> |
---|
| 2211 | </tbody> |
---|
| 2212 | </table> |
---|
| 2213 | </dd></dl> |
---|
| 2214 | |
---|
| 2215 | <dl class="method"> |
---|
| 2216 | <dt id="sas.perspectives.calculator.sld_panel.SldPanel.calculate_xray_sld"> |
---|
| 2217 | <tt class="descname">calculate_xray_sld</tt><big>(</big><em>element</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/sld_panel.html#SldPanel.calculate_xray_sld"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 2218 | <dd><p>Get an element and compute the corresponding SLD for a given formula</p> |
---|
| 2219 | <table class="docutils field-list" frame="void" rules="none"> |
---|
| 2220 | <col class="field-name" /> |
---|
| 2221 | <col class="field-body" /> |
---|
| 2222 | <tbody valign="top"> |
---|
| 2223 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>element</strong> – elements a string of existing atom</td> |
---|
| 2224 | </tr> |
---|
| 2225 | </tbody> |
---|
| 2226 | </table> |
---|
| 2227 | </dd></dl> |
---|
| 2228 | |
---|
| 2229 | <dl class="method"> |
---|
| 2230 | <dt id="sas.perspectives.calculator.sld_panel.SldPanel.check_inputs"> |
---|
| 2231 | <tt class="descname">check_inputs</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/sld_panel.html#SldPanel.check_inputs"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 2232 | <dd><p>Check validity user inputs</p> |
---|
| 2233 | </dd></dl> |
---|
| 2234 | |
---|
| 2235 | <dl class="method"> |
---|
| 2236 | <dt id="sas.perspectives.calculator.sld_panel.SldPanel.clear_outputs"> |
---|
| 2237 | <tt class="descname">clear_outputs</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/sld_panel.html#SldPanel.clear_outputs"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 2238 | <dd><p>Clear the outputs textctrl</p> |
---|
| 2239 | </dd></dl> |
---|
| 2240 | |
---|
| 2241 | <dl class="attribute"> |
---|
| 2242 | <dt id="sas.perspectives.calculator.sld_panel.SldPanel.window_caption"> |
---|
| 2243 | <tt class="descname">window_caption</tt><em class="property"> = 'SLD Calculator'</em></dt> |
---|
| 2244 | <dd></dd></dl> |
---|
| 2245 | |
---|
| 2246 | <dl class="attribute"> |
---|
| 2247 | <dt id="sas.perspectives.calculator.sld_panel.SldPanel.window_name"> |
---|
| 2248 | <tt class="descname">window_name</tt><em class="property"> = 'SLD Calculator'</em></dt> |
---|
| 2249 | <dd></dd></dl> |
---|
| 2250 | |
---|
| 2251 | </dd></dl> |
---|
| 2252 | |
---|
| 2253 | <dl class="class"> |
---|
| 2254 | <dt id="sas.perspectives.calculator.sld_panel.SldWindow"> |
---|
| 2255 | <em class="property">class </em><tt class="descclassname">sas.perspectives.calculator.sld_panel.</tt><tt class="descname">SldWindow</tt><big>(</big><em>parent=None</em>, <em>title='SLD Calculator'</em>, <em>base=None</em>, <em>manager=None</em>, <em>size=(410</em>, <em>410)</em>, <em>*args</em>, <em>**kwds</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/sld_panel.html#SldWindow"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 2256 | <dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">wx._windows.MDIChildFrame</span></tt></p> |
---|
| 2257 | <dl class="method"> |
---|
| 2258 | <dt id="sas.perspectives.calculator.sld_panel.SldWindow.on_close"> |
---|
| 2259 | <tt class="descname">on_close</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/sld_panel.html#SldWindow.on_close"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 2260 | <dd><p>On close event</p> |
---|
| 2261 | </dd></dl> |
---|
| 2262 | |
---|
| 2263 | </dd></dl> |
---|
| 2264 | |
---|
| 2265 | <dl class="class"> |
---|
| 2266 | <dt id="sas.perspectives.calculator.sld_panel.ViewApp"> |
---|
| 2267 | <em class="property">class </em><tt class="descclassname">sas.perspectives.calculator.sld_panel.</tt><tt class="descname">ViewApp</tt><big>(</big><em>redirect=False</em>, <em>filename=None</em>, <em>useBestVisual=False</em>, <em>clearSigInt=True</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/sld_panel.html#ViewApp"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 2268 | <dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">wx._core.App</span></tt></p> |
---|
| 2269 | <dl class="method"> |
---|
| 2270 | <dt id="sas.perspectives.calculator.sld_panel.ViewApp.OnInit"> |
---|
| 2271 | <tt class="descname">OnInit</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/sld_panel.html#ViewApp.OnInit"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 2272 | <dd></dd></dl> |
---|
| 2273 | |
---|
| 2274 | </dd></dl> |
---|
| 2275 | |
---|
| 2276 | </div> |
---|
| 2277 | <div class="section" id="module-sas.perspectives.calculator.slit_length_calculator_panel"> |
---|
| 2278 | <span id="sas-perspectives-calculator-slit-length-calculator-panel-module"></span><h2>sas.perspectives.calculator.slit_length_calculator_panel module</h2> |
---|
| 2279 | <p>This software was developed by the University of Tennessee as part of the |
---|
| 2280 | Distributed Data Analysis of Neutron Scattering Experiments (DANSE) |
---|
| 2281 | project funded by the US National Science Foundation.</p> |
---|
| 2282 | <p>See the license text in license.txt</p> |
---|
| 2283 | <p>copyright 2008, 2009, University of Tennessee</p> |
---|
| 2284 | <dl class="class"> |
---|
| 2285 | <dt id="sas.perspectives.calculator.slit_length_calculator_panel.SlitLengthCalculatorPanel"> |
---|
| 2286 | <em class="property">class </em><tt class="descclassname">sas.perspectives.calculator.slit_length_calculator_panel.</tt><tt class="descname">SlitLengthCalculatorPanel</tt><big>(</big><em>parent</em>, <em>*args</em>, <em>**kwds</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/slit_length_calculator_panel.html#SlitLengthCalculatorPanel"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 2287 | <dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">wx._windows.Panel</span></tt>, <a class="reference internal" href="sas.guiframe.html#sas.guiframe.panel_base.PanelBase" title="sas.guiframe.panel_base.PanelBase"><tt class="xref py py-class docutils literal"><span class="pre">sas.guiframe.panel_base.PanelBase</span></tt></a></p> |
---|
| 2288 | <p>Provides the slit length calculator GUI.</p> |
---|
| 2289 | <dl class="attribute"> |
---|
| 2290 | <dt id="sas.perspectives.calculator.slit_length_calculator_panel.SlitLengthCalculatorPanel.CENTER_PANE"> |
---|
| 2291 | <tt class="descname">CENTER_PANE</tt><em class="property"> = True</em></dt> |
---|
| 2292 | <dd></dd></dl> |
---|
| 2293 | |
---|
| 2294 | <dl class="method"> |
---|
| 2295 | <dt id="sas.perspectives.calculator.slit_length_calculator_panel.SlitLengthCalculatorPanel.choose_data_file"> |
---|
| 2296 | <tt class="descname">choose_data_file</tt><big>(</big><em>location=None</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/slit_length_calculator_panel.html#SlitLengthCalculatorPanel.choose_data_file"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 2297 | <dd></dd></dl> |
---|
| 2298 | |
---|
| 2299 | <dl class="method"> |
---|
| 2300 | <dt id="sas.perspectives.calculator.slit_length_calculator_panel.SlitLengthCalculatorPanel.complete_loading"> |
---|
| 2301 | <tt class="descname">complete_loading</tt><big>(</big><em>data=None</em>, <em>filename=''</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/slit_length_calculator_panel.html#SlitLengthCalculatorPanel.complete_loading"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 2302 | <dd><p>Complete the loading and compute the slit size</p> |
---|
| 2303 | </dd></dl> |
---|
| 2304 | |
---|
| 2305 | <dl class="method"> |
---|
| 2306 | <dt id="sas.perspectives.calculator.slit_length_calculator_panel.SlitLengthCalculatorPanel.load_update"> |
---|
| 2307 | <tt class="descname">load_update</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/slit_length_calculator_panel.html#SlitLengthCalculatorPanel.load_update"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 2308 | <dd><p>print update on the status bar</p> |
---|
| 2309 | </dd></dl> |
---|
| 2310 | |
---|
| 2311 | <dl class="method"> |
---|
| 2312 | <dt id="sas.perspectives.calculator.slit_length_calculator_panel.SlitLengthCalculatorPanel.on_close"> |
---|
| 2313 | <tt class="descname">on_close</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/slit_length_calculator_panel.html#SlitLengthCalculatorPanel.on_close"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 2314 | <dd><p>close the window containing this panel</p> |
---|
| 2315 | </dd></dl> |
---|
| 2316 | |
---|
| 2317 | <dl class="method"> |
---|
| 2318 | <dt id="sas.perspectives.calculator.slit_length_calculator_panel.SlitLengthCalculatorPanel.on_load_data"> |
---|
| 2319 | <tt class="descname">on_load_data</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/slit_length_calculator_panel.html#SlitLengthCalculatorPanel.on_load_data"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 2320 | <dd><p>Open a file dialog to allow the user to select a given file. |
---|
| 2321 | The user is only allow to load file with extension .DAT or .dat. |
---|
| 2322 | Display the slit size corresponding to the loaded data.</p> |
---|
| 2323 | </dd></dl> |
---|
| 2324 | |
---|
| 2325 | <dl class="attribute"> |
---|
| 2326 | <dt id="sas.perspectives.calculator.slit_length_calculator_panel.SlitLengthCalculatorPanel.window_caption"> |
---|
| 2327 | <tt class="descname">window_caption</tt><em class="property"> = 'Slit Size Calculator'</em></dt> |
---|
| 2328 | <dd></dd></dl> |
---|
| 2329 | |
---|
| 2330 | <dl class="attribute"> |
---|
| 2331 | <dt id="sas.perspectives.calculator.slit_length_calculator_panel.SlitLengthCalculatorPanel.window_name"> |
---|
| 2332 | <tt class="descname">window_name</tt><em class="property"> = 'Slit Size Calculator'</em></dt> |
---|
| 2333 | <dd></dd></dl> |
---|
| 2334 | |
---|
| 2335 | </dd></dl> |
---|
| 2336 | |
---|
| 2337 | <dl class="class"> |
---|
| 2338 | <dt id="sas.perspectives.calculator.slit_length_calculator_panel.SlitLengthCalculatorWindow"> |
---|
| 2339 | <em class="property">class </em><tt class="descclassname">sas.perspectives.calculator.slit_length_calculator_panel.</tt><tt class="descname">SlitLengthCalculatorWindow</tt><big>(</big><em>parent=None</em>, <em>manager=None</em>, <em>title='Slit Size Calculator'</em>, <em>size=(530</em>, <em>210)</em>, <em>*args</em>, <em>**kwds</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/slit_length_calculator_panel.html#SlitLengthCalculatorWindow"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 2340 | <dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">wx._windows.MDIChildFrame</span></tt></p> |
---|
| 2341 | <dl class="method"> |
---|
| 2342 | <dt id="sas.perspectives.calculator.slit_length_calculator_panel.SlitLengthCalculatorWindow.on_close"> |
---|
| 2343 | <tt class="descname">on_close</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/slit_length_calculator_panel.html#SlitLengthCalculatorWindow.on_close"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 2344 | <dd><p>Close event</p> |
---|
| 2345 | </dd></dl> |
---|
| 2346 | |
---|
| 2347 | </dd></dl> |
---|
| 2348 | |
---|
| 2349 | </div> |
---|
| 2350 | <div class="section" id="module-sas.perspectives.calculator.source_editor"> |
---|
| 2351 | <span id="sas-perspectives-calculator-source-editor-module"></span><h2>sas.perspectives.calculator.source_editor module</h2> |
---|
| 2352 | <dl class="class"> |
---|
| 2353 | <dt id="sas.perspectives.calculator.source_editor.SourceDialog"> |
---|
| 2354 | <em class="property">class </em><tt class="descclassname">sas.perspectives.calculator.source_editor.</tt><tt class="descname">SourceDialog</tt><big>(</big><em>parent=None</em>, <em>manager=None</em>, <em>source=None</em>, <em>*args</em>, <em>**kwds</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/source_editor.html#SourceDialog"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 2355 | <dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">wx._windows.Dialog</span></tt></p> |
---|
| 2356 | <dl class="method"> |
---|
| 2357 | <dt id="sas.perspectives.calculator.source_editor.SourceDialog.get_notes"> |
---|
| 2358 | <tt class="descname">get_notes</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/source_editor.html#SourceDialog.get_notes"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 2359 | <dd><p>return notes</p> |
---|
| 2360 | </dd></dl> |
---|
| 2361 | |
---|
| 2362 | <dl class="method"> |
---|
| 2363 | <dt id="sas.perspectives.calculator.source_editor.SourceDialog.get_source"> |
---|
| 2364 | <tt class="descname">get_source</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/source_editor.html#SourceDialog.get_source"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 2365 | <dd><p>return the current source</p> |
---|
| 2366 | </dd></dl> |
---|
| 2367 | |
---|
| 2368 | <dl class="method"> |
---|
| 2369 | <dt id="sas.perspectives.calculator.source_editor.SourceDialog.on_change_beam_shape"> |
---|
| 2370 | <tt class="descname">on_change_beam_shape</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/source_editor.html#SourceDialog.on_change_beam_shape"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 2371 | <dd><p>Change beams shape</p> |
---|
| 2372 | </dd></dl> |
---|
| 2373 | |
---|
| 2374 | <dl class="method"> |
---|
| 2375 | <dt id="sas.perspectives.calculator.source_editor.SourceDialog.on_change_beam_size"> |
---|
| 2376 | <tt class="descname">on_change_beam_size</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/source_editor.html#SourceDialog.on_change_beam_size"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 2377 | <dd><p>Change beam size</p> |
---|
| 2378 | </dd></dl> |
---|
| 2379 | |
---|
| 2380 | <dl class="method"> |
---|
| 2381 | <dt id="sas.perspectives.calculator.source_editor.SourceDialog.on_change_beam_size_name"> |
---|
| 2382 | <tt class="descname">on_change_beam_size_name</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/source_editor.html#SourceDialog.on_change_beam_size_name"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 2383 | <dd><p>Change beam size name</p> |
---|
| 2384 | </dd></dl> |
---|
| 2385 | |
---|
| 2386 | <dl class="method"> |
---|
| 2387 | <dt id="sas.perspectives.calculator.source_editor.SourceDialog.on_change_name"> |
---|
| 2388 | <tt class="descname">on_change_name</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/source_editor.html#SourceDialog.on_change_name"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 2389 | <dd><p>Change name</p> |
---|
| 2390 | </dd></dl> |
---|
| 2391 | |
---|
| 2392 | <dl class="method"> |
---|
| 2393 | <dt id="sas.perspectives.calculator.source_editor.SourceDialog.on_change_radiation"> |
---|
| 2394 | <tt class="descname">on_change_radiation</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/source_editor.html#SourceDialog.on_change_radiation"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 2395 | <dd><p>Change radiation of the sample</p> |
---|
| 2396 | </dd></dl> |
---|
| 2397 | |
---|
| 2398 | <dl class="method"> |
---|
| 2399 | <dt id="sas.perspectives.calculator.source_editor.SourceDialog.on_change_wavelength"> |
---|
| 2400 | <tt class="descname">on_change_wavelength</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/source_editor.html#SourceDialog.on_change_wavelength"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 2401 | <dd><p>Change the wavelength</p> |
---|
| 2402 | </dd></dl> |
---|
| 2403 | |
---|
| 2404 | <dl class="method"> |
---|
| 2405 | <dt id="sas.perspectives.calculator.source_editor.SourceDialog.on_change_wavelength_max"> |
---|
| 2406 | <tt class="descname">on_change_wavelength_max</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/source_editor.html#SourceDialog.on_change_wavelength_max"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 2407 | <dd><p>Change the wavelength maximum</p> |
---|
| 2408 | </dd></dl> |
---|
| 2409 | |
---|
| 2410 | <dl class="method"> |
---|
| 2411 | <dt id="sas.perspectives.calculator.source_editor.SourceDialog.on_change_wavelength_min"> |
---|
| 2412 | <tt class="descname">on_change_wavelength_min</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/source_editor.html#SourceDialog.on_change_wavelength_min"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 2413 | <dd><p>Change the wavelength minimum</p> |
---|
| 2414 | </dd></dl> |
---|
| 2415 | |
---|
| 2416 | <dl class="method"> |
---|
| 2417 | <dt id="sas.perspectives.calculator.source_editor.SourceDialog.on_change_wavelength_spread"> |
---|
| 2418 | <tt class="descname">on_change_wavelength_spread</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/source_editor.html#SourceDialog.on_change_wavelength_spread"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 2419 | <dd><p>Change the wavelength spread</p> |
---|
| 2420 | </dd></dl> |
---|
| 2421 | |
---|
| 2422 | <dl class="method"> |
---|
| 2423 | <dt id="sas.perspectives.calculator.source_editor.SourceDialog.on_click_apply"> |
---|
| 2424 | <tt class="descname">on_click_apply</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/source_editor.html#SourceDialog.on_click_apply"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 2425 | <dd><p>Apply user values to the source</p> |
---|
| 2426 | </dd></dl> |
---|
| 2427 | |
---|
| 2428 | <dl class="method"> |
---|
| 2429 | <dt id="sas.perspectives.calculator.source_editor.SourceDialog.on_click_cancel"> |
---|
| 2430 | <tt class="descname">on_click_cancel</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/source_editor.html#SourceDialog.on_click_cancel"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 2431 | <dd><p>reset the current source</p> |
---|
| 2432 | </dd></dl> |
---|
| 2433 | |
---|
| 2434 | <dl class="method"> |
---|
| 2435 | <dt id="sas.perspectives.calculator.source_editor.SourceDialog.reset_source"> |
---|
| 2436 | <tt class="descname">reset_source</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/source_editor.html#SourceDialog.reset_source"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 2437 | <dd><p>put back initial values of the source</p> |
---|
| 2438 | </dd></dl> |
---|
| 2439 | |
---|
| 2440 | <dl class="method"> |
---|
| 2441 | <dt id="sas.perspectives.calculator.source_editor.SourceDialog.set_manager"> |
---|
| 2442 | <tt class="descname">set_manager</tt><big>(</big><em>manager</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/source_editor.html#SourceDialog.set_manager"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 2443 | <dd><p>Set manager of this window</p> |
---|
| 2444 | </dd></dl> |
---|
| 2445 | |
---|
| 2446 | <dl class="method"> |
---|
| 2447 | <dt id="sas.perspectives.calculator.source_editor.SourceDialog.set_values"> |
---|
| 2448 | <tt class="descname">set_values</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator/source_editor.html#SourceDialog.set_values"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 2449 | <dd><p>take the source values of the current data and display them |
---|
| 2450 | through the panel</p> |
---|
| 2451 | </dd></dl> |
---|
| 2452 | |
---|
| 2453 | </dd></dl> |
---|
| 2454 | |
---|
| 2455 | </div> |
---|
| 2456 | <div class="section" id="module-sas.perspectives.calculator"> |
---|
| 2457 | <span id="module-contents"></span><h2>Module contents</h2> |
---|
| 2458 | <dl class="function"> |
---|
| 2459 | <dt id="sas.perspectives.calculator.data_files"> |
---|
| 2460 | <tt class="descclassname">sas.perspectives.calculator.</tt><tt class="descname">data_files</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator.html#data_files"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 2461 | <dd><p>Return the data files associated with media calculator.</p> |
---|
| 2462 | <p>The format is a list of (directory, [files...]) pairs which can be |
---|
| 2463 | used directly in setup(...,data_files=...) for setup.py.</p> |
---|
| 2464 | </dd></dl> |
---|
| 2465 | |
---|
| 2466 | <dl class="function"> |
---|
| 2467 | <dt id="sas.perspectives.calculator.get_data_path"> |
---|
| 2468 | <tt class="descclassname">sas.perspectives.calculator.</tt><tt class="descname">get_data_path</tt><big>(</big><em>media</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/calculator.html#get_data_path"><span class="viewcode-link">[source]</span></a></dt> |
---|
| 2469 | <dd></dd></dl> |
---|
| 2470 | |
---|
| 2471 | </div> |
---|
| 2472 | </div> |
---|
| 2473 | |
---|
| 2474 | |
---|
| 2475 | </div> |
---|
| 2476 | </div> |
---|
| 2477 | </div> |
---|
| 2478 | <div class="sphinxsidebar"> |
---|
| 2479 | <div class="sphinxsidebarwrapper"> |
---|
| 2480 | <h3><a href="../../index.html">Table Of Contents</a></h3> |
---|
| 2481 | <ul> |
---|
| 2482 | <li><a class="reference internal" href="#">sas.perspectives.calculator package</a><ul> |
---|
| 2483 | <li><a class="reference internal" href="#submodules">Submodules</a></li> |
---|
| 2484 | <li><a class="reference internal" href="#module-sas.perspectives.calculator.aperture_editor">sas.perspectives.calculator.aperture_editor module</a></li> |
---|
| 2485 | <li><a class="reference internal" href="#module-sas.perspectives.calculator.calculator">sas.perspectives.calculator.calculator module</a></li> |
---|
| 2486 | <li><a class="reference internal" href="#module-sas.perspectives.calculator.calculator_widgets">sas.perspectives.calculator.calculator_widgets module</a></li> |
---|
| 2487 | <li><a class="reference internal" href="#module-sas.perspectives.calculator.collimation_editor">sas.perspectives.calculator.collimation_editor module</a></li> |
---|
| 2488 | <li><a class="reference internal" href="#module-sas.perspectives.calculator.console">sas.perspectives.calculator.console module</a></li> |
---|
| 2489 | <li><a class="reference internal" href="#module-sas.perspectives.calculator.data_editor">sas.perspectives.calculator.data_editor module</a></li> |
---|
| 2490 | <li><a class="reference internal" href="#module-sas.perspectives.calculator.data_operator">sas.perspectives.calculator.data_operator module</a></li> |
---|
| 2491 | <li><a class="reference internal" href="#module-sas.perspectives.calculator.density_panel">sas.perspectives.calculator.density_panel module</a></li> |
---|
| 2492 | <li><a class="reference internal" href="#module-sas.perspectives.calculator.detector_editor">sas.perspectives.calculator.detector_editor module</a></li> |
---|
| 2493 | <li><a class="reference internal" href="#module-sas.perspectives.calculator.gen_scatter_panel">sas.perspectives.calculator.gen_scatter_panel module</a></li> |
---|
| 2494 | <li><a class="reference internal" href="#module-sas.perspectives.calculator.help_panel">sas.perspectives.calculator.help_panel module</a></li> |
---|
| 2495 | <li><a class="reference internal" href="#module-sas.perspectives.calculator.image_viewer">sas.perspectives.calculator.image_viewer module</a></li> |
---|
| 2496 | <li><a class="reference internal" href="#module-sas.perspectives.calculator.kiessig_calculator_panel">sas.perspectives.calculator.kiessig_calculator_panel module</a></li> |
---|
| 2497 | <li><a class="reference internal" href="#module-sas.perspectives.calculator.load_thread">sas.perspectives.calculator.load_thread module</a></li> |
---|
| 2498 | <li><a class="reference internal" href="#module-sas.perspectives.calculator.model_editor">sas.perspectives.calculator.model_editor module</a></li> |
---|
| 2499 | <li><a class="reference internal" href="#module-sas.perspectives.calculator.pyconsole">sas.perspectives.calculator.pyconsole module</a></li> |
---|
| 2500 | <li><a class="reference internal" href="#module-sas.perspectives.calculator.resolcal_thread">sas.perspectives.calculator.resolcal_thread module</a></li> |
---|
| 2501 | <li><a class="reference internal" href="#module-sas.perspectives.calculator.resolution_calculator_panel">sas.perspectives.calculator.resolution_calculator_panel module</a></li> |
---|
| 2502 | <li><a class="reference internal" href="#module-sas.perspectives.calculator.sample_editor">sas.perspectives.calculator.sample_editor module</a></li> |
---|
| 2503 | <li><a class="reference internal" href="#module-sas.perspectives.calculator.sld_panel">sas.perspectives.calculator.sld_panel module</a></li> |
---|
| 2504 | <li><a class="reference internal" href="#module-sas.perspectives.calculator.slit_length_calculator_panel">sas.perspectives.calculator.slit_length_calculator_panel module</a></li> |
---|
| 2505 | <li><a class="reference internal" href="#module-sas.perspectives.calculator.source_editor">sas.perspectives.calculator.source_editor module</a></li> |
---|
| 2506 | <li><a class="reference internal" href="#module-sas.perspectives.calculator">Module contents</a></li> |
---|
| 2507 | </ul> |
---|
| 2508 | </li> |
---|
| 2509 | </ul> |
---|
| 2510 | |
---|
| 2511 | <h4>Previous topic</h4> |
---|
| 2512 | <p class="topless"><a href="sas.perspectives.html" |
---|
| 2513 | title="previous chapter">sas.perspectives package</a></p> |
---|
| 2514 | <h4>Next topic</h4> |
---|
| 2515 | <p class="topless"><a href="sas.perspectives.fitting.html" |
---|
| 2516 | title="next chapter">sas.perspectives.fitting package</a></p> |
---|
| 2517 | <h3>This Page</h3> |
---|
| 2518 | <ul class="this-page-menu"> |
---|
| 2519 | <li><a href="../../_sources/dev/api/sas.perspectives.calculator.txt" |
---|
| 2520 | rel="nofollow">Show Source</a></li> |
---|
| 2521 | </ul> |
---|
| 2522 | <div id="searchbox" style="display: none"> |
---|
| 2523 | <h3>Quick search</h3> |
---|
| 2524 | <form class="search" action="../../search.html" method="get"> |
---|
| 2525 | <input type="text" name="q" /> |
---|
| 2526 | <input type="submit" value="Go" /> |
---|
| 2527 | <input type="hidden" name="check_keywords" value="yes" /> |
---|
| 2528 | <input type="hidden" name="area" value="default" /> |
---|
| 2529 | </form> |
---|
| 2530 | <p class="searchtip" style="font-size: 90%"> |
---|
| 2531 | Enter search terms or a module, class or function name. |
---|
| 2532 | </p> |
---|
| 2533 | </div> |
---|
| 2534 | <script type="text/javascript">$('#searchbox').show(0);</script> |
---|
| 2535 | </div> |
---|
| 2536 | </div> |
---|
| 2537 | <div class="clearer"></div> |
---|
| 2538 | </div> |
---|
| 2539 | <div class="related"> |
---|
| 2540 | <h3>Navigation</h3> |
---|
| 2541 | <ul> |
---|
| 2542 | <li class="right" style="margin-right: 10px"> |
---|
| 2543 | <a href="../../genindex.html" title="General Index" |
---|
| 2544 | >index</a></li> |
---|
| 2545 | <li class="right" > |
---|
| 2546 | <a href="../../py-modindex.html" title="Python Module Index" |
---|
| 2547 | >modules</a> |</li> |
---|
| 2548 | <li class="right" > |
---|
| 2549 | <a href="sas.perspectives.fitting.html" title="sas.perspectives.fitting package" |
---|
| 2550 | >next</a> |</li> |
---|
| 2551 | <li class="right" > |
---|
| 2552 | <a href="sas.perspectives.html" title="sas.perspectives package" |
---|
| 2553 | >previous</a> |</li> |
---|
| 2554 | <li><a href="../../index.html">SasView 3.0.0 documentation</a> »</li> |
---|
| 2555 | <li><a href="../dev.html" >Developer Documentation</a> »</li> |
---|
| 2556 | <li><a href="modules.html" >lib.macosx-10.5-x86_64-2.7</a> »</li> |
---|
| 2557 | <li><a href="sas.html" >sas package</a> »</li> |
---|
| 2558 | <li><a href="sas.perspectives.html" >sas.perspectives package</a> »</li> |
---|
| 2559 | </ul> |
---|
| 2560 | </div> |
---|
| 2561 | <div class="footer"> |
---|
| 2562 | © Copyright 2013, The SasView Project. |
---|
| 2563 | Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.2.3. |
---|
| 2564 | </div> |
---|
| 2565 | </body> |
---|
| 2566 | </html> |
---|