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.fitting 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.plugin_models package" href="sas.perspectives.fitting.plugin_models.html" /> |
---|
30 | <link rel="prev" title="sas.perspectives.calculator package" href="sas.perspectives.calculator.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.plugin_models.html" title="sas.perspectives.fitting.plugin_models package" |
---|
44 | accesskey="N">next</a> |</li> |
---|
45 | <li class="right" > |
---|
46 | <a href="sas.perspectives.calculator.html" title="sas.perspectives.calculator 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-fitting-package"> |
---|
62 | <h1>sas.perspectives.fitting package</h1> |
---|
63 | <div class="section" id="subpackages"> |
---|
64 | <h2>Subpackages</h2> |
---|
65 | <div class="toctree-wrapper compound"> |
---|
66 | <ul> |
---|
67 | <li class="toctree-l1"><a class="reference internal" href="sas.perspectives.fitting.plugin_models.html">sas.perspectives.fitting.plugin_models package</a><ul> |
---|
68 | <li class="toctree-l2"><a class="reference internal" href="sas.perspectives.fitting.plugin_models.html#submodules">Submodules</a></li> |
---|
69 | <li class="toctree-l2"><a class="reference internal" href="sas.perspectives.fitting.plugin_models.html#module-sas.perspectives.fitting.plugin_models.polynomial5">sas.perspectives.fitting.plugin_models.polynomial5 module</a></li> |
---|
70 | <li class="toctree-l2"><a class="reference internal" href="sas.perspectives.fitting.plugin_models.html#module-sas.perspectives.fitting.plugin_models.sph_bessel_jn">sas.perspectives.fitting.plugin_models.sph_bessel_jn module</a></li> |
---|
71 | <li class="toctree-l2"><a class="reference internal" href="sas.perspectives.fitting.plugin_models.html#module-sas.perspectives.fitting.plugin_models.sum_Ap1_1_Ap2">sas.perspectives.fitting.plugin_models.sum_Ap1_1_Ap2 module</a></li> |
---|
72 | <li class="toctree-l2"><a class="reference internal" href="sas.perspectives.fitting.plugin_models.html#module-sas.perspectives.fitting.plugin_models.sum_p1_p2">sas.perspectives.fitting.plugin_models.sum_p1_p2 module</a></li> |
---|
73 | <li class="toctree-l2"><a class="reference internal" href="sas.perspectives.fitting.plugin_models.html#module-sas.perspectives.fitting.plugin_models.testmodel">sas.perspectives.fitting.plugin_models.testmodel module</a></li> |
---|
74 | <li class="toctree-l2"><a class="reference internal" href="sas.perspectives.fitting.plugin_models.html#module-sas.perspectives.fitting.plugin_models.testmodel_2">sas.perspectives.fitting.plugin_models.testmodel_2 module</a></li> |
---|
75 | <li class="toctree-l2"><a class="reference internal" href="sas.perspectives.fitting.plugin_models.html#module-sas.perspectives.fitting.plugin_models">Module contents</a></li> |
---|
76 | </ul> |
---|
77 | </li> |
---|
78 | </ul> |
---|
79 | </div> |
---|
80 | </div> |
---|
81 | <div class="section" id="submodules"> |
---|
82 | <h2>Submodules</h2> |
---|
83 | </div> |
---|
84 | <div class="section" id="module-sas.perspectives.fitting.basepage"> |
---|
85 | <span id="sas-perspectives-fitting-basepage-module"></span><h2>sas.perspectives.fitting.basepage module</h2> |
---|
86 | <p>Base Page for fitting</p> |
---|
87 | <dl class="class"> |
---|
88 | <dt id="sas.perspectives.fitting.basepage.BasicPage"> |
---|
89 | <em class="property">class </em><tt class="descclassname">sas.perspectives.fitting.basepage.</tt><tt class="descname">BasicPage</tt><big>(</big><em>parent</em>, <em>color='blue'</em>, <em>**kwargs</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/basepage.html#BasicPage"><span class="viewcode-link">[source]</span></a></dt> |
---|
90 | <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> |
---|
91 | <p>This class provide general structure of fitpanel page</p> |
---|
92 | <dl class="class"> |
---|
93 | <dt id="sas.perspectives.fitting.basepage.BasicPage.ModelTextCtrl"> |
---|
94 | <em class="property">class </em><tt class="descname">ModelTextCtrl</tt><big>(</big><em>parent</em>, <em>id=-1</em>, <em>value=u''</em>, <em>pos=wx.Point(-1</em>, <em>-1)</em>, <em>size=wx.Size(-1</em>, <em>-1)</em>, <em>style=0</em>, <em>validator=<wx._core.Validator; proxy of <Swig Object of type 'wxValidator *' at 0x1070e8ca0> ></em>, <em>name=u'text'</em>, <em>kill_focus_callback=None</em>, <em>set_focus_callback=None</em>, <em>mouse_up_callback=None</em>, <em>text_enter_callback=None</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/basepage.html#BasicPage.ModelTextCtrl"><span class="viewcode-link">[source]</span></a></dt> |
---|
95 | <dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">wx._controls.TextCtrl</span></tt></p> |
---|
96 | <p>Text control for model and fit parameters. |
---|
97 | Binds the appropriate events for user interactions. |
---|
98 | Default callback methods can be overwritten on initialization</p> |
---|
99 | <table class="docutils field-list" frame="void" rules="none"> |
---|
100 | <col class="field-name" /> |
---|
101 | <col class="field-body" /> |
---|
102 | <tbody valign="top"> |
---|
103 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple"> |
---|
104 | <li><strong>kill_focus_callback</strong> – callback method for EVT_KILL_FOCUS event</li> |
---|
105 | <li><strong>set_focus_callback</strong> – callback method for EVT_SET_FOCUS event</li> |
---|
106 | <li><strong>mouse_up_callback</strong> – callback method for EVT_LEFT_UP event</li> |
---|
107 | <li><strong>text_enter_callback</strong> – callback method for EVT_TEXT_ENTER event</li> |
---|
108 | </ul> |
---|
109 | </td> |
---|
110 | </tr> |
---|
111 | </tbody> |
---|
112 | </table> |
---|
113 | <dl class="attribute"> |
---|
114 | <dt id="sas.perspectives.fitting.basepage.BasicPage.ModelTextCtrl.full_selection"> |
---|
115 | <tt class="descname">full_selection</tt><em class="property"> = False</em></dt> |
---|
116 | <dd></dd></dl> |
---|
117 | |
---|
118 | </dd></dl> |
---|
119 | |
---|
120 | <dl class="method"> |
---|
121 | <dt id="sas.perspectives.fitting.basepage.BasicPage.check_invalid_panel"> |
---|
122 | <tt class="descclassname">BasicPage.</tt><tt class="descname">check_invalid_panel</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/basepage.html#BasicPage.check_invalid_panel"><span class="viewcode-link">[source]</span></a></dt> |
---|
123 | <dd><p>check if the user can already perform some action with this panel</p> |
---|
124 | </dd></dl> |
---|
125 | |
---|
126 | <dl class="method"> |
---|
127 | <dt id="sas.perspectives.fitting.basepage.BasicPage.createMemento"> |
---|
128 | <tt class="descclassname">BasicPage.</tt><tt class="descname">createMemento</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/basepage.html#BasicPage.createMemento"><span class="viewcode-link">[source]</span></a></dt> |
---|
129 | <dd><p>return the current state of the page</p> |
---|
130 | </dd></dl> |
---|
131 | |
---|
132 | <dl class="method"> |
---|
133 | <dt id="sas.perspectives.fitting.basepage.BasicPage.create_default_data"> |
---|
134 | <tt class="descclassname">BasicPage.</tt><tt class="descname">create_default_data</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/basepage.html#BasicPage.create_default_data"><span class="viewcode-link">[source]</span></a></dt> |
---|
135 | <dd><p>Given the user selection, creates a 1D or 2D data |
---|
136 | Only when the page is on theory mode.</p> |
---|
137 | </dd></dl> |
---|
138 | |
---|
139 | <dl class="method"> |
---|
140 | <dt id="sas.perspectives.fitting.basepage.BasicPage.define_page_structure"> |
---|
141 | <tt class="descclassname">BasicPage.</tt><tt class="descname">define_page_structure</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/basepage.html#BasicPage.define_page_structure"><span class="viewcode-link">[source]</span></a></dt> |
---|
142 | <dd><p>Create empty sizer for a panel</p> |
---|
143 | </dd></dl> |
---|
144 | |
---|
145 | <dl class="method"> |
---|
146 | <dt id="sas.perspectives.fitting.basepage.BasicPage.formfactor_combo_init"> |
---|
147 | <tt class="descclassname">BasicPage.</tt><tt class="descname">formfactor_combo_init</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/basepage.html#BasicPage.formfactor_combo_init"><span class="viewcode-link">[source]</span></a></dt> |
---|
148 | <dd><p>First time calls _show_combox_helper</p> |
---|
149 | </dd></dl> |
---|
150 | |
---|
151 | <dl class="method"> |
---|
152 | <dt id="sas.perspectives.fitting.basepage.BasicPage.get_all_checked_params"> |
---|
153 | <tt class="descclassname">BasicPage.</tt><tt class="descname">get_all_checked_params</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/basepage.html#BasicPage.get_all_checked_params"><span class="viewcode-link">[source]</span></a></dt> |
---|
154 | <dd><p>Found all parameters current check and add them to list of parameters |
---|
155 | to fit if implemented</p> |
---|
156 | </dd></dl> |
---|
157 | |
---|
158 | <dl class="method"> |
---|
159 | <dt id="sas.perspectives.fitting.basepage.BasicPage.get_clipboard"> |
---|
160 | <tt class="descclassname">BasicPage.</tt><tt class="descname">get_clipboard</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/basepage.html#BasicPage.get_clipboard"><span class="viewcode-link">[source]</span></a></dt> |
---|
161 | <dd><p>Get strings in the clipboard</p> |
---|
162 | </dd></dl> |
---|
163 | |
---|
164 | <dl class="method"> |
---|
165 | <dt id="sas.perspectives.fitting.basepage.BasicPage.get_copy"> |
---|
166 | <tt class="descclassname">BasicPage.</tt><tt class="descname">get_copy</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/basepage.html#BasicPage.get_copy"><span class="viewcode-link">[source]</span></a></dt> |
---|
167 | <dd><p>Get copy params to clipboard</p> |
---|
168 | </dd></dl> |
---|
169 | |
---|
170 | <dl class="method"> |
---|
171 | <dt id="sas.perspectives.fitting.basepage.BasicPage.get_copy_excel"> |
---|
172 | <tt class="descclassname">BasicPage.</tt><tt class="descname">get_copy_excel</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/basepage.html#BasicPage.get_copy_excel"><span class="viewcode-link">[source]</span></a></dt> |
---|
173 | <dd><p>Get copy params to clipboard</p> |
---|
174 | </dd></dl> |
---|
175 | |
---|
176 | <dl class="method"> |
---|
177 | <dt id="sas.perspectives.fitting.basepage.BasicPage.get_copy_latex"> |
---|
178 | <tt class="descclassname">BasicPage.</tt><tt class="descname">get_copy_latex</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/basepage.html#BasicPage.get_copy_latex"><span class="viewcode-link">[source]</span></a></dt> |
---|
179 | <dd><p>Get copy params to clipboard</p> |
---|
180 | </dd></dl> |
---|
181 | |
---|
182 | <dl class="method"> |
---|
183 | <dt id="sas.perspectives.fitting.basepage.BasicPage.get_copy_params"> |
---|
184 | <tt class="descclassname">BasicPage.</tt><tt class="descname">get_copy_params</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/basepage.html#BasicPage.get_copy_params"><span class="viewcode-link">[source]</span></a></dt> |
---|
185 | <dd><p>Get the string copies of the param names and values in the tap</p> |
---|
186 | </dd></dl> |
---|
187 | |
---|
188 | <dl class="method"> |
---|
189 | <dt id="sas.perspectives.fitting.basepage.BasicPage.get_copy_params_excel"> |
---|
190 | <tt class="descclassname">BasicPage.</tt><tt class="descname">get_copy_params_excel</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/basepage.html#BasicPage.get_copy_params_excel"><span class="viewcode-link">[source]</span></a></dt> |
---|
191 | <dd><p>Get the string copies of the param names and values in the tap</p> |
---|
192 | </dd></dl> |
---|
193 | |
---|
194 | <dl class="method"> |
---|
195 | <dt id="sas.perspectives.fitting.basepage.BasicPage.get_copy_params_latex"> |
---|
196 | <tt class="descclassname">BasicPage.</tt><tt class="descname">get_copy_params_latex</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/basepage.html#BasicPage.get_copy_params_latex"><span class="viewcode-link">[source]</span></a></dt> |
---|
197 | <dd><p>Get the string copies of the param names and values in the tap</p> |
---|
198 | </dd></dl> |
---|
199 | |
---|
200 | <dl class="method"> |
---|
201 | <dt id="sas.perspectives.fitting.basepage.BasicPage.get_data"> |
---|
202 | <tt class="descclassname">BasicPage.</tt><tt class="descname">get_data</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/basepage.html#BasicPage.get_data"><span class="viewcode-link">[source]</span></a></dt> |
---|
203 | <dd><p>return the current data</p> |
---|
204 | </dd></dl> |
---|
205 | |
---|
206 | <dl class="method"> |
---|
207 | <dt id="sas.perspectives.fitting.basepage.BasicPage.get_data_list"> |
---|
208 | <tt class="descclassname">BasicPage.</tt><tt class="descname">get_data_list</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/basepage.html#BasicPage.get_data_list"><span class="viewcode-link">[source]</span></a></dt> |
---|
209 | <dd><p>return the current data</p> |
---|
210 | </dd></dl> |
---|
211 | |
---|
212 | <dl class="method"> |
---|
213 | <dt id="sas.perspectives.fitting.basepage.BasicPage.get_images"> |
---|
214 | <tt class="descclassname">BasicPage.</tt><tt class="descname">get_images</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/basepage.html#BasicPage.get_images"><span class="viewcode-link">[source]</span></a></dt> |
---|
215 | <dd><p>Get the images of the plots corresponding this panel for report</p> |
---|
216 | <p>: return graphs: list of figures |
---|
217 | : Need Move to guiframe</p> |
---|
218 | </dd></dl> |
---|
219 | |
---|
220 | <dl class="method"> |
---|
221 | <dt id="sas.perspectives.fitting.basepage.BasicPage.get_paste"> |
---|
222 | <tt class="descclassname">BasicPage.</tt><tt class="descname">get_paste</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/basepage.html#BasicPage.get_paste"><span class="viewcode-link">[source]</span></a></dt> |
---|
223 | <dd><p>Paste params from the clipboard</p> |
---|
224 | </dd></dl> |
---|
225 | |
---|
226 | <dl class="method"> |
---|
227 | <dt id="sas.perspectives.fitting.basepage.BasicPage.get_paste_params"> |
---|
228 | <tt class="descclassname">BasicPage.</tt><tt class="descname">get_paste_params</tt><big>(</big><em>text=''</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/basepage.html#BasicPage.get_paste_params"><span class="viewcode-link">[source]</span></a></dt> |
---|
229 | <dd><p>Get the string copies of the param names and values in the tap</p> |
---|
230 | </dd></dl> |
---|
231 | |
---|
232 | <dl class="method"> |
---|
233 | <dt id="sas.perspectives.fitting.basepage.BasicPage.get_state"> |
---|
234 | <tt class="descclassname">BasicPage.</tt><tt class="descname">get_state</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/basepage.html#BasicPage.get_state"><span class="viewcode-link">[source]</span></a></dt> |
---|
235 | <dd></dd></dl> |
---|
236 | |
---|
237 | <dl class="method"> |
---|
238 | <dt id="sas.perspectives.fitting.basepage.BasicPage.get_weight_flag"> |
---|
239 | <tt class="descclassname">BasicPage.</tt><tt class="descname">get_weight_flag</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/basepage.html#BasicPage.get_weight_flag"><span class="viewcode-link">[source]</span></a></dt> |
---|
240 | <dd><p>Get flag corresponding to a given weighting dI data if implemented</p> |
---|
241 | </dd></dl> |
---|
242 | |
---|
243 | <dl class="method"> |
---|
244 | <dt id="sas.perspectives.fitting.basepage.BasicPage.initialize_combox"> |
---|
245 | <tt class="descclassname">BasicPage.</tt><tt class="descname">initialize_combox</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/basepage.html#BasicPage.initialize_combox"><span class="viewcode-link">[source]</span></a></dt> |
---|
246 | <dd><p>put default value in the combobox</p> |
---|
247 | </dd></dl> |
---|
248 | |
---|
249 | <dl class="method"> |
---|
250 | <dt id="sas.perspectives.fitting.basepage.BasicPage.onContextMenu"> |
---|
251 | <tt class="descclassname">BasicPage.</tt><tt class="descname">onContextMenu</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/basepage.html#BasicPage.onContextMenu"><span class="viewcode-link">[source]</span></a></dt> |
---|
252 | <dd><p>Retrieve the state selected state</p> |
---|
253 | </dd></dl> |
---|
254 | |
---|
255 | <dl class="method"> |
---|
256 | <dt id="sas.perspectives.fitting.basepage.BasicPage.onPinholeSmear"> |
---|
257 | <tt class="descclassname">BasicPage.</tt><tt class="descname">onPinholeSmear</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/basepage.html#BasicPage.onPinholeSmear"><span class="viewcode-link">[source]</span></a></dt> |
---|
258 | <dd><p>Create a custom pinhole smear object if implemented</p> |
---|
259 | </dd></dl> |
---|
260 | |
---|
261 | <dl class="method"> |
---|
262 | <dt id="sas.perspectives.fitting.basepage.BasicPage.onRedo"> |
---|
263 | <tt class="descclassname">BasicPage.</tt><tt class="descname">onRedo</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/basepage.html#BasicPage.onRedo"><span class="viewcode-link">[source]</span></a></dt> |
---|
264 | <dd><p>Restore the previous action cancelled</p> |
---|
265 | </dd></dl> |
---|
266 | |
---|
267 | <dl class="method"> |
---|
268 | <dt id="sas.perspectives.fitting.basepage.BasicPage.onResetModel"> |
---|
269 | <tt class="descclassname">BasicPage.</tt><tt class="descname">onResetModel</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/basepage.html#BasicPage.onResetModel"><span class="viewcode-link">[source]</span></a></dt> |
---|
270 | <dd><p>Reset model state</p> |
---|
271 | </dd></dl> |
---|
272 | |
---|
273 | <dl class="method"> |
---|
274 | <dt id="sas.perspectives.fitting.basepage.BasicPage.onSetFocus"> |
---|
275 | <tt class="descclassname">BasicPage.</tt><tt class="descname">onSetFocus</tt><big>(</big><em>evt</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/basepage.html#BasicPage.onSetFocus"><span class="viewcode-link">[source]</span></a></dt> |
---|
276 | <dd><p>highlight the current textcrtl and hide the error text control shown |
---|
277 | after fitting</p> |
---|
278 | </dd></dl> |
---|
279 | |
---|
280 | <dl class="method"> |
---|
281 | <dt id="sas.perspectives.fitting.basepage.BasicPage.onSlitSmear"> |
---|
282 | <tt class="descclassname">BasicPage.</tt><tt class="descname">onSlitSmear</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/basepage.html#BasicPage.onSlitSmear"><span class="viewcode-link">[source]</span></a></dt> |
---|
283 | <dd><p>Create a custom slit smear object if implemented</p> |
---|
284 | </dd></dl> |
---|
285 | |
---|
286 | <dl class="method"> |
---|
287 | <dt id="sas.perspectives.fitting.basepage.BasicPage.onSmear"> |
---|
288 | <tt class="descclassname">BasicPage.</tt><tt class="descname">onSmear</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/basepage.html#BasicPage.onSmear"><span class="viewcode-link">[source]</span></a></dt> |
---|
289 | <dd><p>Create a smear object if implemented</p> |
---|
290 | </dd></dl> |
---|
291 | |
---|
292 | <dl class="method"> |
---|
293 | <dt id="sas.perspectives.fitting.basepage.BasicPage.onUndo"> |
---|
294 | <tt class="descclassname">BasicPage.</tt><tt class="descname">onUndo</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/basepage.html#BasicPage.onUndo"><span class="viewcode-link">[source]</span></a></dt> |
---|
295 | <dd><p>Cancel the previous action</p> |
---|
296 | </dd></dl> |
---|
297 | |
---|
298 | <dl class="method"> |
---|
299 | <dt id="sas.perspectives.fitting.basepage.BasicPage.on_bookmark"> |
---|
300 | <tt class="descclassname">BasicPage.</tt><tt class="descname">on_bookmark</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/basepage.html#BasicPage.on_bookmark"><span class="viewcode-link">[source]</span></a></dt> |
---|
301 | <dd><p>save history of the data and model</p> |
---|
302 | </dd></dl> |
---|
303 | |
---|
304 | <dl class="method"> |
---|
305 | <dt id="sas.perspectives.fitting.basepage.BasicPage.on_copy"> |
---|
306 | <tt class="descclassname">BasicPage.</tt><tt class="descname">on_copy</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/basepage.html#BasicPage.on_copy"><span class="viewcode-link">[source]</span></a></dt> |
---|
307 | <dd><p>Copy Parameter values to the clipboad</p> |
---|
308 | </dd></dl> |
---|
309 | |
---|
310 | <dl class="method"> |
---|
311 | <dt id="sas.perspectives.fitting.basepage.BasicPage.on_left_down"> |
---|
312 | <tt class="descclassname">BasicPage.</tt><tt class="descname">on_left_down</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/basepage.html#BasicPage.on_left_down"><span class="viewcode-link">[source]</span></a></dt> |
---|
313 | <dd><p>Get key stroke event</p> |
---|
314 | </dd></dl> |
---|
315 | |
---|
316 | <dl class="method"> |
---|
317 | <dt id="sas.perspectives.fitting.basepage.BasicPage.on_model_help_clicked"> |
---|
318 | <tt class="descclassname">BasicPage.</tt><tt class="descname">on_model_help_clicked</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/basepage.html#BasicPage.on_model_help_clicked"><span class="viewcode-link">[source]</span></a></dt> |
---|
319 | <dd><p>on ‘More details’ button</p> |
---|
320 | </dd></dl> |
---|
321 | |
---|
322 | <dl class="method"> |
---|
323 | <dt id="sas.perspectives.fitting.basepage.BasicPage.on_paste"> |
---|
324 | <tt class="descclassname">BasicPage.</tt><tt class="descname">on_paste</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/basepage.html#BasicPage.on_paste"><span class="viewcode-link">[source]</span></a></dt> |
---|
325 | <dd><p>Paste Parameter values to the panel if possible</p> |
---|
326 | </dd></dl> |
---|
327 | |
---|
328 | <dl class="method"> |
---|
329 | <dt id="sas.perspectives.fitting.basepage.BasicPage.on_pd_help_clicked"> |
---|
330 | <tt class="descclassname">BasicPage.</tt><tt class="descname">on_pd_help_clicked</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/basepage.html#BasicPage.on_pd_help_clicked"><span class="viewcode-link">[source]</span></a></dt> |
---|
331 | <dd><p>Button event for PD help</p> |
---|
332 | </dd></dl> |
---|
333 | |
---|
334 | <dl class="method"> |
---|
335 | <dt id="sas.perspectives.fitting.basepage.BasicPage.on_preview"> |
---|
336 | <tt class="descclassname">BasicPage.</tt><tt class="descname">on_preview</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/basepage.html#BasicPage.on_preview"><span class="viewcode-link">[source]</span></a></dt> |
---|
337 | <dd><p>Report the current fit results</p> |
---|
338 | </dd></dl> |
---|
339 | |
---|
340 | <dl class="method"> |
---|
341 | <dt id="sas.perspectives.fitting.basepage.BasicPage.on_reset_clicked"> |
---|
342 | <tt class="descclassname">BasicPage.</tt><tt class="descname">on_reset_clicked</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/basepage.html#BasicPage.on_reset_clicked"><span class="viewcode-link">[source]</span></a></dt> |
---|
343 | <dd><p>On ‘Reset’ button for Q range clicked</p> |
---|
344 | </dd></dl> |
---|
345 | |
---|
346 | <dl class="method"> |
---|
347 | <dt id="sas.perspectives.fitting.basepage.BasicPage.on_save"> |
---|
348 | <tt class="descclassname">BasicPage.</tt><tt class="descname">on_save</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/basepage.html#BasicPage.on_save"><span class="viewcode-link">[source]</span></a></dt> |
---|
349 | <dd><p>Save the current state into file</p> |
---|
350 | </dd></dl> |
---|
351 | |
---|
352 | <dl class="method"> |
---|
353 | <dt id="sas.perspectives.fitting.basepage.BasicPage.on_set_focus"> |
---|
354 | <tt class="descclassname">BasicPage.</tt><tt class="descname">on_set_focus</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/basepage.html#BasicPage.on_set_focus"><span class="viewcode-link">[source]</span></a></dt> |
---|
355 | <dd><p>On Set Focus, update guimanger and menu</p> |
---|
356 | </dd></dl> |
---|
357 | |
---|
358 | <dl class="method"> |
---|
359 | <dt id="sas.perspectives.fitting.basepage.BasicPage.on_smear_helper"> |
---|
360 | <tt class="descclassname">BasicPage.</tt><tt class="descname">on_smear_helper</tt><big>(</big><em>update=False</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/basepage.html#BasicPage.on_smear_helper"><span class="viewcode-link">[source]</span></a></dt> |
---|
361 | <dd><p>Help for onSmear if implemented</p> |
---|
362 | <table class="docutils field-list" frame="void" rules="none"> |
---|
363 | <col class="field-name" /> |
---|
364 | <col class="field-body" /> |
---|
365 | <tbody valign="top"> |
---|
366 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>update</strong> – force or not to update</td> |
---|
367 | </tr> |
---|
368 | </tbody> |
---|
369 | </table> |
---|
370 | </dd></dl> |
---|
371 | |
---|
372 | <dl class="method"> |
---|
373 | <dt id="sas.perspectives.fitting.basepage.BasicPage.on_tap_focus"> |
---|
374 | <tt class="descclassname">BasicPage.</tt><tt class="descname">on_tap_focus</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/basepage.html#BasicPage.on_tap_focus"><span class="viewcode-link">[source]</span></a></dt> |
---|
375 | <dd><p>Update menu1 on cliking the page tap</p> |
---|
376 | </dd></dl> |
---|
377 | |
---|
378 | <dl class="method"> |
---|
379 | <dt id="sas.perspectives.fitting.basepage.BasicPage.populate_box"> |
---|
380 | <tt class="descclassname">BasicPage.</tt><tt class="descname">populate_box</tt><big>(</big><em>model_dict</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/basepage.html#BasicPage.populate_box"><span class="viewcode-link">[source]</span></a></dt> |
---|
381 | <dd><p>Store list of model</p> |
---|
382 | <table class="docutils field-list" frame="void" rules="none"> |
---|
383 | <col class="field-name" /> |
---|
384 | <col class="field-body" /> |
---|
385 | <tbody valign="top"> |
---|
386 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>model_dict</strong> – dictionary containing list of models</td> |
---|
387 | </tr> |
---|
388 | </tbody> |
---|
389 | </table> |
---|
390 | </dd></dl> |
---|
391 | |
---|
392 | <dl class="method"> |
---|
393 | <dt id="sas.perspectives.fitting.basepage.BasicPage.read_file"> |
---|
394 | <tt class="descclassname">BasicPage.</tt><tt class="descname">read_file</tt><big>(</big><em>path</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/basepage.html#BasicPage.read_file"><span class="viewcode-link">[source]</span></a></dt> |
---|
395 | <dd><p>Read two columns file</p> |
---|
396 | <table class="docutils field-list" frame="void" rules="none"> |
---|
397 | <col class="field-name" /> |
---|
398 | <col class="field-body" /> |
---|
399 | <tbody valign="top"> |
---|
400 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>path</strong> – the path to the file to read</td> |
---|
401 | </tr> |
---|
402 | </tbody> |
---|
403 | </table> |
---|
404 | </dd></dl> |
---|
405 | |
---|
406 | <dl class="method"> |
---|
407 | <dt id="sas.perspectives.fitting.basepage.BasicPage.reset_page"> |
---|
408 | <tt class="descclassname">BasicPage.</tt><tt class="descname">reset_page</tt><big>(</big><em>state</em>, <em>first=False</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/basepage.html#BasicPage.reset_page"><span class="viewcode-link">[source]</span></a></dt> |
---|
409 | <dd><p>reset the state if implemented</p> |
---|
410 | </dd></dl> |
---|
411 | |
---|
412 | <dl class="method"> |
---|
413 | <dt id="sas.perspectives.fitting.basepage.BasicPage.reset_page_helper"> |
---|
414 | <tt class="descclassname">BasicPage.</tt><tt class="descname">reset_page_helper</tt><big>(</big><em>state</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/basepage.html#BasicPage.reset_page_helper"><span class="viewcode-link">[source]</span></a></dt> |
---|
415 | <dd><p>Use page_state and change the state of existing page</p> |
---|
416 | <table class="docutils field-list" frame="void" rules="none"> |
---|
417 | <col class="field-name" /> |
---|
418 | <col class="field-body" /> |
---|
419 | <tbody valign="top"> |
---|
420 | <tr class="field-odd field"><th class="field-name">Precondition:</th><td class="field-body">the page is already drawn or created</td> |
---|
421 | </tr> |
---|
422 | <tr class="field-even field"><th class="field-name">Postcondition:</th><td class="field-body">the state of the underlying data change as well as the |
---|
423 | state of the graphic interface</td> |
---|
424 | </tr> |
---|
425 | </tbody> |
---|
426 | </table> |
---|
427 | </dd></dl> |
---|
428 | |
---|
429 | <dl class="method"> |
---|
430 | <dt id="sas.perspectives.fitting.basepage.BasicPage.save_current_state"> |
---|
431 | <tt class="descclassname">BasicPage.</tt><tt class="descname">save_current_state</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/basepage.html#BasicPage.save_current_state"><span class="viewcode-link">[source]</span></a></dt> |
---|
432 | <dd><p>Store current state</p> |
---|
433 | </dd></dl> |
---|
434 | |
---|
435 | <dl class="method"> |
---|
436 | <dt id="sas.perspectives.fitting.basepage.BasicPage.save_current_state_fit"> |
---|
437 | <tt class="descclassname">BasicPage.</tt><tt class="descname">save_current_state_fit</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/basepage.html#BasicPage.save_current_state_fit"><span class="viewcode-link">[source]</span></a></dt> |
---|
438 | <dd><p>Store current state for fit_page</p> |
---|
439 | </dd></dl> |
---|
440 | |
---|
441 | <dl class="method"> |
---|
442 | <dt id="sas.perspectives.fitting.basepage.BasicPage.select_all_param"> |
---|
443 | <tt class="descclassname">BasicPage.</tt><tt class="descname">select_all_param</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/basepage.html#BasicPage.select_all_param"><span class="viewcode-link">[source]</span></a></dt> |
---|
444 | <dd><p>set to true or false all checkBox if implemented</p> |
---|
445 | </dd></dl> |
---|
446 | |
---|
447 | <dl class="method"> |
---|
448 | <dt id="sas.perspectives.fitting.basepage.BasicPage.select_log"> |
---|
449 | <tt class="descclassname">BasicPage.</tt><tt class="descname">select_log</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/basepage.html#BasicPage.select_log"><span class="viewcode-link">[source]</span></a></dt> |
---|
450 | <dd><p>Log checked to generate log spaced points for theory model</p> |
---|
451 | </dd></dl> |
---|
452 | |
---|
453 | <dl class="method"> |
---|
454 | <dt id="sas.perspectives.fitting.basepage.BasicPage.select_param"> |
---|
455 | <tt class="descclassname">BasicPage.</tt><tt class="descname">select_param</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/basepage.html#BasicPage.select_param"><span class="viewcode-link">[source]</span></a></dt> |
---|
456 | <dd><p>Select TextCtrl checked if implemented</p> |
---|
457 | </dd></dl> |
---|
458 | |
---|
459 | <dl class="method"> |
---|
460 | <dt id="sas.perspectives.fitting.basepage.BasicPage.set_clipboard"> |
---|
461 | <tt class="descclassname">BasicPage.</tt><tt class="descname">set_clipboard</tt><big>(</big><em>content=None</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/basepage.html#BasicPage.set_clipboard"><span class="viewcode-link">[source]</span></a></dt> |
---|
462 | <dd><p>Put the string to the clipboard</p> |
---|
463 | </dd></dl> |
---|
464 | |
---|
465 | <dl class="method"> |
---|
466 | <dt id="sas.perspectives.fitting.basepage.BasicPage.set_data"> |
---|
467 | <tt class="descclassname">BasicPage.</tt><tt class="descname">set_data</tt><big>(</big><em>data=None</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/basepage.html#BasicPage.set_data"><span class="viewcode-link">[source]</span></a></dt> |
---|
468 | <dd><p>Sets data if implemented</p> |
---|
469 | </dd></dl> |
---|
470 | |
---|
471 | <dl class="method"> |
---|
472 | <dt id="sas.perspectives.fitting.basepage.BasicPage.set_dispers_sizer"> |
---|
473 | <tt class="descclassname">BasicPage.</tt><tt class="descname">set_dispers_sizer</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/basepage.html#BasicPage.set_dispers_sizer"><span class="viewcode-link">[source]</span></a></dt> |
---|
474 | <dd><p>fill sizer containing dispersity info</p> |
---|
475 | </dd></dl> |
---|
476 | |
---|
477 | <dl class="method"> |
---|
478 | <dt id="sas.perspectives.fitting.basepage.BasicPage.set_index_model"> |
---|
479 | <tt class="descclassname">BasicPage.</tt><tt class="descname">set_index_model</tt><big>(</big><em>index</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/basepage.html#BasicPage.set_index_model"><span class="viewcode-link">[source]</span></a></dt> |
---|
480 | <dd><p>Index related to this page</p> |
---|
481 | </dd></dl> |
---|
482 | |
---|
483 | <dl class="method"> |
---|
484 | <dt id="sas.perspectives.fitting.basepage.BasicPage.set_layout"> |
---|
485 | <tt class="descclassname">BasicPage.</tt><tt class="descname">set_layout</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/basepage.html#BasicPage.set_layout"><span class="viewcode-link">[source]</span></a></dt> |
---|
486 | <dd><p>layout</p> |
---|
487 | </dd></dl> |
---|
488 | |
---|
489 | <dl class="method"> |
---|
490 | <dt id="sas.perspectives.fitting.basepage.BasicPage.set_manager"> |
---|
491 | <tt class="descclassname">BasicPage.</tt><tt class="descname">set_manager</tt><big>(</big><em>manager</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/basepage.html#BasicPage.set_manager"><span class="viewcode-link">[source]</span></a></dt> |
---|
492 | <dd><p>set panel manager</p> |
---|
493 | <table class="docutils field-list" frame="void" rules="none"> |
---|
494 | <col class="field-name" /> |
---|
495 | <col class="field-body" /> |
---|
496 | <tbody valign="top"> |
---|
497 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>manager</strong> – instance of plugin fitting</td> |
---|
498 | </tr> |
---|
499 | </tbody> |
---|
500 | </table> |
---|
501 | </dd></dl> |
---|
502 | |
---|
503 | <dl class="method"> |
---|
504 | <dt id="sas.perspectives.fitting.basepage.BasicPage.set_model_dictionary"> |
---|
505 | <tt class="descclassname">BasicPage.</tt><tt class="descname">set_model_dictionary</tt><big>(</big><em>model_dict</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/basepage.html#BasicPage.set_model_dictionary"><span class="viewcode-link">[source]</span></a></dt> |
---|
506 | <dd><p>Store a dictionary linking model name -> model object</p> |
---|
507 | <table class="docutils field-list" frame="void" rules="none"> |
---|
508 | <col class="field-name" /> |
---|
509 | <col class="field-body" /> |
---|
510 | <tbody valign="top"> |
---|
511 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>model_dict</strong> – dictionary containing list of models</td> |
---|
512 | </tr> |
---|
513 | </tbody> |
---|
514 | </table> |
---|
515 | </dd></dl> |
---|
516 | |
---|
517 | <dl class="method"> |
---|
518 | <dt id="sas.perspectives.fitting.basepage.BasicPage.set_model_state"> |
---|
519 | <tt class="descclassname">BasicPage.</tt><tt class="descname">set_model_state</tt><big>(</big><em>state</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/basepage.html#BasicPage.set_model_state"><span class="viewcode-link">[source]</span></a></dt> |
---|
520 | <dd><p>reset page given a model state</p> |
---|
521 | </dd></dl> |
---|
522 | |
---|
523 | <dl class="method"> |
---|
524 | <dt id="sas.perspectives.fitting.basepage.BasicPage.set_owner"> |
---|
525 | <tt class="descclassname">BasicPage.</tt><tt class="descname">set_owner</tt><big>(</big><em>owner</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/basepage.html#BasicPage.set_owner"><span class="viewcode-link">[source]</span></a></dt> |
---|
526 | <dd><p>set owner of fitpage</p> |
---|
527 | <table class="docutils field-list" frame="void" rules="none"> |
---|
528 | <col class="field-name" /> |
---|
529 | <col class="field-body" /> |
---|
530 | <tbody valign="top"> |
---|
531 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>owner</strong> – the class responsible of plotting</td> |
---|
532 | </tr> |
---|
533 | </tbody> |
---|
534 | </table> |
---|
535 | </dd></dl> |
---|
536 | |
---|
537 | <dl class="method"> |
---|
538 | <dt id="sas.perspectives.fitting.basepage.BasicPage.set_page_info"> |
---|
539 | <tt class="descclassname">BasicPage.</tt><tt class="descname">set_page_info</tt><big>(</big><em>page_info</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/basepage.html#BasicPage.set_page_info"><span class="viewcode-link">[source]</span></a></dt> |
---|
540 | <dd><p>set some page important information at once</p> |
---|
541 | </dd></dl> |
---|
542 | |
---|
543 | <dl class="method"> |
---|
544 | <dt id="sas.perspectives.fitting.basepage.BasicPage.show_npts2fit"> |
---|
545 | <tt class="descclassname">BasicPage.</tt><tt class="descname">show_npts2fit</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/basepage.html#BasicPage.show_npts2fit"><span class="viewcode-link">[source]</span></a></dt> |
---|
546 | <dd><p>setValue Npts for fitting if implemented</p> |
---|
547 | </dd></dl> |
---|
548 | |
---|
549 | <dl class="method"> |
---|
550 | <dt id="sas.perspectives.fitting.basepage.BasicPage.update_pinhole_smear"> |
---|
551 | <tt class="descclassname">BasicPage.</tt><tt class="descname">update_pinhole_smear</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/basepage.html#BasicPage.update_pinhole_smear"><span class="viewcode-link">[source]</span></a></dt> |
---|
552 | <dd><p>Method to be called by sub-classes |
---|
553 | Moveit; This method doesn’t belong here</p> |
---|
554 | </dd></dl> |
---|
555 | |
---|
556 | <dl class="method"> |
---|
557 | <dt id="sas.perspectives.fitting.basepage.BasicPage.update_slit_smear"> |
---|
558 | <tt class="descclassname">BasicPage.</tt><tt class="descname">update_slit_smear</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/basepage.html#BasicPage.update_slit_smear"><span class="viewcode-link">[source]</span></a></dt> |
---|
559 | <dd><p>called by kill_focus on pinhole TextCntrl |
---|
560 | to update the changes if implemented</p> |
---|
561 | </dd></dl> |
---|
562 | |
---|
563 | <dl class="attribute"> |
---|
564 | <dt id="sas.perspectives.fitting.basepage.BasicPage.window_caption"> |
---|
565 | <tt class="descclassname">BasicPage.</tt><tt class="descname">window_caption</tt><em class="property"> = 'Fit Page '</em></dt> |
---|
566 | <dd></dd></dl> |
---|
567 | |
---|
568 | <dl class="attribute"> |
---|
569 | <dt id="sas.perspectives.fitting.basepage.BasicPage.window_name"> |
---|
570 | <tt class="descclassname">BasicPage.</tt><tt class="descname">window_name</tt><em class="property"> = 'Fit Page'</em></dt> |
---|
571 | <dd></dd></dl> |
---|
572 | |
---|
573 | </dd></dl> |
---|
574 | |
---|
575 | </div> |
---|
576 | <div class="section" id="module-sas.perspectives.fitting.batchfitpage"> |
---|
577 | <span id="sas-perspectives-fitting-batchfitpage-module"></span><h2>sas.perspectives.fitting.batchfitpage module</h2> |
---|
578 | <p>Batch panel</p> |
---|
579 | <dl class="class"> |
---|
580 | <dt id="sas.perspectives.fitting.batchfitpage.BGTextCtrl"> |
---|
581 | <em class="property">class </em><tt class="descclassname">sas.perspectives.fitting.batchfitpage.</tt><tt class="descname">BGTextCtrl</tt><big>(</big><em>*args</em>, <em>**kwds</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/batchfitpage.html#BGTextCtrl"><span class="viewcode-link">[source]</span></a></dt> |
---|
582 | <dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">wx._controls.TextCtrl</span></tt></p> |
---|
583 | <p>Text control used to display outputs. |
---|
584 | No editing allowed. The background is |
---|
585 | grayed out. User can’t select text.</p> |
---|
586 | </dd></dl> |
---|
587 | |
---|
588 | <dl class="class"> |
---|
589 | <dt id="sas.perspectives.fitting.batchfitpage.BatchFitPage"> |
---|
590 | <em class="property">class </em><tt class="descclassname">sas.perspectives.fitting.batchfitpage.</tt><tt class="descname">BatchFitPage</tt><big>(</big><em>parent</em>, <em>color=None</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/batchfitpage.html#BatchFitPage"><span class="viewcode-link">[source]</span></a></dt> |
---|
591 | <dd><p>Bases: <a class="reference internal" href="#sas.perspectives.fitting.fitpage.FitPage" title="sas.perspectives.fitting.fitpage.FitPage"><tt class="xref py py-class docutils literal"><span class="pre">sas.perspectives.fitting.fitpage.FitPage</span></tt></a></p> |
---|
592 | <p>Batch Page</p> |
---|
593 | <dl class="method"> |
---|
594 | <dt id="sas.perspectives.fitting.batchfitpage.BatchFitPage.save_current_state"> |
---|
595 | <tt class="descname">save_current_state</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/batchfitpage.html#BatchFitPage.save_current_state"><span class="viewcode-link">[source]</span></a></dt> |
---|
596 | <dd><p>Currently no save option implemented for batch page</p> |
---|
597 | </dd></dl> |
---|
598 | |
---|
599 | <dl class="method"> |
---|
600 | <dt id="sas.perspectives.fitting.batchfitpage.BatchFitPage.save_current_state_fit"> |
---|
601 | <tt class="descname">save_current_state_fit</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/batchfitpage.html#BatchFitPage.save_current_state_fit"><span class="viewcode-link">[source]</span></a></dt> |
---|
602 | <dd><p>Currently no save option implemented for batch page</p> |
---|
603 | </dd></dl> |
---|
604 | |
---|
605 | <dl class="method"> |
---|
606 | <dt id="sas.perspectives.fitting.batchfitpage.BatchFitPage.set_data"> |
---|
607 | <tt class="descname">set_data</tt><big>(</big><em>data</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/batchfitpage.html#BatchFitPage.set_data"><span class="viewcode-link">[source]</span></a></dt> |
---|
608 | <dd><p>reset the current data</p> |
---|
609 | </dd></dl> |
---|
610 | |
---|
611 | <dl class="attribute"> |
---|
612 | <dt id="sas.perspectives.fitting.batchfitpage.BatchFitPage.window_caption"> |
---|
613 | <tt class="descname">window_caption</tt><em class="property"> = 'BatchFit'</em></dt> |
---|
614 | <dd></dd></dl> |
---|
615 | |
---|
616 | <dl class="attribute"> |
---|
617 | <dt id="sas.perspectives.fitting.batchfitpage.BatchFitPage.window_name"> |
---|
618 | <tt class="descname">window_name</tt><em class="property"> = 'BatchFit'</em></dt> |
---|
619 | <dd></dd></dl> |
---|
620 | |
---|
621 | </dd></dl> |
---|
622 | |
---|
623 | </div> |
---|
624 | <div class="section" id="module-sas.perspectives.fitting.console"> |
---|
625 | <span id="sas-perspectives-fitting-console-module"></span><h2>sas.perspectives.fitting.console module</h2> |
---|
626 | <dl class="class"> |
---|
627 | <dt id="sas.perspectives.fitting.console.ConsoleUpdate"> |
---|
628 | <em class="property">class </em><tt class="descclassname">sas.perspectives.fitting.console.</tt><tt class="descname">ConsoleUpdate</tt><big>(</big><em>parent</em>, <em>manager=None</em>, <em>quiet=False</em>, <em>progress_delta=60</em>, <em>improvement_delta=5</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/console.html#ConsoleUpdate"><span class="viewcode-link">[source]</span></a></dt> |
---|
629 | <dd><p>Bases: <a class="reference internal" href="sas.fit.html#sas.fit.AbstractFitEngine.FitHandler" title="sas.fit.AbstractFitEngine.FitHandler"><tt class="xref py py-class docutils literal"><span class="pre">sas.fit.AbstractFitEngine.FitHandler</span></tt></a></p> |
---|
630 | <p>Print progress to the console.</p> |
---|
631 | <dl class="method"> |
---|
632 | <dt id="sas.perspectives.fitting.console.ConsoleUpdate.abort"> |
---|
633 | <tt class="descname">abort</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/console.html#ConsoleUpdate.abort"><span class="viewcode-link">[source]</span></a></dt> |
---|
634 | <dd></dd></dl> |
---|
635 | |
---|
636 | <dl class="method"> |
---|
637 | <dt id="sas.perspectives.fitting.console.ConsoleUpdate.error"> |
---|
638 | <tt class="descname">error</tt><big>(</big><em>msg</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/console.html#ConsoleUpdate.error"><span class="viewcode-link">[source]</span></a></dt> |
---|
639 | <dd><p>Model had an error; print traceback</p> |
---|
640 | </dd></dl> |
---|
641 | |
---|
642 | <dl class="method"> |
---|
643 | <dt id="sas.perspectives.fitting.console.ConsoleUpdate.finalize"> |
---|
644 | <tt class="descname">finalize</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/console.html#ConsoleUpdate.finalize"><span class="viewcode-link">[source]</span></a></dt> |
---|
645 | <dd></dd></dl> |
---|
646 | |
---|
647 | <dl class="method"> |
---|
648 | <dt id="sas.perspectives.fitting.console.ConsoleUpdate.get_result"> |
---|
649 | <tt class="descname">get_result</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/console.html#ConsoleUpdate.get_result"><span class="viewcode-link">[source]</span></a></dt> |
---|
650 | <dd></dd></dl> |
---|
651 | |
---|
652 | <dl class="method"> |
---|
653 | <dt id="sas.perspectives.fitting.console.ConsoleUpdate.improvement"> |
---|
654 | <tt class="descname">improvement</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/console.html#ConsoleUpdate.improvement"><span class="viewcode-link">[source]</span></a></dt> |
---|
655 | <dd><p>Called when a result is observed which is better than previous |
---|
656 | results from the fit.</p> |
---|
657 | </dd></dl> |
---|
658 | |
---|
659 | <dl class="attribute"> |
---|
660 | <dt id="sas.perspectives.fitting.console.ConsoleUpdate.improvement_delta"> |
---|
661 | <tt class="descname">improvement_delta</tt><em class="property"> = 5</em></dt> |
---|
662 | <dd><p>Number of seconds between improvement updates</p> |
---|
663 | </dd></dl> |
---|
664 | |
---|
665 | <dl class="attribute"> |
---|
666 | <dt id="sas.perspectives.fitting.console.ConsoleUpdate.isbetter"> |
---|
667 | <tt class="descname">isbetter</tt><em class="property"> = False</em></dt> |
---|
668 | <dd><p>Record whether results improved since last update</p> |
---|
669 | </dd></dl> |
---|
670 | |
---|
671 | <dl class="method"> |
---|
672 | <dt id="sas.perspectives.fitting.console.ConsoleUpdate.print_result"> |
---|
673 | <tt class="descname">print_result</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/console.html#ConsoleUpdate.print_result"><span class="viewcode-link">[source]</span></a></dt> |
---|
674 | <dd><p>Print result object</p> |
---|
675 | </dd></dl> |
---|
676 | |
---|
677 | <dl class="method"> |
---|
678 | <dt id="sas.perspectives.fitting.console.ConsoleUpdate.progress"> |
---|
679 | <tt class="descname">progress</tt><big>(</big><em>k</em>, <em>n</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/console.html#ConsoleUpdate.progress"><span class="viewcode-link">[source]</span></a></dt> |
---|
680 | <dd><p>Report on progress.</p> |
---|
681 | </dd></dl> |
---|
682 | |
---|
683 | <dl class="attribute"> |
---|
684 | <dt id="sas.perspectives.fitting.console.ConsoleUpdate.progress_delta"> |
---|
685 | <tt class="descname">progress_delta</tt><em class="property"> = 60</em></dt> |
---|
686 | <dd><p>Number of seconds between progress updates</p> |
---|
687 | </dd></dl> |
---|
688 | |
---|
689 | <dl class="method"> |
---|
690 | <dt id="sas.perspectives.fitting.console.ConsoleUpdate.set_result"> |
---|
691 | <tt class="descname">set_result</tt><big>(</big><em>result</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/console.html#ConsoleUpdate.set_result"><span class="viewcode-link">[source]</span></a></dt> |
---|
692 | <dd></dd></dl> |
---|
693 | |
---|
694 | <dl class="method"> |
---|
695 | <dt id="sas.perspectives.fitting.console.ConsoleUpdate.starting_fit"> |
---|
696 | <tt class="descname">starting_fit</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/console.html#ConsoleUpdate.starting_fit"><span class="viewcode-link">[source]</span></a></dt> |
---|
697 | <dd></dd></dl> |
---|
698 | |
---|
699 | <dl class="method"> |
---|
700 | <dt id="sas.perspectives.fitting.console.ConsoleUpdate.stop"> |
---|
701 | <tt class="descname">stop</tt><big>(</big><em>msg</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/console.html#ConsoleUpdate.stop"><span class="viewcode-link">[source]</span></a></dt> |
---|
702 | <dd><p>Post event msg and stop</p> |
---|
703 | </dd></dl> |
---|
704 | |
---|
705 | <dl class="method"> |
---|
706 | <dt id="sas.perspectives.fitting.console.ConsoleUpdate.update_fit"> |
---|
707 | <tt class="descname">update_fit</tt><big>(</big><em>last=False</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/console.html#ConsoleUpdate.update_fit"><span class="viewcode-link">[source]</span></a></dt> |
---|
708 | <dd></dd></dl> |
---|
709 | |
---|
710 | </dd></dl> |
---|
711 | |
---|
712 | </div> |
---|
713 | <div class="section" id="module-sas.perspectives.fitting.fit_thread"> |
---|
714 | <span id="sas-perspectives-fitting-fit-thread-module"></span><h2>sas.perspectives.fitting.fit_thread module</h2> |
---|
715 | <dl class="class"> |
---|
716 | <dt id="sas.perspectives.fitting.fit_thread.FitThread"> |
---|
717 | <em class="property">class </em><tt class="descclassname">sas.perspectives.fitting.fit_thread.</tt><tt class="descname">FitThread</tt><big>(</big><em>fn</em>, <em>page_id</em>, <em>handler</em>, <em>batch_outputs</em>, <em>batch_inputs=None</em>, <em>pars=None</em>, <em>completefn=None</em>, <em>updatefn=None</em>, <em>yieldtime=0.03</em>, <em>worktime=0.03</em>, <em>ftol=None</em>, <em>reset_flag=False</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fit_thread.html#FitThread"><span class="viewcode-link">[source]</span></a></dt> |
---|
718 | <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> |
---|
719 | <p>Thread performing the fit</p> |
---|
720 | <dl class="method"> |
---|
721 | <dt id="sas.perspectives.fitting.fit_thread.FitThread.compute"> |
---|
722 | <tt class="descname">compute</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fit_thread.html#FitThread.compute"><span class="viewcode-link">[source]</span></a></dt> |
---|
723 | <dd><p>Perform a fit</p> |
---|
724 | </dd></dl> |
---|
725 | |
---|
726 | <dl class="method"> |
---|
727 | <dt id="sas.perspectives.fitting.fit_thread.FitThread.isquit"> |
---|
728 | <tt class="descname">isquit</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fit_thread.html#FitThread.isquit"><span class="viewcode-link">[source]</span></a></dt> |
---|
729 | <dd><table class="docutils field-list" frame="void" rules="none"> |
---|
730 | <col class="field-name" /> |
---|
731 | <col class="field-body" /> |
---|
732 | <tbody valign="top"> |
---|
733 | <tr class="field-odd field"><th class="field-name" colspan="2">Raises KeyboardInterrupt:</th></tr> |
---|
734 | <tr class="field-odd field"><td> </td><td class="field-body">when the thread is interrupted</td> |
---|
735 | </tr> |
---|
736 | </tbody> |
---|
737 | </table> |
---|
738 | </dd></dl> |
---|
739 | |
---|
740 | </dd></dl> |
---|
741 | |
---|
742 | <dl class="function"> |
---|
743 | <dt id="sas.perspectives.fitting.fit_thread.map_apply"> |
---|
744 | <tt class="descclassname">sas.perspectives.fitting.fit_thread.</tt><tt class="descname">map_apply</tt><big>(</big><em>arguments</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fit_thread.html#map_apply"><span class="viewcode-link">[source]</span></a></dt> |
---|
745 | <dd></dd></dl> |
---|
746 | |
---|
747 | <dl class="function"> |
---|
748 | <dt id="sas.perspectives.fitting.fit_thread.map_getattr"> |
---|
749 | <tt class="descclassname">sas.perspectives.fitting.fit_thread.</tt><tt class="descname">map_getattr</tt><big>(</big><em>classInstance</em>, <em>classFunc</em>, <em>*args</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fit_thread.html#map_getattr"><span class="viewcode-link">[source]</span></a></dt> |
---|
750 | <dd><p>Take an instance of a class and a function name as a string. |
---|
751 | Execute class.function and return result</p> |
---|
752 | </dd></dl> |
---|
753 | |
---|
754 | </div> |
---|
755 | <div class="section" id="module-sas.perspectives.fitting.fitpage"> |
---|
756 | <span id="sas-perspectives-fitting-fitpage-module"></span><h2>sas.perspectives.fitting.fitpage module</h2> |
---|
757 | <p>FitPanel class contains fields allowing to display results when |
---|
758 | fitting a model and one data</p> |
---|
759 | <dl class="class"> |
---|
760 | <dt id="sas.perspectives.fitting.fitpage.BGTextCtrl"> |
---|
761 | <em class="property">class </em><tt class="descclassname">sas.perspectives.fitting.fitpage.</tt><tt class="descname">BGTextCtrl</tt><big>(</big><em>*args</em>, <em>**kwds</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitpage.html#BGTextCtrl"><span class="viewcode-link">[source]</span></a></dt> |
---|
762 | <dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">wx._controls.TextCtrl</span></tt></p> |
---|
763 | <p>Text control used to display outputs. |
---|
764 | No editing allowed. The background is |
---|
765 | grayed out. User can’t select text.</p> |
---|
766 | </dd></dl> |
---|
767 | |
---|
768 | <dl class="class"> |
---|
769 | <dt id="sas.perspectives.fitting.fitpage.FitPage"> |
---|
770 | <em class="property">class </em><tt class="descclassname">sas.perspectives.fitting.fitpage.</tt><tt class="descname">FitPage</tt><big>(</big><em>parent</em>, <em>color=None</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitpage.html#FitPage"><span class="viewcode-link">[source]</span></a></dt> |
---|
771 | <dd><p>Bases: <a class="reference internal" href="#sas.perspectives.fitting.basepage.BasicPage" title="sas.perspectives.fitting.basepage.BasicPage"><tt class="xref py py-class docutils literal"><span class="pre">sas.perspectives.fitting.basepage.BasicPage</span></tt></a></p> |
---|
772 | <p>FitPanel class contains fields allowing to display results when |
---|
773 | fitting a model and one data</p> |
---|
774 | <table class="docutils field-list" frame="void" rules="none"> |
---|
775 | <col class="field-name" /> |
---|
776 | <col class="field-body" /> |
---|
777 | <tbody valign="top"> |
---|
778 | <tr class="field-odd field"><th class="field-name">Note:</th><td class="field-body">For Fit to be performed the user should check at least one parameter |
---|
779 | on fit Panel window.</td> |
---|
780 | </tr> |
---|
781 | </tbody> |
---|
782 | </table> |
---|
783 | <dl class="method"> |
---|
784 | <dt id="sas.perspectives.fitting.fitpage.FitPage.compute_data_range"> |
---|
785 | <tt class="descname">compute_data_range</tt><big>(</big><em>data</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitpage.html#FitPage.compute_data_range"><span class="viewcode-link">[source]</span></a></dt> |
---|
786 | <dd><p>compute the minimum and the maximum range of the data |
---|
787 | return the npts contains in data |
---|
788 | :param data:</p> |
---|
789 | </dd></dl> |
---|
790 | |
---|
791 | <dl class="method"> |
---|
792 | <dt id="sas.perspectives.fitting.fitpage.FitPage.compute_data_set_range"> |
---|
793 | <tt class="descname">compute_data_set_range</tt><big>(</big><em>data_list</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitpage.html#FitPage.compute_data_set_range"><span class="viewcode-link">[source]</span></a></dt> |
---|
794 | <dd><p>find the range that include all data in the set |
---|
795 | return the minimum and the maximum values</p> |
---|
796 | </dd></dl> |
---|
797 | |
---|
798 | <dl class="method"> |
---|
799 | <dt id="sas.perspectives.fitting.fitpage.FitPage.enable_datasource"> |
---|
800 | <tt class="descname">enable_datasource</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitpage.html#FitPage.enable_datasource"><span class="viewcode-link">[source]</span></a></dt> |
---|
801 | <dd><p>Enable or disable data source control depending on existing data</p> |
---|
802 | </dd></dl> |
---|
803 | |
---|
804 | <dl class="method"> |
---|
805 | <dt id="sas.perspectives.fitting.fitpage.FitPage.enable_fit_button"> |
---|
806 | <tt class="descname">enable_fit_button</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitpage.html#FitPage.enable_fit_button"><span class="viewcode-link">[source]</span></a></dt> |
---|
807 | <dd><p>Enable fit button if data is valid and model is valid</p> |
---|
808 | </dd></dl> |
---|
809 | |
---|
810 | <dl class="method"> |
---|
811 | <dt id="sas.perspectives.fitting.fitpage.FitPage.fill_data_combobox"> |
---|
812 | <tt class="descname">fill_data_combobox</tt><big>(</big><em>data_list</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitpage.html#FitPage.fill_data_combobox"><span class="viewcode-link">[source]</span></a></dt> |
---|
813 | <dd><p>Get a list of data and fill the corresponding combobox</p> |
---|
814 | </dd></dl> |
---|
815 | |
---|
816 | <dl class="method"> |
---|
817 | <dt id="sas.perspectives.fitting.fitpage.FitPage.get_all_checked_params"> |
---|
818 | <tt class="descname">get_all_checked_params</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitpage.html#FitPage.get_all_checked_params"><span class="viewcode-link">[source]</span></a></dt> |
---|
819 | <dd><p>Found all parameters current check and add them to list of parameters |
---|
820 | to fit</p> |
---|
821 | </dd></dl> |
---|
822 | |
---|
823 | <dl class="method"> |
---|
824 | <dt id="sas.perspectives.fitting.fitpage.FitPage.get_chi2"> |
---|
825 | <tt class="descname">get_chi2</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitpage.html#FitPage.get_chi2"><span class="viewcode-link">[source]</span></a></dt> |
---|
826 | <dd><p>return the current chi2</p> |
---|
827 | </dd></dl> |
---|
828 | |
---|
829 | <dl class="method"> |
---|
830 | <dt id="sas.perspectives.fitting.fitpage.FitPage.get_npts2fit"> |
---|
831 | <tt class="descname">get_npts2fit</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitpage.html#FitPage.get_npts2fit"><span class="viewcode-link">[source]</span></a></dt> |
---|
832 | <dd><p>return numbers of data points within qrange</p> |
---|
833 | <table class="docutils field-list" frame="void" rules="none"> |
---|
834 | <col class="field-name" /> |
---|
835 | <col class="field-body" /> |
---|
836 | <tbody valign="top"> |
---|
837 | <tr class="field-odd field"><th class="field-name">Note:</th><td class="field-body">This is for Park where chi2 is not normalized by Npts of fit</td> |
---|
838 | </tr> |
---|
839 | </tbody> |
---|
840 | </table> |
---|
841 | </dd></dl> |
---|
842 | |
---|
843 | <dl class="method"> |
---|
844 | <dt id="sas.perspectives.fitting.fitpage.FitPage.get_range"> |
---|
845 | <tt class="descname">get_range</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitpage.html#FitPage.get_range"><span class="viewcode-link">[source]</span></a></dt> |
---|
846 | <dd><p>return the fitting range</p> |
---|
847 | </dd></dl> |
---|
848 | |
---|
849 | <dl class="method"> |
---|
850 | <dt id="sas.perspectives.fitting.fitpage.FitPage.get_view_mode"> |
---|
851 | <tt class="descname">get_view_mode</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitpage.html#FitPage.get_view_mode"><span class="viewcode-link">[source]</span></a></dt> |
---|
852 | <dd><p>return True if the panel allow 2D or False if 1D</p> |
---|
853 | </dd></dl> |
---|
854 | |
---|
855 | <dl class="method"> |
---|
856 | <dt id="sas.perspectives.fitting.fitpage.FitPage.get_weight_flag"> |
---|
857 | <tt class="descname">get_weight_flag</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitpage.html#FitPage.get_weight_flag"><span class="viewcode-link">[source]</span></a></dt> |
---|
858 | <dd><p>Get flag corresponding to a given weighting dI data.</p> |
---|
859 | </dd></dl> |
---|
860 | |
---|
861 | <dl class="method"> |
---|
862 | <dt id="sas.perspectives.fitting.fitpage.FitPage.onPinholeSmear"> |
---|
863 | <tt class="descname">onPinholeSmear</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitpage.html#FitPage.onPinholeSmear"><span class="viewcode-link">[source]</span></a></dt> |
---|
864 | <dd><p>Create a custom pinhole smear object that will change the way residuals |
---|
865 | are compute when fitting</p> |
---|
866 | <table class="docutils field-list" frame="void" rules="none"> |
---|
867 | <col class="field-name" /> |
---|
868 | <col class="field-body" /> |
---|
869 | <tbody valign="top"> |
---|
870 | <tr class="field-odd field"><th class="field-name">Note:</th><td class="field-body">accuracy is given by strings’High’,’Med’, ‘Low’ FOR 2d, |
---|
871 | None for 1D</td> |
---|
872 | </tr> |
---|
873 | </tbody> |
---|
874 | </table> |
---|
875 | </dd></dl> |
---|
876 | |
---|
877 | <dl class="method"> |
---|
878 | <dt id="sas.perspectives.fitting.fitpage.FitPage.onSlitSmear"> |
---|
879 | <tt class="descname">onSlitSmear</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitpage.html#FitPage.onSlitSmear"><span class="viewcode-link">[source]</span></a></dt> |
---|
880 | <dd><p>Create a custom slit smear object that will change the way residuals |
---|
881 | are compute when fitting</p> |
---|
882 | </dd></dl> |
---|
883 | |
---|
884 | <dl class="method"> |
---|
885 | <dt id="sas.perspectives.fitting.fitpage.FitPage.onSmear"> |
---|
886 | <tt class="descname">onSmear</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitpage.html#FitPage.onSmear"><span class="viewcode-link">[source]</span></a></dt> |
---|
887 | <dd><p>Create a smear object that will change the way residuals |
---|
888 | are compute when fitting</p> |
---|
889 | </dd></dl> |
---|
890 | |
---|
891 | <dl class="method"> |
---|
892 | <dt id="sas.perspectives.fitting.fitpage.FitPage.onWeighting"> |
---|
893 | <tt class="descname">onWeighting</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitpage.html#FitPage.onWeighting"><span class="viewcode-link">[source]</span></a></dt> |
---|
894 | <dd><p>On Weighting radio button event, sets the weightbt_string</p> |
---|
895 | </dd></dl> |
---|
896 | |
---|
897 | <dl class="method"> |
---|
898 | <dt id="sas.perspectives.fitting.fitpage.FitPage.on_complete_chisqr"> |
---|
899 | <tt class="descname">on_complete_chisqr</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitpage.html#FitPage.on_complete_chisqr"><span class="viewcode-link">[source]</span></a></dt> |
---|
900 | <dd><p>Display result chisqr on the panel |
---|
901 | :event: activated by fitting/ complete after draw</p> |
---|
902 | </dd></dl> |
---|
903 | |
---|
904 | <dl class="method"> |
---|
905 | <dt id="sas.perspectives.fitting.fitpage.FitPage.on_key"> |
---|
906 | <tt class="descname">on_key</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitpage.html#FitPage.on_key"><span class="viewcode-link">[source]</span></a></dt> |
---|
907 | <dd><p>On Key down</p> |
---|
908 | </dd></dl> |
---|
909 | |
---|
910 | <dl class="method"> |
---|
911 | <dt id="sas.perspectives.fitting.fitpage.FitPage.on_qrange_text"> |
---|
912 | <tt class="descname">on_qrange_text</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitpage.html#FitPage.on_qrange_text"><span class="viewcode-link">[source]</span></a></dt> |
---|
913 | <dd><p>#On q range value updated. DO not combine with qrange_click().</p> |
---|
914 | </dd></dl> |
---|
915 | |
---|
916 | <dl class="method"> |
---|
917 | <dt id="sas.perspectives.fitting.fitpage.FitPage.on_right_down"> |
---|
918 | <tt class="descname">on_right_down</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitpage.html#FitPage.on_right_down"><span class="viewcode-link">[source]</span></a></dt> |
---|
919 | <dd><p>Get key stroke event</p> |
---|
920 | </dd></dl> |
---|
921 | |
---|
922 | <dl class="method"> |
---|
923 | <dt id="sas.perspectives.fitting.fitpage.FitPage.on_select_data"> |
---|
924 | <tt class="descname">on_select_data</tt><big>(</big><em>event=None</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitpage.html#FitPage.on_select_data"><span class="viewcode-link">[source]</span></a></dt> |
---|
925 | <dd><p>On_select_data</p> |
---|
926 | </dd></dl> |
---|
927 | |
---|
928 | <dl class="method"> |
---|
929 | <dt id="sas.perspectives.fitting.fitpage.FitPage.on_smear_helper"> |
---|
930 | <tt class="descname">on_smear_helper</tt><big>(</big><em>update=False</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitpage.html#FitPage.on_smear_helper"><span class="viewcode-link">[source]</span></a></dt> |
---|
931 | <dd><p>Help for onSmear</p> |
---|
932 | <table class="docutils field-list" frame="void" rules="none"> |
---|
933 | <col class="field-name" /> |
---|
934 | <col class="field-body" /> |
---|
935 | <tbody valign="top"> |
---|
936 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>update</strong> – force or not to update</td> |
---|
937 | </tr> |
---|
938 | </tbody> |
---|
939 | </table> |
---|
940 | </dd></dl> |
---|
941 | |
---|
942 | <dl class="method"> |
---|
943 | <dt id="sas.perspectives.fitting.fitpage.FitPage.onsetValues"> |
---|
944 | <tt class="descname">onsetValues</tt><big>(</big><em>chisqr</em>, <em>p_name</em>, <em>out</em>, <em>cov</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitpage.html#FitPage.onsetValues"><span class="viewcode-link">[source]</span></a></dt> |
---|
945 | <dd><p>Build the panel from the fit result</p> |
---|
946 | <table class="docutils field-list" frame="void" rules="none"> |
---|
947 | <col class="field-name" /> |
---|
948 | <col class="field-body" /> |
---|
949 | <tbody valign="top"> |
---|
950 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple"> |
---|
951 | <li><strong>chisqr</strong> – Value of the goodness of fit metric</li> |
---|
952 | <li><strong>p_name</strong> – the name of parameters</li> |
---|
953 | <li><strong>out</strong> – list of parameter with the best value found during fitting</li> |
---|
954 | <li><strong>cov</strong> – Covariance matrix</li> |
---|
955 | </ul> |
---|
956 | </td> |
---|
957 | </tr> |
---|
958 | </tbody> |
---|
959 | </table> |
---|
960 | </dd></dl> |
---|
961 | |
---|
962 | <dl class="method"> |
---|
963 | <dt id="sas.perspectives.fitting.fitpage.FitPage.qrang_set_focus"> |
---|
964 | <tt class="descname">qrang_set_focus</tt><big>(</big><em>event=None</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitpage.html#FitPage.qrang_set_focus"><span class="viewcode-link">[source]</span></a></dt> |
---|
965 | <dd><p>ON Qrange focus</p> |
---|
966 | </dd></dl> |
---|
967 | |
---|
968 | <dl class="method"> |
---|
969 | <dt id="sas.perspectives.fitting.fitpage.FitPage.qrange_click"> |
---|
970 | <tt class="descname">qrange_click</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitpage.html#FitPage.qrange_click"><span class="viewcode-link">[source]</span></a></dt> |
---|
971 | <dd><p>On Qrange textctrl click, make the qrange lines in the plot</p> |
---|
972 | </dd></dl> |
---|
973 | |
---|
974 | <dl class="method"> |
---|
975 | <dt id="sas.perspectives.fitting.fitpage.FitPage.rename_model"> |
---|
976 | <tt class="descname">rename_model</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitpage.html#FitPage.rename_model"><span class="viewcode-link">[source]</span></a></dt> |
---|
977 | <dd><p>find a short name for model</p> |
---|
978 | </dd></dl> |
---|
979 | |
---|
980 | <dl class="method"> |
---|
981 | <dt id="sas.perspectives.fitting.fitpage.FitPage.reset_page"> |
---|
982 | <tt class="descname">reset_page</tt><big>(</big><em>state</em>, <em>first=False</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitpage.html#FitPage.reset_page"><span class="viewcode-link">[source]</span></a></dt> |
---|
983 | <dd><p>reset the state</p> |
---|
984 | </dd></dl> |
---|
985 | |
---|
986 | <dl class="method"> |
---|
987 | <dt id="sas.perspectives.fitting.fitpage.FitPage.select_all_param"> |
---|
988 | <tt class="descname">select_all_param</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitpage.html#FitPage.select_all_param"><span class="viewcode-link">[source]</span></a></dt> |
---|
989 | <dd><p>set to true or false all checkBox given the main checkbox value cb1</p> |
---|
990 | </dd></dl> |
---|
991 | |
---|
992 | <dl class="method"> |
---|
993 | <dt id="sas.perspectives.fitting.fitpage.FitPage.select_param"> |
---|
994 | <tt class="descname">select_param</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitpage.html#FitPage.select_param"><span class="viewcode-link">[source]</span></a></dt> |
---|
995 | <dd><p>Select TextCtrl checked for fitting purpose and stores them |
---|
996 | in self.param_toFit=[] list</p> |
---|
997 | </dd></dl> |
---|
998 | |
---|
999 | <dl class="method"> |
---|
1000 | <dt id="sas.perspectives.fitting.fitpage.FitPage.set_data"> |
---|
1001 | <tt class="descname">set_data</tt><big>(</big><em>data</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitpage.html#FitPage.set_data"><span class="viewcode-link">[source]</span></a></dt> |
---|
1002 | <dd><p>reset the current data</p> |
---|
1003 | </dd></dl> |
---|
1004 | |
---|
1005 | <dl class="method"> |
---|
1006 | <dt id="sas.perspectives.fitting.fitpage.FitPage.set_fitbutton"> |
---|
1007 | <tt class="descname">set_fitbutton</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitpage.html#FitPage.set_fitbutton"><span class="viewcode-link">[source]</span></a></dt> |
---|
1008 | <dd><p>Set fit button label depending on the fit_started[bool]</p> |
---|
1009 | </dd></dl> |
---|
1010 | |
---|
1011 | <dl class="method"> |
---|
1012 | <dt id="sas.perspectives.fitting.fitpage.FitPage.set_model_param_sizer"> |
---|
1013 | <tt class="descname">set_model_param_sizer</tt><big>(</big><em>model</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitpage.html#FitPage.set_model_param_sizer"><span class="viewcode-link">[source]</span></a></dt> |
---|
1014 | <dd><p>Build the panel from the model content</p> |
---|
1015 | <table class="docutils field-list" frame="void" rules="none"> |
---|
1016 | <col class="field-name" /> |
---|
1017 | <col class="field-body" /> |
---|
1018 | <tbody valign="top"> |
---|
1019 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>model</strong> – the model selected in combo box for fitting purpose</td> |
---|
1020 | </tr> |
---|
1021 | </tbody> |
---|
1022 | </table> |
---|
1023 | </dd></dl> |
---|
1024 | |
---|
1025 | <dl class="method"> |
---|
1026 | <dt id="sas.perspectives.fitting.fitpage.FitPage.show_npts2fit"> |
---|
1027 | <tt class="descname">show_npts2fit</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitpage.html#FitPage.show_npts2fit"><span class="viewcode-link">[source]</span></a></dt> |
---|
1028 | <dd><p>setValue Npts for fitting</p> |
---|
1029 | </dd></dl> |
---|
1030 | |
---|
1031 | <dl class="method"> |
---|
1032 | <dt id="sas.perspectives.fitting.fitpage.FitPage.update_pinhole_smear"> |
---|
1033 | <tt class="descname">update_pinhole_smear</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitpage.html#FitPage.update_pinhole_smear"><span class="viewcode-link">[source]</span></a></dt> |
---|
1034 | <dd><p>called by kill_focus on pinhole TextCntrl |
---|
1035 | to update the changes</p> |
---|
1036 | <table class="docutils field-list" frame="void" rules="none"> |
---|
1037 | <col class="field-name" /> |
---|
1038 | <col class="field-body" /> |
---|
1039 | <tbody valign="top"> |
---|
1040 | <tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">False when wrong value was entered</td> |
---|
1041 | </tr> |
---|
1042 | </tbody> |
---|
1043 | </table> |
---|
1044 | </dd></dl> |
---|
1045 | |
---|
1046 | <dl class="method"> |
---|
1047 | <dt id="sas.perspectives.fitting.fitpage.FitPage.update_slit_smear"> |
---|
1048 | <tt class="descname">update_slit_smear</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitpage.html#FitPage.update_slit_smear"><span class="viewcode-link">[source]</span></a></dt> |
---|
1049 | <dd><p>called by kill_focus on pinhole TextCntrl |
---|
1050 | to update the changes</p> |
---|
1051 | <table class="docutils field-list" frame="void" rules="none"> |
---|
1052 | <col class="field-name" /> |
---|
1053 | <col class="field-body" /> |
---|
1054 | <tbody valign="top"> |
---|
1055 | <tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">False when wrong value was entered</td> |
---|
1056 | </tr> |
---|
1057 | </tbody> |
---|
1058 | </table> |
---|
1059 | </dd></dl> |
---|
1060 | |
---|
1061 | </dd></dl> |
---|
1062 | |
---|
1063 | </div> |
---|
1064 | <div class="section" id="module-sas.perspectives.fitting.fitpanel"> |
---|
1065 | <span id="sas-perspectives-fitting-fitpanel-module"></span><h2>sas.perspectives.fitting.fitpanel module</h2> |
---|
1066 | <p>FitPanel class contains fields allowing to fit models and data</p> |
---|
1067 | <table class="docutils field-list" frame="void" rules="none"> |
---|
1068 | <col class="field-name" /> |
---|
1069 | <col class="field-body" /> |
---|
1070 | <tbody valign="top"> |
---|
1071 | <tr class="field-odd field"><th class="field-name">note:</th><td class="field-body">For Fit to be performed the user should check at least one parameter |
---|
1072 | on fit Panel window.</td> |
---|
1073 | </tr> |
---|
1074 | </tbody> |
---|
1075 | </table> |
---|
1076 | <dl class="class"> |
---|
1077 | <dt id="sas.perspectives.fitting.fitpanel.FitPanel"> |
---|
1078 | <em class="property">class </em><tt class="descclassname">sas.perspectives.fitting.fitpanel.</tt><tt class="descname">FitPanel</tt><big>(</big><em>parent</em>, <em>manager=None</em>, <em>*args</em>, <em>**kwargs</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitpanel.html#FitPanel"><span class="viewcode-link">[source]</span></a></dt> |
---|
1079 | <dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">wx.aui.AuiNotebook</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> |
---|
1080 | <p>FitPanel class contains fields allowing to fit models and data</p> |
---|
1081 | <table class="docutils field-list" frame="void" rules="none"> |
---|
1082 | <col class="field-name" /> |
---|
1083 | <col class="field-body" /> |
---|
1084 | <tbody valign="top"> |
---|
1085 | <tr class="field-odd field"><th class="field-name">Note:</th><td class="field-body">For Fit to be performed the user should check at least one parameter |
---|
1086 | on fit Panel window.</td> |
---|
1087 | </tr> |
---|
1088 | </tbody> |
---|
1089 | </table> |
---|
1090 | <dl class="attribute"> |
---|
1091 | <dt id="sas.perspectives.fitting.fitpanel.FitPanel.CENTER_PANE"> |
---|
1092 | <tt class="descname">CENTER_PANE</tt><em class="property"> = True</em></dt> |
---|
1093 | <dd></dd></dl> |
---|
1094 | |
---|
1095 | <dl class="method"> |
---|
1096 | <dt id="sas.perspectives.fitting.fitpanel.FitPanel.add_empty_page"> |
---|
1097 | <tt class="descname">add_empty_page</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitpanel.html#FitPanel.add_empty_page"><span class="viewcode-link">[source]</span></a></dt> |
---|
1098 | <dd><p>add an empty page</p> |
---|
1099 | </dd></dl> |
---|
1100 | |
---|
1101 | <dl class="method"> |
---|
1102 | <dt id="sas.perspectives.fitting.fitpanel.FitPanel.add_sim_page"> |
---|
1103 | <tt class="descname">add_sim_page</tt><big>(</big><em>caption='Const & Simul Fit'</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitpanel.html#FitPanel.add_sim_page"><span class="viewcode-link">[source]</span></a></dt> |
---|
1104 | <dd><p>Add the simultaneous fit page</p> |
---|
1105 | </dd></dl> |
---|
1106 | |
---|
1107 | <dl class="method"> |
---|
1108 | <dt id="sas.perspectives.fitting.fitpanel.FitPanel.clear_panel"> |
---|
1109 | <tt class="descname">clear_panel</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitpanel.html#FitPanel.clear_panel"><span class="viewcode-link">[source]</span></a></dt> |
---|
1110 | <dd><p>Clear and close all panels, used by guimanager</p> |
---|
1111 | </dd></dl> |
---|
1112 | |
---|
1113 | <dl class="method"> |
---|
1114 | <dt id="sas.perspectives.fitting.fitpanel.FitPanel.close_all"> |
---|
1115 | <tt class="descname">close_all</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitpanel.html#FitPanel.close_all"><span class="viewcode-link">[source]</span></a></dt> |
---|
1116 | <dd><p>remove all pages, used when a svs file is opened</p> |
---|
1117 | </dd></dl> |
---|
1118 | |
---|
1119 | <dl class="method"> |
---|
1120 | <dt id="sas.perspectives.fitting.fitpanel.FitPanel.close_page_with_data"> |
---|
1121 | <tt class="descname">close_page_with_data</tt><big>(</big><em>deleted_data</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitpanel.html#FitPanel.close_page_with_data"><span class="viewcode-link">[source]</span></a></dt> |
---|
1122 | <dd><p>close a fit page when its data is completely remove from the graph</p> |
---|
1123 | </dd></dl> |
---|
1124 | |
---|
1125 | <dl class="method"> |
---|
1126 | <dt id="sas.perspectives.fitting.fitpanel.FitPanel.delete_data"> |
---|
1127 | <tt class="descname">delete_data</tt><big>(</big><em>data</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitpanel.html#FitPanel.delete_data"><span class="viewcode-link">[source]</span></a></dt> |
---|
1128 | <dd><p>Delete the given data</p> |
---|
1129 | </dd></dl> |
---|
1130 | |
---|
1131 | <dl class="method"> |
---|
1132 | <dt id="sas.perspectives.fitting.fitpanel.FitPanel.enable_close_button"> |
---|
1133 | <tt class="descname">enable_close_button</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitpanel.html#FitPanel.enable_close_button"><span class="viewcode-link">[source]</span></a></dt> |
---|
1134 | <dd><p>display the close button on tab for more than 1 tabs else remove the |
---|
1135 | close button</p> |
---|
1136 | </dd></dl> |
---|
1137 | |
---|
1138 | <dl class="method"> |
---|
1139 | <dt id="sas.perspectives.fitting.fitpanel.FitPanel.get_current_page"> |
---|
1140 | <tt class="descname">get_current_page</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitpanel.html#FitPanel.get_current_page"><span class="viewcode-link">[source]</span></a></dt> |
---|
1141 | <dd><table class="docutils field-list" frame="void" rules="none"> |
---|
1142 | <col class="field-name" /> |
---|
1143 | <col class="field-body" /> |
---|
1144 | <tbody valign="top"> |
---|
1145 | <tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">the current page selected</td> |
---|
1146 | </tr> |
---|
1147 | </tbody> |
---|
1148 | </table> |
---|
1149 | </dd></dl> |
---|
1150 | |
---|
1151 | <dl class="method"> |
---|
1152 | <dt id="sas.perspectives.fitting.fitpanel.FitPanel.get_data"> |
---|
1153 | <tt class="descname">get_data</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitpanel.html#FitPanel.get_data"><span class="viewcode-link">[source]</span></a></dt> |
---|
1154 | <dd><p>get the data in the current page</p> |
---|
1155 | </dd></dl> |
---|
1156 | |
---|
1157 | <dl class="method"> |
---|
1158 | <dt id="sas.perspectives.fitting.fitpanel.FitPanel.get_page_by_id"> |
---|
1159 | <tt class="descname">get_page_by_id</tt><big>(</big><em>uid</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitpanel.html#FitPanel.get_page_by_id"><span class="viewcode-link">[source]</span></a></dt> |
---|
1160 | <dd></dd></dl> |
---|
1161 | |
---|
1162 | <dl class="method"> |
---|
1163 | <dt id="sas.perspectives.fitting.fitpanel.FitPanel.get_state"> |
---|
1164 | <tt class="descname">get_state</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitpanel.html#FitPanel.get_state"><span class="viewcode-link">[source]</span></a></dt> |
---|
1165 | <dd><p>return the state of the current selected page</p> |
---|
1166 | </dd></dl> |
---|
1167 | |
---|
1168 | <dl class="method"> |
---|
1169 | <dt id="sas.perspectives.fitting.fitpanel.FitPanel.helper_on_page_change"> |
---|
1170 | <tt class="descname">helper_on_page_change</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitpanel.html#FitPanel.helper_on_page_change"><span class="viewcode-link">[source]</span></a></dt> |
---|
1171 | <dd></dd></dl> |
---|
1172 | |
---|
1173 | <dl class="method"> |
---|
1174 | <dt id="sas.perspectives.fitting.fitpanel.FitPanel.on_close_page"> |
---|
1175 | <tt class="descname">on_close_page</tt><big>(</big><em>event=None</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitpanel.html#FitPanel.on_close_page"><span class="viewcode-link">[source]</span></a></dt> |
---|
1176 | <dd><p>close page and remove all references to the closed page</p> |
---|
1177 | </dd></dl> |
---|
1178 | |
---|
1179 | <dl class="method"> |
---|
1180 | <dt id="sas.perspectives.fitting.fitpanel.FitPanel.on_closed"> |
---|
1181 | <tt class="descname">on_closed</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitpanel.html#FitPanel.on_closed"><span class="viewcode-link">[source]</span></a></dt> |
---|
1182 | <dd></dd></dl> |
---|
1183 | |
---|
1184 | <dl class="method"> |
---|
1185 | <dt id="sas.perspectives.fitting.fitpanel.FitPanel.on_page_changing"> |
---|
1186 | <tt class="descname">on_page_changing</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitpanel.html#FitPanel.on_page_changing"><span class="viewcode-link">[source]</span></a></dt> |
---|
1187 | <dd><p>calls the function when the current event handler has exited. avoiding |
---|
1188 | to call panel on focus on a panel that is currently deleted</p> |
---|
1189 | </dd></dl> |
---|
1190 | |
---|
1191 | <dl class="method"> |
---|
1192 | <dt id="sas.perspectives.fitting.fitpanel.FitPanel.on_set_focus"> |
---|
1193 | <tt class="descname">on_set_focus</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitpanel.html#FitPanel.on_set_focus"><span class="viewcode-link">[source]</span></a></dt> |
---|
1194 | <dd></dd></dl> |
---|
1195 | |
---|
1196 | <dl class="method"> |
---|
1197 | <dt id="sas.perspectives.fitting.fitpanel.FitPanel.reset_pmodel_list"> |
---|
1198 | <tt class="descname">reset_pmodel_list</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitpanel.html#FitPanel.reset_pmodel_list"><span class="viewcode-link">[source]</span></a></dt> |
---|
1199 | <dd></dd></dl> |
---|
1200 | |
---|
1201 | <dl class="method"> |
---|
1202 | <dt id="sas.perspectives.fitting.fitpanel.FitPanel.save_project"> |
---|
1203 | <tt class="descname">save_project</tt><big>(</big><em>doc=None</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitpanel.html#FitPanel.save_project"><span class="viewcode-link">[source]</span></a></dt> |
---|
1204 | <dd><dl class="docutils"> |
---|
1205 | <dt>return an xml node containing state of the panel</dt> |
---|
1206 | <dd>that guiframe can write to file</dd> |
---|
1207 | </dl> |
---|
1208 | </dd></dl> |
---|
1209 | |
---|
1210 | <dl class="method"> |
---|
1211 | <dt id="sas.perspectives.fitting.fitpanel.FitPanel.set_data"> |
---|
1212 | <tt class="descname">set_data</tt><big>(</big><em>data_list</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitpanel.html#FitPanel.set_data"><span class="viewcode-link">[source]</span></a></dt> |
---|
1213 | <dd><p>Add a fitting page on the notebook contained by fitpanel</p> |
---|
1214 | <table class="docutils field-list" frame="void" rules="none"> |
---|
1215 | <col class="field-name" /> |
---|
1216 | <col class="field-body" /> |
---|
1217 | <tbody valign="top"> |
---|
1218 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>data</strong> – data to fit</td> |
---|
1219 | </tr> |
---|
1220 | </tbody> |
---|
1221 | </table> |
---|
1222 | <p>:return panel : page just added for further used. |
---|
1223 | is used by fitting module</p> |
---|
1224 | </dd></dl> |
---|
1225 | |
---|
1226 | <dl class="method"> |
---|
1227 | <dt id="sas.perspectives.fitting.fitpanel.FitPanel.set_data_on_batch_mode"> |
---|
1228 | <tt class="descname">set_data_on_batch_mode</tt><big>(</big><em>data_list</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitpanel.html#FitPanel.set_data_on_batch_mode"><span class="viewcode-link">[source]</span></a></dt> |
---|
1229 | <dd><p>Add all data to a single tab when the application is on Batch mode. |
---|
1230 | However all data in the set of data must be either 1D or 2D type. |
---|
1231 | This method presents option to select the data type before creating a |
---|
1232 | tab.</p> |
---|
1233 | </dd></dl> |
---|
1234 | |
---|
1235 | <dl class="method"> |
---|
1236 | <dt id="sas.perspectives.fitting.fitpanel.FitPanel.set_engine_helper"> |
---|
1237 | <tt class="descname">set_engine_helper</tt><big>(</big><em>panel</em>, <em>name='scipy'</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitpanel.html#FitPanel.set_engine_helper"><span class="viewcode-link">[source]</span></a></dt> |
---|
1238 | <dd></dd></dl> |
---|
1239 | |
---|
1240 | <dl class="method"> |
---|
1241 | <dt id="sas.perspectives.fitting.fitpanel.FitPanel.set_manager"> |
---|
1242 | <tt class="descname">set_manager</tt><big>(</big><em>manager</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitpanel.html#FitPanel.set_manager"><span class="viewcode-link">[source]</span></a></dt> |
---|
1243 | <dd><p>set panel manager</p> |
---|
1244 | <table class="docutils field-list" frame="void" rules="none"> |
---|
1245 | <col class="field-name" /> |
---|
1246 | <col class="field-body" /> |
---|
1247 | <tbody valign="top"> |
---|
1248 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>manager</strong> – instance of plugin fitting</td> |
---|
1249 | </tr> |
---|
1250 | </tbody> |
---|
1251 | </table> |
---|
1252 | </dd></dl> |
---|
1253 | |
---|
1254 | <dl class="method"> |
---|
1255 | <dt id="sas.perspectives.fitting.fitpanel.FitPanel.set_model_dict"> |
---|
1256 | <tt class="descname">set_model_dict</tt><big>(</big><em>m_dict</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitpanel.html#FitPanel.set_model_dict"><span class="viewcode-link">[source]</span></a></dt> |
---|
1257 | <dd><p>copy a dictionary of model name -> model object</p> |
---|
1258 | <table class="docutils field-list" frame="void" rules="none"> |
---|
1259 | <col class="field-name" /> |
---|
1260 | <col class="field-body" /> |
---|
1261 | <tbody valign="top"> |
---|
1262 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>m_dict</strong> – dictionary linking model name -> model object</td> |
---|
1263 | </tr> |
---|
1264 | </tbody> |
---|
1265 | </table> |
---|
1266 | </dd></dl> |
---|
1267 | |
---|
1268 | <dl class="method"> |
---|
1269 | <dt id="sas.perspectives.fitting.fitpanel.FitPanel.set_model_list"> |
---|
1270 | <tt class="descname">set_model_list</tt><big>(</big><em>dict</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitpanel.html#FitPanel.set_model_list"><span class="viewcode-link">[source]</span></a></dt> |
---|
1271 | <dd><p>copy a dictionary of model into its own dictionary</p> |
---|
1272 | <table class="docutils field-list" frame="void" rules="none"> |
---|
1273 | <col class="field-name" /> |
---|
1274 | <col class="field-body" /> |
---|
1275 | <tbody valign="top"> |
---|
1276 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>m_dict</strong> – dictionnary made of model name as key and model class</td> |
---|
1277 | </tr> |
---|
1278 | </tbody> |
---|
1279 | </table> |
---|
1280 | <p>as value</p> |
---|
1281 | </dd></dl> |
---|
1282 | |
---|
1283 | <dl class="method"> |
---|
1284 | <dt id="sas.perspectives.fitting.fitpanel.FitPanel.set_model_state"> |
---|
1285 | <tt class="descname">set_model_state</tt><big>(</big><em>state</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitpanel.html#FitPanel.set_model_state"><span class="viewcode-link">[source]</span></a></dt> |
---|
1286 | <dd><p>receive a state to reset the model in the current page</p> |
---|
1287 | </dd></dl> |
---|
1288 | |
---|
1289 | <dl class="method"> |
---|
1290 | <dt id="sas.perspectives.fitting.fitpanel.FitPanel.set_state"> |
---|
1291 | <tt class="descname">set_state</tt><big>(</big><em>state</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitpanel.html#FitPanel.set_state"><span class="viewcode-link">[source]</span></a></dt> |
---|
1292 | <dd><p>Restore state of the panel</p> |
---|
1293 | </dd></dl> |
---|
1294 | |
---|
1295 | <dl class="method"> |
---|
1296 | <dt id="sas.perspectives.fitting.fitpanel.FitPanel.update_model_list"> |
---|
1297 | <tt class="descname">update_model_list</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitpanel.html#FitPanel.update_model_list"><span class="viewcode-link">[source]</span></a></dt> |
---|
1298 | <dd></dd></dl> |
---|
1299 | |
---|
1300 | <dl class="attribute"> |
---|
1301 | <dt id="sas.perspectives.fitting.fitpanel.FitPanel.window_caption"> |
---|
1302 | <tt class="descname">window_caption</tt><em class="property"> = 'Fit Panel '</em></dt> |
---|
1303 | <dd></dd></dl> |
---|
1304 | |
---|
1305 | <dl class="attribute"> |
---|
1306 | <dt id="sas.perspectives.fitting.fitpanel.FitPanel.window_name"> |
---|
1307 | <tt class="descname">window_name</tt><em class="property"> = 'Fit panel'</em></dt> |
---|
1308 | <dd></dd></dl> |
---|
1309 | |
---|
1310 | </dd></dl> |
---|
1311 | |
---|
1312 | </div> |
---|
1313 | <div class="section" id="module-sas.perspectives.fitting.fitproblem"> |
---|
1314 | <span id="sas-perspectives-fitting-fitproblem-module"></span><h2>sas.perspectives.fitting.fitproblem module</h2> |
---|
1315 | <p>Inferface containing information to store data, model, range of data, etc... |
---|
1316 | and retreive this information. This is an inferface |
---|
1317 | for a fitProblem i.e relationship between data and model.</p> |
---|
1318 | <dl class="class"> |
---|
1319 | <dt id="sas.perspectives.fitting.fitproblem.FitProblem"> |
---|
1320 | <em class="property">class </em><tt class="descclassname">sas.perspectives.fitting.fitproblem.</tt><tt class="descname">FitProblem</tt><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitproblem.html#FitProblem"><span class="viewcode-link">[source]</span></a></dt> |
---|
1321 | <dd><p>Bases: <a class="reference internal" href="#sas.perspectives.fitting.fitproblem.FitProblemComponent" title="sas.perspectives.fitting.fitproblem.FitProblemComponent"><tt class="xref py py-class docutils literal"><span class="pre">sas.perspectives.fitting.fitproblem.FitProblemComponent</span></tt></a></p> |
---|
1322 | <p>FitProblem class allows to link a model with the new name created in _on_model, |
---|
1323 | a name theory created with that model and the data fitted with the model. |
---|
1324 | FitProblem is mostly used as value of the dictionary by fitting module.</p> |
---|
1325 | <dl class="method"> |
---|
1326 | <dt id="sas.perspectives.fitting.fitproblem.FitProblem.clear_model_param"> |
---|
1327 | <tt class="descname">clear_model_param</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitproblem.html#FitProblem.clear_model_param"><span class="viewcode-link">[source]</span></a></dt> |
---|
1328 | <dd><p>clear constraint info</p> |
---|
1329 | </dd></dl> |
---|
1330 | |
---|
1331 | <dl class="method"> |
---|
1332 | <dt id="sas.perspectives.fitting.fitproblem.FitProblem.enable_smearing"> |
---|
1333 | <tt class="descname">enable_smearing</tt><big>(</big><em>flag=False</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitproblem.html#FitProblem.enable_smearing"><span class="viewcode-link">[source]</span></a></dt> |
---|
1334 | <dd><table class="docutils field-list" frame="void" rules="none"> |
---|
1335 | <col class="field-name" /> |
---|
1336 | <col class="field-body" /> |
---|
1337 | <tbody valign="top"> |
---|
1338 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>flag</strong> – bool.When flag is 1 get the computer smear value. When</td> |
---|
1339 | </tr> |
---|
1340 | </tbody> |
---|
1341 | </table> |
---|
1342 | <p>flag is 0 ingore smear value.</p> |
---|
1343 | </dd></dl> |
---|
1344 | |
---|
1345 | <dl class="method"> |
---|
1346 | <dt id="sas.perspectives.fitting.fitproblem.FitProblem.get_fit_data"> |
---|
1347 | <tt class="descname">get_fit_data</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitproblem.html#FitProblem.get_fit_data"><span class="viewcode-link">[source]</span></a></dt> |
---|
1348 | <dd><table class="docutils field-list" frame="void" rules="none"> |
---|
1349 | <col class="field-name" /> |
---|
1350 | <col class="field-body" /> |
---|
1351 | <tbody valign="top"> |
---|
1352 | <tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">data associate with this class</td> |
---|
1353 | </tr> |
---|
1354 | </tbody> |
---|
1355 | </table> |
---|
1356 | </dd></dl> |
---|
1357 | |
---|
1358 | <dl class="method"> |
---|
1359 | <dt id="sas.perspectives.fitting.fitproblem.FitProblem.get_fit_tab_caption"> |
---|
1360 | <tt class="descname">get_fit_tab_caption</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitproblem.html#FitProblem.get_fit_tab_caption"><span class="viewcode-link">[source]</span></a></dt> |
---|
1361 | <dd></dd></dl> |
---|
1362 | |
---|
1363 | <dl class="method"> |
---|
1364 | <dt id="sas.perspectives.fitting.fitproblem.FitProblem.get_graph_id"> |
---|
1365 | <tt class="descname">get_graph_id</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitproblem.html#FitProblem.get_graph_id"><span class="viewcode-link">[source]</span></a></dt> |
---|
1366 | <dd><p>Get graph_id</p> |
---|
1367 | </dd></dl> |
---|
1368 | |
---|
1369 | <dl class="method"> |
---|
1370 | <dt id="sas.perspectives.fitting.fitproblem.FitProblem.get_model"> |
---|
1371 | <tt class="descname">get_model</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitproblem.html#FitProblem.get_model"><span class="viewcode-link">[source]</span></a></dt> |
---|
1372 | <dd><table class="docutils field-list" frame="void" rules="none"> |
---|
1373 | <col class="field-name" /> |
---|
1374 | <col class="field-body" /> |
---|
1375 | <tbody valign="top"> |
---|
1376 | <tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">saved model</td> |
---|
1377 | </tr> |
---|
1378 | </tbody> |
---|
1379 | </table> |
---|
1380 | </dd></dl> |
---|
1381 | |
---|
1382 | <dl class="method"> |
---|
1383 | <dt id="sas.perspectives.fitting.fitproblem.FitProblem.get_model_param"> |
---|
1384 | <tt class="descname">get_model_param</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitproblem.html#FitProblem.get_model_param"><span class="viewcode-link">[source]</span></a></dt> |
---|
1385 | <dd><p>return list of couple of parameter name and value</p> |
---|
1386 | </dd></dl> |
---|
1387 | |
---|
1388 | <dl class="method"> |
---|
1389 | <dt id="sas.perspectives.fitting.fitproblem.FitProblem.get_name"> |
---|
1390 | <tt class="descname">get_name</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitproblem.html#FitProblem.get_name"><span class="viewcode-link">[source]</span></a></dt> |
---|
1391 | <dd></dd></dl> |
---|
1392 | |
---|
1393 | <dl class="method"> |
---|
1394 | <dt id="sas.perspectives.fitting.fitproblem.FitProblem.get_origin_data"> |
---|
1395 | <tt class="descname">get_origin_data</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitproblem.html#FitProblem.get_origin_data"><span class="viewcode-link">[source]</span></a></dt> |
---|
1396 | <dd></dd></dl> |
---|
1397 | |
---|
1398 | <dl class="method"> |
---|
1399 | <dt id="sas.perspectives.fitting.fitproblem.FitProblem.get_param2fit"> |
---|
1400 | <tt class="descname">get_param2fit</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitproblem.html#FitProblem.get_param2fit"><span class="viewcode-link">[source]</span></a></dt> |
---|
1401 | <dd><p>return the list param names to fit</p> |
---|
1402 | </dd></dl> |
---|
1403 | |
---|
1404 | <dl class="method"> |
---|
1405 | <dt id="sas.perspectives.fitting.fitproblem.FitProblem.get_range"> |
---|
1406 | <tt class="descname">get_range</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitproblem.html#FitProblem.get_range"><span class="viewcode-link">[source]</span></a></dt> |
---|
1407 | <dd><table class="docutils field-list" frame="void" rules="none"> |
---|
1408 | <col class="field-name" /> |
---|
1409 | <col class="field-body" /> |
---|
1410 | <tbody valign="top"> |
---|
1411 | <tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">fitting range</td> |
---|
1412 | </tr> |
---|
1413 | </tbody> |
---|
1414 | </table> |
---|
1415 | </dd></dl> |
---|
1416 | |
---|
1417 | <dl class="method"> |
---|
1418 | <dt id="sas.perspectives.fitting.fitproblem.FitProblem.get_residuals"> |
---|
1419 | <tt class="descname">get_residuals</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitproblem.html#FitProblem.get_residuals"><span class="viewcode-link">[source]</span></a></dt> |
---|
1420 | <dd><table class="docutils field-list" frame="void" rules="none"> |
---|
1421 | <col class="field-name" /> |
---|
1422 | <col class="field-body" /> |
---|
1423 | <tbody valign="top"> |
---|
1424 | <tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">residuals</td> |
---|
1425 | </tr> |
---|
1426 | </tbody> |
---|
1427 | </table> |
---|
1428 | </dd></dl> |
---|
1429 | |
---|
1430 | <dl class="method"> |
---|
1431 | <dt id="sas.perspectives.fitting.fitproblem.FitProblem.get_result"> |
---|
1432 | <tt class="descname">get_result</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitproblem.html#FitProblem.get_result"><span class="viewcode-link">[source]</span></a></dt> |
---|
1433 | <dd><p>get result</p> |
---|
1434 | </dd></dl> |
---|
1435 | |
---|
1436 | <dl class="method"> |
---|
1437 | <dt id="sas.perspectives.fitting.fitproblem.FitProblem.get_scheduled"> |
---|
1438 | <tt class="descname">get_scheduled</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitproblem.html#FitProblem.get_scheduled"><span class="viewcode-link">[source]</span></a></dt> |
---|
1439 | <dd><p>return true or false if a problem as being schedule for fitting</p> |
---|
1440 | </dd></dl> |
---|
1441 | |
---|
1442 | <dl class="method"> |
---|
1443 | <dt id="sas.perspectives.fitting.fitproblem.FitProblem.get_smearer"> |
---|
1444 | <tt class="descname">get_smearer</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitproblem.html#FitProblem.get_smearer"><span class="viewcode-link">[source]</span></a></dt> |
---|
1445 | <dd><p>return smear object</p> |
---|
1446 | </dd></dl> |
---|
1447 | |
---|
1448 | <dl class="method"> |
---|
1449 | <dt id="sas.perspectives.fitting.fitproblem.FitProblem.get_theory_data"> |
---|
1450 | <tt class="descname">get_theory_data</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitproblem.html#FitProblem.get_theory_data"><span class="viewcode-link">[source]</span></a></dt> |
---|
1451 | <dd><table class="docutils field-list" frame="void" rules="none"> |
---|
1452 | <col class="field-name" /> |
---|
1453 | <col class="field-body" /> |
---|
1454 | <tbody valign="top"> |
---|
1455 | <tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">theory generated with the current model and data of this class</td> |
---|
1456 | </tr> |
---|
1457 | </tbody> |
---|
1458 | </table> |
---|
1459 | </dd></dl> |
---|
1460 | |
---|
1461 | <dl class="method"> |
---|
1462 | <dt id="sas.perspectives.fitting.fitproblem.FitProblem.get_weight"> |
---|
1463 | <tt class="descname">get_weight</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitproblem.html#FitProblem.get_weight"><span class="viewcode-link">[source]</span></a></dt> |
---|
1464 | <dd><p>returns weight array</p> |
---|
1465 | </dd></dl> |
---|
1466 | |
---|
1467 | <dl class="method"> |
---|
1468 | <dt id="sas.perspectives.fitting.fitproblem.FitProblem.save_model_name"> |
---|
1469 | <tt class="descname">save_model_name</tt><big>(</big><em>name</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitproblem.html#FitProblem.save_model_name"><span class="viewcode-link">[source]</span></a></dt> |
---|
1470 | <dd></dd></dl> |
---|
1471 | |
---|
1472 | <dl class="method"> |
---|
1473 | <dt id="sas.perspectives.fitting.fitproblem.FitProblem.schedule_tofit"> |
---|
1474 | <tt class="descname">schedule_tofit</tt><big>(</big><em>schedule=0</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitproblem.html#FitProblem.schedule_tofit"><span class="viewcode-link">[source]</span></a></dt> |
---|
1475 | <dd><p>set schedule to true to decide if this fit must be performed</p> |
---|
1476 | </dd></dl> |
---|
1477 | |
---|
1478 | <dl class="method"> |
---|
1479 | <dt id="sas.perspectives.fitting.fitproblem.FitProblem.set_fit_data"> |
---|
1480 | <tt class="descname">set_fit_data</tt><big>(</big><em>data</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitproblem.html#FitProblem.set_fit_data"><span class="viewcode-link">[source]</span></a></dt> |
---|
1481 | <dd><p>Store data associated with this class |
---|
1482 | :param data: list of data selected</p> |
---|
1483 | </dd></dl> |
---|
1484 | |
---|
1485 | <dl class="method"> |
---|
1486 | <dt id="sas.perspectives.fitting.fitproblem.FitProblem.set_fit_tab_caption"> |
---|
1487 | <tt class="descname">set_fit_tab_caption</tt><big>(</big><em>caption</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitproblem.html#FitProblem.set_fit_tab_caption"><span class="viewcode-link">[source]</span></a></dt> |
---|
1488 | <dd></dd></dl> |
---|
1489 | |
---|
1490 | <dl class="method"> |
---|
1491 | <dt id="sas.perspectives.fitting.fitproblem.FitProblem.set_graph_id"> |
---|
1492 | <tt class="descname">set_graph_id</tt><big>(</big><em>id</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitproblem.html#FitProblem.set_graph_id"><span class="viewcode-link">[source]</span></a></dt> |
---|
1493 | <dd><p>Set graph id (from data_group_id at the time the graph produced)</p> |
---|
1494 | </dd></dl> |
---|
1495 | |
---|
1496 | <dl class="method"> |
---|
1497 | <dt id="sas.perspectives.fitting.fitproblem.FitProblem.set_model"> |
---|
1498 | <tt class="descname">set_model</tt><big>(</big><em>model</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitproblem.html#FitProblem.set_model"><span class="viewcode-link">[source]</span></a></dt> |
---|
1499 | <dd><p>associates each model with its new created name |
---|
1500 | :param model: model selected |
---|
1501 | :param name: name created for model</p> |
---|
1502 | </dd></dl> |
---|
1503 | |
---|
1504 | <dl class="method"> |
---|
1505 | <dt id="sas.perspectives.fitting.fitproblem.FitProblem.set_model_param"> |
---|
1506 | <tt class="descname">set_model_param</tt><big>(</big><em>name</em>, <em>value=None</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitproblem.html#FitProblem.set_model_param"><span class="viewcode-link">[source]</span></a></dt> |
---|
1507 | <dd><p>Store the name and value of a parameter of this fitproblem’s model |
---|
1508 | :param name: name of the given parameter |
---|
1509 | :param value: value of that parameter</p> |
---|
1510 | </dd></dl> |
---|
1511 | |
---|
1512 | <dl class="method"> |
---|
1513 | <dt id="sas.perspectives.fitting.fitproblem.FitProblem.set_param2fit"> |
---|
1514 | <tt class="descname">set_param2fit</tt><big>(</big><em>list</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitproblem.html#FitProblem.set_param2fit"><span class="viewcode-link">[source]</span></a></dt> |
---|
1515 | <dd><p>Store param names to fit (checked) |
---|
1516 | :param list: list of the param names</p> |
---|
1517 | </dd></dl> |
---|
1518 | |
---|
1519 | <dl class="method"> |
---|
1520 | <dt id="sas.perspectives.fitting.fitproblem.FitProblem.set_range"> |
---|
1521 | <tt class="descname">set_range</tt><big>(</big><em>qmin=None</em>, <em>qmax=None</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitproblem.html#FitProblem.set_range"><span class="viewcode-link">[source]</span></a></dt> |
---|
1522 | <dd><p>set fitting range |
---|
1523 | :param qmin: minimum value to consider for the fit range |
---|
1524 | :param qmax: maximum value to consider for the fit range</p> |
---|
1525 | </dd></dl> |
---|
1526 | |
---|
1527 | <dl class="method"> |
---|
1528 | <dt id="sas.perspectives.fitting.fitproblem.FitProblem.set_residuals"> |
---|
1529 | <tt class="descname">set_residuals</tt><big>(</big><em>residuals</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitproblem.html#FitProblem.set_residuals"><span class="viewcode-link">[source]</span></a></dt> |
---|
1530 | <dd><p>save a copy of residual |
---|
1531 | :param data: data selected</p> |
---|
1532 | </dd></dl> |
---|
1533 | |
---|
1534 | <dl class="method"> |
---|
1535 | <dt id="sas.perspectives.fitting.fitproblem.FitProblem.set_result"> |
---|
1536 | <tt class="descname">set_result</tt><big>(</big><em>result</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitproblem.html#FitProblem.set_result"><span class="viewcode-link">[source]</span></a></dt> |
---|
1537 | <dd></dd></dl> |
---|
1538 | |
---|
1539 | <dl class="method"> |
---|
1540 | <dt id="sas.perspectives.fitting.fitproblem.FitProblem.set_smearer"> |
---|
1541 | <tt class="descname">set_smearer</tt><big>(</big><em>smearer</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitproblem.html#FitProblem.set_smearer"><span class="viewcode-link">[source]</span></a></dt> |
---|
1542 | <dd><p>save reference of smear object on fitdata</p> |
---|
1543 | <table class="docutils field-list" frame="void" rules="none"> |
---|
1544 | <col class="field-name" /> |
---|
1545 | <col class="field-body" /> |
---|
1546 | <tbody valign="top"> |
---|
1547 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>smear</strong> – smear object from DataLoader</td> |
---|
1548 | </tr> |
---|
1549 | </tbody> |
---|
1550 | </table> |
---|
1551 | </dd></dl> |
---|
1552 | |
---|
1553 | <dl class="method"> |
---|
1554 | <dt id="sas.perspectives.fitting.fitproblem.FitProblem.set_theory_data"> |
---|
1555 | <tt class="descname">set_theory_data</tt><big>(</big><em>data</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitproblem.html#FitProblem.set_theory_data"><span class="viewcode-link">[source]</span></a></dt> |
---|
1556 | <dd><p>save a copy of the data select to fit</p> |
---|
1557 | <table class="docutils field-list" frame="void" rules="none"> |
---|
1558 | <col class="field-name" /> |
---|
1559 | <col class="field-body" /> |
---|
1560 | <tbody valign="top"> |
---|
1561 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>data</strong> – data selected</td> |
---|
1562 | </tr> |
---|
1563 | </tbody> |
---|
1564 | </table> |
---|
1565 | </dd></dl> |
---|
1566 | |
---|
1567 | <dl class="method"> |
---|
1568 | <dt id="sas.perspectives.fitting.fitproblem.FitProblem.set_weight"> |
---|
1569 | <tt class="descname">set_weight</tt><big>(</big><em>is2d</em>, <em>flag=None</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitproblem.html#FitProblem.set_weight"><span class="viewcode-link">[source]</span></a></dt> |
---|
1570 | <dd><p>Received flag and compute error on data. |
---|
1571 | :param flag: flag to transform error of data. |
---|
1572 | :param is2d: flag to distinguish 1D to 2D Data</p> |
---|
1573 | </dd></dl> |
---|
1574 | |
---|
1575 | </dd></dl> |
---|
1576 | |
---|
1577 | <dl class="class"> |
---|
1578 | <dt id="sas.perspectives.fitting.fitproblem.FitProblemComponent"> |
---|
1579 | <em class="property">class </em><tt class="descclassname">sas.perspectives.fitting.fitproblem.</tt><tt class="descname">FitProblemComponent</tt><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitproblem.html#FitProblemComponent"><span class="viewcode-link">[source]</span></a></dt> |
---|
1580 | <dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">object</span></tt></p> |
---|
1581 | <p>Inferface containing information to store data, model, range of data, etc... |
---|
1582 | and retreive this information. This is an inferface |
---|
1583 | for a fitProblem i.e relationship between data and model.</p> |
---|
1584 | <dl class="method"> |
---|
1585 | <dt id="sas.perspectives.fitting.fitproblem.FitProblemComponent.clear_model_param"> |
---|
1586 | <tt class="descname">clear_model_param</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitproblem.html#FitProblemComponent.clear_model_param"><span class="viewcode-link">[source]</span></a></dt> |
---|
1587 | <dd><p>clear constraint info</p> |
---|
1588 | </dd></dl> |
---|
1589 | |
---|
1590 | <dl class="method"> |
---|
1591 | <dt id="sas.perspectives.fitting.fitproblem.FitProblemComponent.enable_smearing"> |
---|
1592 | <tt class="descname">enable_smearing</tt><big>(</big><em>flag=False</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitproblem.html#FitProblemComponent.enable_smearing"><span class="viewcode-link">[source]</span></a></dt> |
---|
1593 | <dd><table class="docutils field-list" frame="void" rules="none"> |
---|
1594 | <col class="field-name" /> |
---|
1595 | <col class="field-body" /> |
---|
1596 | <tbody valign="top"> |
---|
1597 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>flag</strong> – bool.When flag is 1 get the computer smear value. When</td> |
---|
1598 | </tr> |
---|
1599 | </tbody> |
---|
1600 | </table> |
---|
1601 | <p>flag is 0 ingore smear value.</p> |
---|
1602 | </dd></dl> |
---|
1603 | |
---|
1604 | <dl class="method"> |
---|
1605 | <dt id="sas.perspectives.fitting.fitproblem.FitProblemComponent.get_fit_data"> |
---|
1606 | <tt class="descname">get_fit_data</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitproblem.html#FitProblemComponent.get_fit_data"><span class="viewcode-link">[source]</span></a></dt> |
---|
1607 | <dd></dd></dl> |
---|
1608 | |
---|
1609 | <dl class="method"> |
---|
1610 | <dt id="sas.perspectives.fitting.fitproblem.FitProblemComponent.get_fit_tab_caption"> |
---|
1611 | <tt class="descname">get_fit_tab_caption</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitproblem.html#FitProblemComponent.get_fit_tab_caption"><span class="viewcode-link">[source]</span></a></dt> |
---|
1612 | <dd><p>Return the caption of the page associated with object</p> |
---|
1613 | </dd></dl> |
---|
1614 | |
---|
1615 | <dl class="method"> |
---|
1616 | <dt id="sas.perspectives.fitting.fitproblem.FitProblemComponent.get_graph_id"> |
---|
1617 | <tt class="descname">get_graph_id</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitproblem.html#FitProblemComponent.get_graph_id"><span class="viewcode-link">[source]</span></a></dt> |
---|
1618 | <dd><p>Get graph_id</p> |
---|
1619 | </dd></dl> |
---|
1620 | |
---|
1621 | <dl class="method"> |
---|
1622 | <dt id="sas.perspectives.fitting.fitproblem.FitProblemComponent.get_model"> |
---|
1623 | <tt class="descname">get_model</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitproblem.html#FitProblemComponent.get_model"><span class="viewcode-link">[source]</span></a></dt> |
---|
1624 | <dd><table class="docutils field-list" frame="void" rules="none"> |
---|
1625 | <col class="field-name" /> |
---|
1626 | <col class="field-body" /> |
---|
1627 | <tbody valign="top"> |
---|
1628 | <tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">saved model</td> |
---|
1629 | </tr> |
---|
1630 | </tbody> |
---|
1631 | </table> |
---|
1632 | </dd></dl> |
---|
1633 | |
---|
1634 | <dl class="method"> |
---|
1635 | <dt id="sas.perspectives.fitting.fitproblem.FitProblemComponent.get_model_param"> |
---|
1636 | <tt class="descname">get_model_param</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitproblem.html#FitProblemComponent.get_model_param"><span class="viewcode-link">[source]</span></a></dt> |
---|
1637 | <dd><p>return list of couple of parameter name and value</p> |
---|
1638 | </dd></dl> |
---|
1639 | |
---|
1640 | <dl class="method"> |
---|
1641 | <dt id="sas.perspectives.fitting.fitproblem.FitProblemComponent.get_name"> |
---|
1642 | <tt class="descname">get_name</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitproblem.html#FitProblemComponent.get_name"><span class="viewcode-link">[source]</span></a></dt> |
---|
1643 | <dd></dd></dl> |
---|
1644 | |
---|
1645 | <dl class="method"> |
---|
1646 | <dt id="sas.perspectives.fitting.fitproblem.FitProblemComponent.get_param2fit"> |
---|
1647 | <tt class="descname">get_param2fit</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitproblem.html#FitProblemComponent.get_param2fit"><span class="viewcode-link">[source]</span></a></dt> |
---|
1648 | <dd><p>return the list param names to fit</p> |
---|
1649 | </dd></dl> |
---|
1650 | |
---|
1651 | <dl class="method"> |
---|
1652 | <dt id="sas.perspectives.fitting.fitproblem.FitProblemComponent.get_range"> |
---|
1653 | <tt class="descname">get_range</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitproblem.html#FitProblemComponent.get_range"><span class="viewcode-link">[source]</span></a></dt> |
---|
1654 | <dd><table class="docutils field-list" frame="void" rules="none"> |
---|
1655 | <col class="field-name" /> |
---|
1656 | <col class="field-body" /> |
---|
1657 | <tbody valign="top"> |
---|
1658 | <tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">fitting range</td> |
---|
1659 | </tr> |
---|
1660 | </tbody> |
---|
1661 | </table> |
---|
1662 | </dd></dl> |
---|
1663 | |
---|
1664 | <dl class="method"> |
---|
1665 | <dt id="sas.perspectives.fitting.fitproblem.FitProblemComponent.get_residuals"> |
---|
1666 | <tt class="descname">get_residuals</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitproblem.html#FitProblemComponent.get_residuals"><span class="viewcode-link">[source]</span></a></dt> |
---|
1667 | <dd><table class="docutils field-list" frame="void" rules="none"> |
---|
1668 | <col class="field-name" /> |
---|
1669 | <col class="field-body" /> |
---|
1670 | <tbody valign="top"> |
---|
1671 | <tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">residuals</td> |
---|
1672 | </tr> |
---|
1673 | </tbody> |
---|
1674 | </table> |
---|
1675 | </dd></dl> |
---|
1676 | |
---|
1677 | <dl class="method"> |
---|
1678 | <dt id="sas.perspectives.fitting.fitproblem.FitProblemComponent.get_result"> |
---|
1679 | <tt class="descname">get_result</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitproblem.html#FitProblemComponent.get_result"><span class="viewcode-link">[source]</span></a></dt> |
---|
1680 | <dd><p>get result</p> |
---|
1681 | </dd></dl> |
---|
1682 | |
---|
1683 | <dl class="method"> |
---|
1684 | <dt id="sas.perspectives.fitting.fitproblem.FitProblemComponent.get_scheduled"> |
---|
1685 | <tt class="descname">get_scheduled</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitproblem.html#FitProblemComponent.get_scheduled"><span class="viewcode-link">[source]</span></a></dt> |
---|
1686 | <dd><p>return true or false if a problem as being schedule for fitting</p> |
---|
1687 | </dd></dl> |
---|
1688 | |
---|
1689 | <dl class="method"> |
---|
1690 | <dt id="sas.perspectives.fitting.fitproblem.FitProblemComponent.get_smearer"> |
---|
1691 | <tt class="descname">get_smearer</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitproblem.html#FitProblemComponent.get_smearer"><span class="viewcode-link">[source]</span></a></dt> |
---|
1692 | <dd><p>return smear object</p> |
---|
1693 | </dd></dl> |
---|
1694 | |
---|
1695 | <dl class="method"> |
---|
1696 | <dt id="sas.perspectives.fitting.fitproblem.FitProblemComponent.get_theory_data"> |
---|
1697 | <tt class="descname">get_theory_data</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitproblem.html#FitProblemComponent.get_theory_data"><span class="viewcode-link">[source]</span></a></dt> |
---|
1698 | <dd><table class="docutils field-list" frame="void" rules="none"> |
---|
1699 | <col class="field-name" /> |
---|
1700 | <col class="field-body" /> |
---|
1701 | <tbody valign="top"> |
---|
1702 | <tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">list of data dList</td> |
---|
1703 | </tr> |
---|
1704 | </tbody> |
---|
1705 | </table> |
---|
1706 | </dd></dl> |
---|
1707 | |
---|
1708 | <dl class="method"> |
---|
1709 | <dt id="sas.perspectives.fitting.fitproblem.FitProblemComponent.get_weight"> |
---|
1710 | <tt class="descname">get_weight</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitproblem.html#FitProblemComponent.get_weight"><span class="viewcode-link">[source]</span></a></dt> |
---|
1711 | <dd><p>get fitting weight</p> |
---|
1712 | </dd></dl> |
---|
1713 | |
---|
1714 | <dl class="method"> |
---|
1715 | <dt id="sas.perspectives.fitting.fitproblem.FitProblemComponent.save_model_name"> |
---|
1716 | <tt class="descname">save_model_name</tt><big>(</big><em>name</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitproblem.html#FitProblemComponent.save_model_name"><span class="viewcode-link">[source]</span></a></dt> |
---|
1717 | <dd></dd></dl> |
---|
1718 | |
---|
1719 | <dl class="method"> |
---|
1720 | <dt id="sas.perspectives.fitting.fitproblem.FitProblemComponent.schedule_tofit"> |
---|
1721 | <tt class="descname">schedule_tofit</tt><big>(</big><em>schedule=0</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitproblem.html#FitProblemComponent.schedule_tofit"><span class="viewcode-link">[source]</span></a></dt> |
---|
1722 | <dd><p>set schedule to true to decide if this fit must be performed</p> |
---|
1723 | </dd></dl> |
---|
1724 | |
---|
1725 | <dl class="method"> |
---|
1726 | <dt id="sas.perspectives.fitting.fitproblem.FitProblemComponent.set_fit_data"> |
---|
1727 | <tt class="descname">set_fit_data</tt><big>(</big><em>data</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitproblem.html#FitProblemComponent.set_fit_data"><span class="viewcode-link">[source]</span></a></dt> |
---|
1728 | <dd><blockquote> |
---|
1729 | <div>Store of list of data and create by create new fitproblem of each data |
---|
1730 | id , if there was existing information about model, this information |
---|
1731 | get copy to the new fitproblem</div></blockquote> |
---|
1732 | <table class="docutils field-list" frame="void" rules="none"> |
---|
1733 | <col class="field-name" /> |
---|
1734 | <col class="field-body" /> |
---|
1735 | <tbody valign="top"> |
---|
1736 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>data</strong> – list of data selected</td> |
---|
1737 | </tr> |
---|
1738 | </tbody> |
---|
1739 | </table> |
---|
1740 | </dd></dl> |
---|
1741 | |
---|
1742 | <dl class="method"> |
---|
1743 | <dt id="sas.perspectives.fitting.fitproblem.FitProblemComponent.set_fit_tab_caption"> |
---|
1744 | <tt class="descname">set_fit_tab_caption</tt><big>(</big><em>caption</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitproblem.html#FitProblemComponent.set_fit_tab_caption"><span class="viewcode-link">[source]</span></a></dt> |
---|
1745 | <dd><p>store the caption of the page associated with object</p> |
---|
1746 | </dd></dl> |
---|
1747 | |
---|
1748 | <dl class="method"> |
---|
1749 | <dt id="sas.perspectives.fitting.fitproblem.FitProblemComponent.set_graph_id"> |
---|
1750 | <tt class="descname">set_graph_id</tt><big>(</big><em>id</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitproblem.html#FitProblemComponent.set_graph_id"><span class="viewcode-link">[source]</span></a></dt> |
---|
1751 | <dd><p>Set graph id (from data_group_id at the time the graph produced)</p> |
---|
1752 | </dd></dl> |
---|
1753 | |
---|
1754 | <dl class="method"> |
---|
1755 | <dt id="sas.perspectives.fitting.fitproblem.FitProblemComponent.set_model"> |
---|
1756 | <tt class="descname">set_model</tt><big>(</big><em>model</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitproblem.html#FitProblemComponent.set_model"><span class="viewcode-link">[source]</span></a></dt> |
---|
1757 | <dd><p>associates each model with its new created name |
---|
1758 | :param model: model selected |
---|
1759 | :param name: name created for model</p> |
---|
1760 | </dd></dl> |
---|
1761 | |
---|
1762 | <dl class="method"> |
---|
1763 | <dt id="sas.perspectives.fitting.fitproblem.FitProblemComponent.set_model_param"> |
---|
1764 | <tt class="descname">set_model_param</tt><big>(</big><em>name</em>, <em>value=None</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitproblem.html#FitProblemComponent.set_model_param"><span class="viewcode-link">[source]</span></a></dt> |
---|
1765 | <dd><p>Store the name and value of a parameter of this fitproblem’s model |
---|
1766 | :param name: name of the given parameter |
---|
1767 | :param value: value of that parameter</p> |
---|
1768 | </dd></dl> |
---|
1769 | |
---|
1770 | <dl class="method"> |
---|
1771 | <dt id="sas.perspectives.fitting.fitproblem.FitProblemComponent.set_param2fit"> |
---|
1772 | <tt class="descname">set_param2fit</tt><big>(</big><em>list</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitproblem.html#FitProblemComponent.set_param2fit"><span class="viewcode-link">[source]</span></a></dt> |
---|
1773 | <dd><p>Store param names to fit (checked) |
---|
1774 | :param list: list of the param names</p> |
---|
1775 | </dd></dl> |
---|
1776 | |
---|
1777 | <dl class="method"> |
---|
1778 | <dt id="sas.perspectives.fitting.fitproblem.FitProblemComponent.set_range"> |
---|
1779 | <tt class="descname">set_range</tt><big>(</big><em>qmin=None</em>, <em>qmax=None</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitproblem.html#FitProblemComponent.set_range"><span class="viewcode-link">[source]</span></a></dt> |
---|
1780 | <dd><p>set fitting range</p> |
---|
1781 | </dd></dl> |
---|
1782 | |
---|
1783 | <dl class="method"> |
---|
1784 | <dt id="sas.perspectives.fitting.fitproblem.FitProblemComponent.set_residuals"> |
---|
1785 | <tt class="descname">set_residuals</tt><big>(</big><em>residuals</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitproblem.html#FitProblemComponent.set_residuals"><span class="viewcode-link">[source]</span></a></dt> |
---|
1786 | <dd><p>save a copy of residual |
---|
1787 | :param data: data selected</p> |
---|
1788 | </dd></dl> |
---|
1789 | |
---|
1790 | <dl class="method"> |
---|
1791 | <dt id="sas.perspectives.fitting.fitproblem.FitProblemComponent.set_result"> |
---|
1792 | <tt class="descname">set_result</tt><big>(</big><em>result</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitproblem.html#FitProblemComponent.set_result"><span class="viewcode-link">[source]</span></a></dt> |
---|
1793 | <dd></dd></dl> |
---|
1794 | |
---|
1795 | <dl class="method"> |
---|
1796 | <dt id="sas.perspectives.fitting.fitproblem.FitProblemComponent.set_theory_data"> |
---|
1797 | <tt class="descname">set_theory_data</tt><big>(</big><em>data</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitproblem.html#FitProblemComponent.set_theory_data"><span class="viewcode-link">[source]</span></a></dt> |
---|
1798 | <dd><p>save a copy of the data select to fit |
---|
1799 | :param data: data selected</p> |
---|
1800 | </dd></dl> |
---|
1801 | |
---|
1802 | <dl class="method"> |
---|
1803 | <dt id="sas.perspectives.fitting.fitproblem.FitProblemComponent.set_weight"> |
---|
1804 | <tt class="descname">set_weight</tt><big>(</big><em>flag=None</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitproblem.html#FitProblemComponent.set_weight"><span class="viewcode-link">[source]</span></a></dt> |
---|
1805 | <dd><p>set fitting range</p> |
---|
1806 | </dd></dl> |
---|
1807 | |
---|
1808 | </dd></dl> |
---|
1809 | |
---|
1810 | <dl class="class"> |
---|
1811 | <dt id="sas.perspectives.fitting.fitproblem.FitProblemDictionary"> |
---|
1812 | <em class="property">class </em><tt class="descclassname">sas.perspectives.fitting.fitproblem.</tt><tt class="descname">FitProblemDictionary</tt><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitproblem.html#FitProblemDictionary"><span class="viewcode-link">[source]</span></a></dt> |
---|
1813 | <dd><p>Bases: <a class="reference internal" href="#sas.perspectives.fitting.fitproblem.FitProblemComponent" title="sas.perspectives.fitting.fitproblem.FitProblemComponent"><tt class="xref py py-class docutils literal"><span class="pre">sas.perspectives.fitting.fitproblem.FitProblemComponent</span></tt></a>, <tt class="xref py py-class docutils literal"><span class="pre">dict</span></tt></p> |
---|
1814 | <p>This module implements a dictionary of fitproblem objects</p> |
---|
1815 | <dl class="method"> |
---|
1816 | <dt id="sas.perspectives.fitting.fitproblem.FitProblemDictionary.add_data"> |
---|
1817 | <tt class="descname">add_data</tt><big>(</big><em>data</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitproblem.html#FitProblemDictionary.add_data"><span class="viewcode-link">[source]</span></a></dt> |
---|
1818 | <dd><p>Add data to the current dictionary of fitproblem. if data id does not |
---|
1819 | exist create a new fit problem. |
---|
1820 | :note: only data changes in the fit problem</p> |
---|
1821 | </dd></dl> |
---|
1822 | |
---|
1823 | <dl class="method"> |
---|
1824 | <dt id="sas.perspectives.fitting.fitproblem.FitProblemDictionary.clear_model_param"> |
---|
1825 | <tt class="descname">clear_model_param</tt><big>(</big><em>fid=None</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitproblem.html#FitProblemDictionary.clear_model_param"><span class="viewcode-link">[source]</span></a></dt> |
---|
1826 | <dd><p>clear constraint info</p> |
---|
1827 | </dd></dl> |
---|
1828 | |
---|
1829 | <dl class="method"> |
---|
1830 | <dt id="sas.perspectives.fitting.fitproblem.FitProblemDictionary.enable_smearing"> |
---|
1831 | <tt class="descname">enable_smearing</tt><big>(</big><em>flag=False</em>, <em>fid=None</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitproblem.html#FitProblemDictionary.enable_smearing"><span class="viewcode-link">[source]</span></a></dt> |
---|
1832 | <dd><table class="docutils field-list" frame="void" rules="none"> |
---|
1833 | <col class="field-name" /> |
---|
1834 | <col class="field-body" /> |
---|
1835 | <tbody valign="top"> |
---|
1836 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>flag</strong> – bool.When flag is 1 get the computer smear value. When</td> |
---|
1837 | </tr> |
---|
1838 | </tbody> |
---|
1839 | </table> |
---|
1840 | <p>flag is 0 ingore smear value.</p> |
---|
1841 | </dd></dl> |
---|
1842 | |
---|
1843 | <dl class="method"> |
---|
1844 | <dt id="sas.perspectives.fitting.fitproblem.FitProblemDictionary.get_batch_result"> |
---|
1845 | <tt class="descname">get_batch_result</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitproblem.html#FitProblemDictionary.get_batch_result"><span class="viewcode-link">[source]</span></a></dt> |
---|
1846 | <dd><p>get result</p> |
---|
1847 | </dd></dl> |
---|
1848 | |
---|
1849 | <dl class="method"> |
---|
1850 | <dt id="sas.perspectives.fitting.fitproblem.FitProblemDictionary.get_fit_data"> |
---|
1851 | <tt class="descname">get_fit_data</tt><big>(</big><em>fid</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitproblem.html#FitProblemDictionary.get_fit_data"><span class="viewcode-link">[source]</span></a></dt> |
---|
1852 | <dd><p>return data for the given fitproblem id |
---|
1853 | :param fid: is key representing a fitproblem. usually extract from data</p> |
---|
1854 | <blockquote> |
---|
1855 | <div>id</div></blockquote> |
---|
1856 | </dd></dl> |
---|
1857 | |
---|
1858 | <dl class="method"> |
---|
1859 | <dt id="sas.perspectives.fitting.fitproblem.FitProblemDictionary.get_fit_problem"> |
---|
1860 | <tt class="descname">get_fit_problem</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitproblem.html#FitProblemDictionary.get_fit_problem"><span class="viewcode-link">[source]</span></a></dt> |
---|
1861 | <dd><p>return fitproblem contained in this dictionary</p> |
---|
1862 | </dd></dl> |
---|
1863 | |
---|
1864 | <dl class="method"> |
---|
1865 | <dt id="sas.perspectives.fitting.fitproblem.FitProblemDictionary.get_fit_tab_caption"> |
---|
1866 | <tt class="descname">get_fit_tab_caption</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitproblem.html#FitProblemDictionary.get_fit_tab_caption"><span class="viewcode-link">[source]</span></a></dt> |
---|
1867 | <dd><p>Return the caption of the page associated with object</p> |
---|
1868 | </dd></dl> |
---|
1869 | |
---|
1870 | <dl class="method"> |
---|
1871 | <dt id="sas.perspectives.fitting.fitproblem.FitProblemDictionary.get_graph_id"> |
---|
1872 | <tt class="descname">get_graph_id</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitproblem.html#FitProblemDictionary.get_graph_id"><span class="viewcode-link">[source]</span></a></dt> |
---|
1873 | <dd><p>Get graph_id</p> |
---|
1874 | </dd></dl> |
---|
1875 | |
---|
1876 | <dl class="method"> |
---|
1877 | <dt id="sas.perspectives.fitting.fitproblem.FitProblemDictionary.get_model"> |
---|
1878 | <tt class="descname">get_model</tt><big>(</big><em>fid</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitproblem.html#FitProblemDictionary.get_model"><span class="viewcode-link">[source]</span></a></dt> |
---|
1879 | <dd><table class="docutils field-list" frame="void" rules="none"> |
---|
1880 | <col class="field-name" /> |
---|
1881 | <col class="field-body" /> |
---|
1882 | <tbody valign="top"> |
---|
1883 | <tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">saved model</td> |
---|
1884 | </tr> |
---|
1885 | </tbody> |
---|
1886 | </table> |
---|
1887 | </dd></dl> |
---|
1888 | |
---|
1889 | <dl class="method"> |
---|
1890 | <dt id="sas.perspectives.fitting.fitproblem.FitProblemDictionary.get_model_param"> |
---|
1891 | <tt class="descname">get_model_param</tt><big>(</big><em>fid</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitproblem.html#FitProblemDictionary.get_model_param"><span class="viewcode-link">[source]</span></a></dt> |
---|
1892 | <dd><p>return list of couple of parameter name and value</p> |
---|
1893 | </dd></dl> |
---|
1894 | |
---|
1895 | <dl class="method"> |
---|
1896 | <dt id="sas.perspectives.fitting.fitproblem.FitProblemDictionary.get_name"> |
---|
1897 | <tt class="descname">get_name</tt><big>(</big><em>fid=None</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitproblem.html#FitProblemDictionary.get_name"><span class="viewcode-link">[source]</span></a></dt> |
---|
1898 | <dd></dd></dl> |
---|
1899 | |
---|
1900 | <dl class="method"> |
---|
1901 | <dt id="sas.perspectives.fitting.fitproblem.FitProblemDictionary.get_param2fit"> |
---|
1902 | <tt class="descname">get_param2fit</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitproblem.html#FitProblemDictionary.get_param2fit"><span class="viewcode-link">[source]</span></a></dt> |
---|
1903 | <dd><p>return the list param names to fit</p> |
---|
1904 | </dd></dl> |
---|
1905 | |
---|
1906 | <dl class="method"> |
---|
1907 | <dt id="sas.perspectives.fitting.fitproblem.FitProblemDictionary.get_range"> |
---|
1908 | <tt class="descname">get_range</tt><big>(</big><em>fid</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitproblem.html#FitProblemDictionary.get_range"><span class="viewcode-link">[source]</span></a></dt> |
---|
1909 | <dd><table class="docutils field-list" frame="void" rules="none"> |
---|
1910 | <col class="field-name" /> |
---|
1911 | <col class="field-body" /> |
---|
1912 | <tbody valign="top"> |
---|
1913 | <tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">fitting range</td> |
---|
1914 | </tr> |
---|
1915 | </tbody> |
---|
1916 | </table> |
---|
1917 | </dd></dl> |
---|
1918 | |
---|
1919 | <dl class="method"> |
---|
1920 | <dt id="sas.perspectives.fitting.fitproblem.FitProblemDictionary.get_residuals"> |
---|
1921 | <tt class="descname">get_residuals</tt><big>(</big><em>fid</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitproblem.html#FitProblemDictionary.get_residuals"><span class="viewcode-link">[source]</span></a></dt> |
---|
1922 | <dd><table class="docutils field-list" frame="void" rules="none"> |
---|
1923 | <col class="field-name" /> |
---|
1924 | <col class="field-body" /> |
---|
1925 | <tbody valign="top"> |
---|
1926 | <tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">residuals</td> |
---|
1927 | </tr> |
---|
1928 | </tbody> |
---|
1929 | </table> |
---|
1930 | </dd></dl> |
---|
1931 | |
---|
1932 | <dl class="method"> |
---|
1933 | <dt id="sas.perspectives.fitting.fitproblem.FitProblemDictionary.get_result"> |
---|
1934 | <tt class="descname">get_result</tt><big>(</big><em>fid</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitproblem.html#FitProblemDictionary.get_result"><span class="viewcode-link">[source]</span></a></dt> |
---|
1935 | <dd><p>get result</p> |
---|
1936 | </dd></dl> |
---|
1937 | |
---|
1938 | <dl class="method"> |
---|
1939 | <dt id="sas.perspectives.fitting.fitproblem.FitProblemDictionary.get_scheduled"> |
---|
1940 | <tt class="descname">get_scheduled</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitproblem.html#FitProblemDictionary.get_scheduled"><span class="viewcode-link">[source]</span></a></dt> |
---|
1941 | <dd><p>return true or false if a problem as being schedule for fitting</p> |
---|
1942 | </dd></dl> |
---|
1943 | |
---|
1944 | <dl class="method"> |
---|
1945 | <dt id="sas.perspectives.fitting.fitproblem.FitProblemDictionary.get_smearer"> |
---|
1946 | <tt class="descname">get_smearer</tt><big>(</big><em>fid=None</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitproblem.html#FitProblemDictionary.get_smearer"><span class="viewcode-link">[source]</span></a></dt> |
---|
1947 | <dd><p>return smear object</p> |
---|
1948 | </dd></dl> |
---|
1949 | |
---|
1950 | <dl class="method"> |
---|
1951 | <dt id="sas.perspectives.fitting.fitproblem.FitProblemDictionary.get_theory_data"> |
---|
1952 | <tt class="descname">get_theory_data</tt><big>(</big><em>fid</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitproblem.html#FitProblemDictionary.get_theory_data"><span class="viewcode-link">[source]</span></a></dt> |
---|
1953 | <dd><table class="docutils field-list" frame="void" rules="none"> |
---|
1954 | <col class="field-name" /> |
---|
1955 | <col class="field-body" /> |
---|
1956 | <tbody valign="top"> |
---|
1957 | <tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">list of data dList</td> |
---|
1958 | </tr> |
---|
1959 | </tbody> |
---|
1960 | </table> |
---|
1961 | </dd></dl> |
---|
1962 | |
---|
1963 | <dl class="method"> |
---|
1964 | <dt id="sas.perspectives.fitting.fitproblem.FitProblemDictionary.get_weight"> |
---|
1965 | <tt class="descname">get_weight</tt><big>(</big><em>fid=None</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitproblem.html#FitProblemDictionary.get_weight"><span class="viewcode-link">[source]</span></a></dt> |
---|
1966 | <dd><p>return fit weight</p> |
---|
1967 | </dd></dl> |
---|
1968 | |
---|
1969 | <dl class="method"> |
---|
1970 | <dt id="sas.perspectives.fitting.fitproblem.FitProblemDictionary.save_model_name"> |
---|
1971 | <tt class="descname">save_model_name</tt><big>(</big><em>name</em>, <em>fid=None</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitproblem.html#FitProblemDictionary.save_model_name"><span class="viewcode-link">[source]</span></a></dt> |
---|
1972 | <dd></dd></dl> |
---|
1973 | |
---|
1974 | <dl class="method"> |
---|
1975 | <dt id="sas.perspectives.fitting.fitproblem.FitProblemDictionary.schedule_tofit"> |
---|
1976 | <tt class="descname">schedule_tofit</tt><big>(</big><em>schedule=0</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitproblem.html#FitProblemDictionary.schedule_tofit"><span class="viewcode-link">[source]</span></a></dt> |
---|
1977 | <dd><p>set schedule to true to decide if this fit must be performed</p> |
---|
1978 | </dd></dl> |
---|
1979 | |
---|
1980 | <dl class="method"> |
---|
1981 | <dt id="sas.perspectives.fitting.fitproblem.FitProblemDictionary.set_batch_result"> |
---|
1982 | <tt class="descname">set_batch_result</tt><big>(</big><em>batch_inputs</em>, <em>batch_outputs</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitproblem.html#FitProblemDictionary.set_batch_result"><span class="viewcode-link">[source]</span></a></dt> |
---|
1983 | <dd><p>set a list of result</p> |
---|
1984 | </dd></dl> |
---|
1985 | |
---|
1986 | <dl class="method"> |
---|
1987 | <dt id="sas.perspectives.fitting.fitproblem.FitProblemDictionary.set_fit_data"> |
---|
1988 | <tt class="descname">set_fit_data</tt><big>(</big><em>data</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitproblem.html#FitProblemDictionary.set_fit_data"><span class="viewcode-link">[source]</span></a></dt> |
---|
1989 | <dd><p>save a copy of the data select to fit |
---|
1990 | :param data: data selected</p> |
---|
1991 | </dd></dl> |
---|
1992 | |
---|
1993 | <dl class="method"> |
---|
1994 | <dt id="sas.perspectives.fitting.fitproblem.FitProblemDictionary.set_fit_tab_caption"> |
---|
1995 | <tt class="descname">set_fit_tab_caption</tt><big>(</big><em>caption</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitproblem.html#FitProblemDictionary.set_fit_tab_caption"><span class="viewcode-link">[source]</span></a></dt> |
---|
1996 | <dd><p>store the caption of the page associated with object</p> |
---|
1997 | </dd></dl> |
---|
1998 | |
---|
1999 | <dl class="method"> |
---|
2000 | <dt id="sas.perspectives.fitting.fitproblem.FitProblemDictionary.set_graph_id"> |
---|
2001 | <tt class="descname">set_graph_id</tt><big>(</big><em>id</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitproblem.html#FitProblemDictionary.set_graph_id"><span class="viewcode-link">[source]</span></a></dt> |
---|
2002 | <dd><p>Set graph id (from data_group_id at the time the graph produced)</p> |
---|
2003 | </dd></dl> |
---|
2004 | |
---|
2005 | <dl class="method"> |
---|
2006 | <dt id="sas.perspectives.fitting.fitproblem.FitProblemDictionary.set_model"> |
---|
2007 | <tt class="descname">set_model</tt><big>(</big><em>model</em>, <em>fid=None</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitproblem.html#FitProblemDictionary.set_model"><span class="viewcode-link">[source]</span></a></dt> |
---|
2008 | <dd><p>associates each model with its new created name |
---|
2009 | :param model: model selected |
---|
2010 | :param name: name created for model</p> |
---|
2011 | </dd></dl> |
---|
2012 | |
---|
2013 | <dl class="method"> |
---|
2014 | <dt id="sas.perspectives.fitting.fitproblem.FitProblemDictionary.set_model_param"> |
---|
2015 | <tt class="descname">set_model_param</tt><big>(</big><em>name</em>, <em>value=None</em>, <em>fid=None</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitproblem.html#FitProblemDictionary.set_model_param"><span class="viewcode-link">[source]</span></a></dt> |
---|
2016 | <dd><p>Store the name and value of a parameter of this fitproblem’s model |
---|
2017 | :param name: name of the given parameter |
---|
2018 | :param value: value of that parameter</p> |
---|
2019 | </dd></dl> |
---|
2020 | |
---|
2021 | <dl class="method"> |
---|
2022 | <dt id="sas.perspectives.fitting.fitproblem.FitProblemDictionary.set_param2fit"> |
---|
2023 | <tt class="descname">set_param2fit</tt><big>(</big><em>list</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitproblem.html#FitProblemDictionary.set_param2fit"><span class="viewcode-link">[source]</span></a></dt> |
---|
2024 | <dd><p>Store param names to fit (checked) |
---|
2025 | :param list: list of the param names</p> |
---|
2026 | </dd></dl> |
---|
2027 | |
---|
2028 | <dl class="method"> |
---|
2029 | <dt id="sas.perspectives.fitting.fitproblem.FitProblemDictionary.set_range"> |
---|
2030 | <tt class="descname">set_range</tt><big>(</big><em>qmin=None</em>, <em>qmax=None</em>, <em>fid=None</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitproblem.html#FitProblemDictionary.set_range"><span class="viewcode-link">[source]</span></a></dt> |
---|
2031 | <dd><p>set fitting range</p> |
---|
2032 | </dd></dl> |
---|
2033 | |
---|
2034 | <dl class="method"> |
---|
2035 | <dt id="sas.perspectives.fitting.fitproblem.FitProblemDictionary.set_residuals"> |
---|
2036 | <tt class="descname">set_residuals</tt><big>(</big><em>residuals</em>, <em>fid</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitproblem.html#FitProblemDictionary.set_residuals"><span class="viewcode-link">[source]</span></a></dt> |
---|
2037 | <dd><p>save a copy of residual |
---|
2038 | :param data: data selected</p> |
---|
2039 | </dd></dl> |
---|
2040 | |
---|
2041 | <dl class="method"> |
---|
2042 | <dt id="sas.perspectives.fitting.fitproblem.FitProblemDictionary.set_result"> |
---|
2043 | <tt class="descname">set_result</tt><big>(</big><em>result</em>, <em>fid</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitproblem.html#FitProblemDictionary.set_result"><span class="viewcode-link">[source]</span></a></dt> |
---|
2044 | <dd></dd></dl> |
---|
2045 | |
---|
2046 | <dl class="method"> |
---|
2047 | <dt id="sas.perspectives.fitting.fitproblem.FitProblemDictionary.set_smearer"> |
---|
2048 | <tt class="descname">set_smearer</tt><big>(</big><em>smearer</em>, <em>fid=None</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitproblem.html#FitProblemDictionary.set_smearer"><span class="viewcode-link">[source]</span></a></dt> |
---|
2049 | <dd><p>save reference of smear object on fitdata |
---|
2050 | :param smear: smear object from DataLoader</p> |
---|
2051 | </dd></dl> |
---|
2052 | |
---|
2053 | <dl class="method"> |
---|
2054 | <dt id="sas.perspectives.fitting.fitproblem.FitProblemDictionary.set_theory_data"> |
---|
2055 | <tt class="descname">set_theory_data</tt><big>(</big><em>fid</em>, <em>data=None</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitproblem.html#FitProblemDictionary.set_theory_data"><span class="viewcode-link">[source]</span></a></dt> |
---|
2056 | <dd><p>save a copy of the data select to fit |
---|
2057 | :param data: data selected</p> |
---|
2058 | </dd></dl> |
---|
2059 | |
---|
2060 | <dl class="method"> |
---|
2061 | <dt id="sas.perspectives.fitting.fitproblem.FitProblemDictionary.set_weight"> |
---|
2062 | <tt class="descname">set_weight</tt><big>(</big><em>is2d</em>, <em>flag=None</em>, <em>fid=None</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitproblem.html#FitProblemDictionary.set_weight"><span class="viewcode-link">[source]</span></a></dt> |
---|
2063 | <dd><p>fit weight</p> |
---|
2064 | </dd></dl> |
---|
2065 | |
---|
2066 | </dd></dl> |
---|
2067 | |
---|
2068 | </div> |
---|
2069 | <div class="section" id="module-sas.perspectives.fitting.fitting"> |
---|
2070 | <span id="sas-perspectives-fitting-fitting-module"></span><h2>sas.perspectives.fitting.fitting module</h2> |
---|
2071 | <p>Fitting perspective</p> |
---|
2072 | <dl class="class"> |
---|
2073 | <dt id="sas.perspectives.fitting.fitting.Plugin"> |
---|
2074 | <em class="property">class </em><tt class="descclassname">sas.perspectives.fitting.fitting.</tt><tt class="descname">Plugin</tt><big>(</big><em>standalone=False</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitting.html#Plugin"><span class="viewcode-link">[source]</span></a></dt> |
---|
2075 | <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> |
---|
2076 | <p>Fitting plugin is used to perform fit</p> |
---|
2077 | <dl class="method"> |
---|
2078 | <dt id="sas.perspectives.fitting.fitting.Plugin.add_color"> |
---|
2079 | <tt class="descname">add_color</tt><big>(</big><em>color</em>, <em>id</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitting.html#Plugin.add_color"><span class="viewcode-link">[source]</span></a></dt> |
---|
2080 | <dd><p>adds a color as a key with a plot id as its value to a dictionary</p> |
---|
2081 | </dd></dl> |
---|
2082 | |
---|
2083 | <dl class="method"> |
---|
2084 | <dt id="sas.perspectives.fitting.fitting.Plugin.add_fit_page"> |
---|
2085 | <tt class="descname">add_fit_page</tt><big>(</big><em>data</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitting.html#Plugin.add_fit_page"><span class="viewcode-link">[source]</span></a></dt> |
---|
2086 | <dd><p>given a data, ask to the fitting panel to create a new fitting page, |
---|
2087 | get this page and store it into the page_finder of this plug-in |
---|
2088 | :param data: is a list of data</p> |
---|
2089 | </dd></dl> |
---|
2090 | |
---|
2091 | <dl class="method"> |
---|
2092 | <dt id="sas.perspectives.fitting.fitting.Plugin.clear_panel"> |
---|
2093 | <tt class="descname">clear_panel</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitting.html#Plugin.clear_panel"><span class="viewcode-link">[source]</span></a></dt> |
---|
2094 | <dd></dd></dl> |
---|
2095 | |
---|
2096 | <dl class="method"> |
---|
2097 | <dt id="sas.perspectives.fitting.fitting.Plugin.create_fit_problem"> |
---|
2098 | <tt class="descname">create_fit_problem</tt><big>(</big><em>page_id</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitting.html#Plugin.create_fit_problem"><span class="viewcode-link">[source]</span></a></dt> |
---|
2099 | <dd><p>Given an ID create a fitproblem container</p> |
---|
2100 | </dd></dl> |
---|
2101 | |
---|
2102 | <dl class="method"> |
---|
2103 | <dt id="sas.perspectives.fitting.fitting.Plugin.delete_custom_model"> |
---|
2104 | <tt class="descname">delete_custom_model</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitting.html#Plugin.delete_custom_model"><span class="viewcode-link">[source]</span></a></dt> |
---|
2105 | <dd><p>Delete custom model file</p> |
---|
2106 | </dd></dl> |
---|
2107 | |
---|
2108 | <dl class="method"> |
---|
2109 | <dt id="sas.perspectives.fitting.fitting.Plugin.delete_data"> |
---|
2110 | <tt class="descname">delete_data</tt><big>(</big><em>data</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitting.html#Plugin.delete_data"><span class="viewcode-link">[source]</span></a></dt> |
---|
2111 | <dd><p>delete the given data from panel</p> |
---|
2112 | </dd></dl> |
---|
2113 | |
---|
2114 | <dl class="method"> |
---|
2115 | <dt id="sas.perspectives.fitting.fitting.Plugin.delete_fit_problem"> |
---|
2116 | <tt class="descname">delete_fit_problem</tt><big>(</big><em>page_id</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitting.html#Plugin.delete_fit_problem"><span class="viewcode-link">[source]</span></a></dt> |
---|
2117 | <dd><p>Given an ID create a fitproblem container</p> |
---|
2118 | </dd></dl> |
---|
2119 | |
---|
2120 | <dl class="method"> |
---|
2121 | <dt id="sas.perspectives.fitting.fitting.Plugin.draw_model"> |
---|
2122 | <tt class="descname">draw_model</tt><big>(</big><em>model</em>, <em>page_id</em>, <em>data=None</em>, <em>smearer=None</em>, <em>enable1D=True</em>, <em>enable2D=False</em>, <em>state=None</em>, <em>fid=None</em>, <em>toggle_mode_on=False</em>, <em>qmin=None</em>, <em>qmax=None</em>, <em>update_chisqr=True</em>, <em>weight=None</em>, <em>source='model'</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitting.html#Plugin.draw_model"><span class="viewcode-link">[source]</span></a></dt> |
---|
2123 | <dd><p>Draw model.</p> |
---|
2124 | <table class="docutils field-list" frame="void" rules="none"> |
---|
2125 | <col class="field-name" /> |
---|
2126 | <col class="field-body" /> |
---|
2127 | <tbody valign="top"> |
---|
2128 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple"> |
---|
2129 | <li><strong>model</strong> – the model to draw</li> |
---|
2130 | <li><strong>name</strong> – the name of the model to draw</li> |
---|
2131 | <li><strong>data</strong> – the data on which the model is based to be drawn</li> |
---|
2132 | <li><strong>description</strong> – model’s description</li> |
---|
2133 | <li><strong>enable1D</strong> – if true enable drawing model 1D</li> |
---|
2134 | <li><strong>enable2D</strong> – if true enable drawing model 2D</li> |
---|
2135 | <li><strong>qmin</strong> – Range’s minimum value to draw model</li> |
---|
2136 | <li><strong>qmax</strong> – Range’s maximum value to draw model</li> |
---|
2137 | <li><strong>qstep</strong> – number of step to divide the x and y-axis</li> |
---|
2138 | <li><strong>update_chisqr</strong> – update chisqr [bool]</li> |
---|
2139 | </ul> |
---|
2140 | </td> |
---|
2141 | </tr> |
---|
2142 | </tbody> |
---|
2143 | </table> |
---|
2144 | </dd></dl> |
---|
2145 | |
---|
2146 | <dl class="method"> |
---|
2147 | <dt id="sas.perspectives.fitting.fitting.Plugin.edit_custom_model"> |
---|
2148 | <tt class="descname">edit_custom_model</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitting.html#Plugin.edit_custom_model"><span class="viewcode-link">[source]</span></a></dt> |
---|
2149 | <dd><p>Get the python editor panel</p> |
---|
2150 | </dd></dl> |
---|
2151 | |
---|
2152 | <dl class="method"> |
---|
2153 | <dt id="sas.perspectives.fitting.fitting.Plugin.get_batch_capable"> |
---|
2154 | <tt class="descname">get_batch_capable</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitting.html#Plugin.get_batch_capable"><span class="viewcode-link">[source]</span></a></dt> |
---|
2155 | <dd><p>Check if the plugin has a batch capability</p> |
---|
2156 | </dd></dl> |
---|
2157 | |
---|
2158 | <dl class="method"> |
---|
2159 | <dt id="sas.perspectives.fitting.fitting.Plugin.get_context_menu"> |
---|
2160 | <tt class="descname">get_context_menu</tt><big>(</big><em>plotpanel=None</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitting.html#Plugin.get_context_menu"><span class="viewcode-link">[source]</span></a></dt> |
---|
2161 | <dd><p>Get the context menu items available for P(r).them allow fitting option |
---|
2162 | for Data2D and Data1D only.</p> |
---|
2163 | <table class="docutils field-list" frame="void" rules="none"> |
---|
2164 | <col class="field-name" /> |
---|
2165 | <col class="field-body" /> |
---|
2166 | <tbody valign="top"> |
---|
2167 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>graph</strong> – the Graph object to which we attach the context menu</td> |
---|
2168 | </tr> |
---|
2169 | <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">a list of menu items with call-back function</td> |
---|
2170 | </tr> |
---|
2171 | <tr class="field-odd field"><th class="field-name">Note:</th><td class="field-body">if Data1D was generated from Theory1D |
---|
2172 | the fitting option is not allowed</td> |
---|
2173 | </tr> |
---|
2174 | </tbody> |
---|
2175 | </table> |
---|
2176 | </dd></dl> |
---|
2177 | |
---|
2178 | <dl class="method"> |
---|
2179 | <dt id="sas.perspectives.fitting.fitting.Plugin.get_graph_id"> |
---|
2180 | <tt class="descname">get_graph_id</tt><big>(</big><em>uid</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitting.html#Plugin.get_graph_id"><span class="viewcode-link">[source]</span></a></dt> |
---|
2181 | <dd><p>Set graph_id for fitprobelm</p> |
---|
2182 | </dd></dl> |
---|
2183 | |
---|
2184 | <dl class="method"> |
---|
2185 | <dt id="sas.perspectives.fitting.fitting.Plugin.get_page_finder"> |
---|
2186 | <tt class="descname">get_page_finder</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitting.html#Plugin.get_page_finder"><span class="viewcode-link">[source]</span></a></dt> |
---|
2187 | <dd><p>return self.page_finder used also by simfitpage.py</p> |
---|
2188 | </dd></dl> |
---|
2189 | |
---|
2190 | <dl class="method"> |
---|
2191 | <dt id="sas.perspectives.fitting.fitting.Plugin.get_panels"> |
---|
2192 | <tt class="descname">get_panels</tt><big>(</big><em>parent</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitting.html#Plugin.get_panels"><span class="viewcode-link">[source]</span></a></dt> |
---|
2193 | <dd><p>Create and return a list of panel objects</p> |
---|
2194 | </dd></dl> |
---|
2195 | |
---|
2196 | <dl class="method"> |
---|
2197 | <dt id="sas.perspectives.fitting.fitting.Plugin.help"> |
---|
2198 | <tt class="descname">help</tt><big>(</big><em>evt</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitting.html#Plugin.help"><span class="viewcode-link">[source]</span></a></dt> |
---|
2199 | <dd><p>Show a general help dialog.</p> |
---|
2200 | </dd></dl> |
---|
2201 | |
---|
2202 | <dl class="method"> |
---|
2203 | <dt id="sas.perspectives.fitting.fitting.Plugin.make_new_model"> |
---|
2204 | <tt class="descname">make_new_model</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitting.html#Plugin.make_new_model"><span class="viewcode-link">[source]</span></a></dt> |
---|
2205 | <dd><p>Make new model</p> |
---|
2206 | </dd></dl> |
---|
2207 | |
---|
2208 | <dl class="method"> |
---|
2209 | <dt id="sas.perspectives.fitting.fitting.Plugin.make_sum_model"> |
---|
2210 | <tt class="descname">make_sum_model</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitting.html#Plugin.make_sum_model"><span class="viewcode-link">[source]</span></a></dt> |
---|
2211 | <dd><p>Edit summodel template and make one</p> |
---|
2212 | </dd></dl> |
---|
2213 | |
---|
2214 | <dl class="method"> |
---|
2215 | <dt id="sas.perspectives.fitting.fitting.Plugin.onFit"> |
---|
2216 | <tt class="descname">onFit</tt><big>(</big><em>uid</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitting.html#Plugin.onFit"><span class="viewcode-link">[source]</span></a></dt> |
---|
2217 | <dd><p>Get series of data, model, associates parameters and range and send then |
---|
2218 | to series of fit engines. Fit data and model, display result to |
---|
2219 | corresponding panels. |
---|
2220 | :param uid: id related to the panel currently calling this fit function.</p> |
---|
2221 | </dd></dl> |
---|
2222 | |
---|
2223 | <dl class="method"> |
---|
2224 | <dt id="sas.perspectives.fitting.fitting.Plugin.on_add_new_page"> |
---|
2225 | <tt class="descname">on_add_new_page</tt><big>(</big><em>event=None</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitting.html#Plugin.on_add_new_page"><span class="viewcode-link">[source]</span></a></dt> |
---|
2226 | <dd><p>ask fit panel to create a new empty page</p> |
---|
2227 | </dd></dl> |
---|
2228 | |
---|
2229 | <dl class="method"> |
---|
2230 | <dt id="sas.perspectives.fitting.fitting.Plugin.on_add_sim_page"> |
---|
2231 | <tt class="descname">on_add_sim_page</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitting.html#Plugin.on_add_sim_page"><span class="viewcode-link">[source]</span></a></dt> |
---|
2232 | <dd><p>Create a page to access simultaneous fit option</p> |
---|
2233 | </dd></dl> |
---|
2234 | |
---|
2235 | <dl class="method"> |
---|
2236 | <dt id="sas.perspectives.fitting.fitting.Plugin.on_batch_selection"> |
---|
2237 | <tt class="descname">on_batch_selection</tt><big>(</big><em>flag</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitting.html#Plugin.on_batch_selection"><span class="viewcode-link">[source]</span></a></dt> |
---|
2238 | <dd><p>switch the the notebook of batch mode or not</p> |
---|
2239 | </dd></dl> |
---|
2240 | |
---|
2241 | <dl class="method"> |
---|
2242 | <dt id="sas.perspectives.fitting.fitting.Plugin.on_bumps_options"> |
---|
2243 | <tt class="descname">on_bumps_options</tt><big>(</big><em>event=None</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitting.html#Plugin.on_bumps_options"><span class="viewcode-link">[source]</span></a></dt> |
---|
2244 | <dd></dd></dl> |
---|
2245 | |
---|
2246 | <dl class="method"> |
---|
2247 | <dt id="sas.perspectives.fitting.fitting.Plugin.on_reset_batch_flag"> |
---|
2248 | <tt class="descname">on_reset_batch_flag</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitting.html#Plugin.on_reset_batch_flag"><span class="viewcode-link">[source]</span></a></dt> |
---|
2249 | <dd><p>Set batch_reset_flag</p> |
---|
2250 | </dd></dl> |
---|
2251 | |
---|
2252 | <dl class="method"> |
---|
2253 | <dt id="sas.perspectives.fitting.fitting.Plugin.on_set_batch_result"> |
---|
2254 | <tt class="descname">on_set_batch_result</tt><big>(</big><em>page_id</em>, <em>fid</em>, <em>batch_outputs</em>, <em>batch_inputs</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitting.html#Plugin.on_set_batch_result"><span class="viewcode-link">[source]</span></a></dt> |
---|
2255 | <dd></dd></dl> |
---|
2256 | |
---|
2257 | <dl class="method"> |
---|
2258 | <dt id="sas.perspectives.fitting.fitting.Plugin.on_set_state_helper"> |
---|
2259 | <tt class="descname">on_set_state_helper</tt><big>(</big><em>event=None</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitting.html#Plugin.on_set_state_helper"><span class="viewcode-link">[source]</span></a></dt> |
---|
2260 | <dd><p>Set_state_helper. This actually sets state |
---|
2261 | after plotting data from state file.</p> |
---|
2262 | <dl class="docutils"> |
---|
2263 | <dt>: event: FitStateUpdateEvent called</dt> |
---|
2264 | <dd>by dataloader.plot_data from guiframe</dd> |
---|
2265 | </dl> |
---|
2266 | </dd></dl> |
---|
2267 | |
---|
2268 | <dl class="method"> |
---|
2269 | <dt id="sas.perspectives.fitting.fitting.Plugin.populate_menu"> |
---|
2270 | <tt class="descname">populate_menu</tt><big>(</big><em>owner</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitting.html#Plugin.populate_menu"><span class="viewcode-link">[source]</span></a></dt> |
---|
2271 | <dd><p>Create a menu for the Fitting plug-in</p> |
---|
2272 | <table class="docutils field-list" frame="void" rules="none"> |
---|
2273 | <col class="field-name" /> |
---|
2274 | <col class="field-body" /> |
---|
2275 | <tbody valign="top"> |
---|
2276 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple"> |
---|
2277 | <li><strong>id</strong> – id to create a menu</li> |
---|
2278 | <li><strong>owner</strong> – owner of menu</li> |
---|
2279 | </ul> |
---|
2280 | </td> |
---|
2281 | </tr> |
---|
2282 | <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last">list of information to populate the main menu</p> |
---|
2283 | </td> |
---|
2284 | </tr> |
---|
2285 | </tbody> |
---|
2286 | </table> |
---|
2287 | </dd></dl> |
---|
2288 | |
---|
2289 | <dl class="method"> |
---|
2290 | <dt id="sas.perspectives.fitting.fitting.Plugin.put_icon"> |
---|
2291 | <tt class="descname">put_icon</tt><big>(</big><em>frame</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitting.html#Plugin.put_icon"><span class="viewcode-link">[source]</span></a></dt> |
---|
2292 | <dd><p>Put icon in the frame title bar</p> |
---|
2293 | </dd></dl> |
---|
2294 | |
---|
2295 | <dl class="method"> |
---|
2296 | <dt id="sas.perspectives.fitting.fitting.Plugin.remove_plot"> |
---|
2297 | <tt class="descname">remove_plot</tt><big>(</big><em>uid</em>, <em>fid=None</em>, <em>theory=False</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitting.html#Plugin.remove_plot"><span class="viewcode-link">[source]</span></a></dt> |
---|
2298 | <dd><p>remove model plot when a fit page is closed |
---|
2299 | :param uid: the id related to the fitpage to close |
---|
2300 | :param fid: the id of the fitproblem(data, model, range,etc)</p> |
---|
2301 | </dd></dl> |
---|
2302 | |
---|
2303 | <dl class="method"> |
---|
2304 | <dt id="sas.perspectives.fitting.fitting.Plugin.save_fit_state"> |
---|
2305 | <tt class="descname">save_fit_state</tt><big>(</big><em>filepath</em>, <em>fitstate</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitting.html#Plugin.save_fit_state"><span class="viewcode-link">[source]</span></a></dt> |
---|
2306 | <dd><p>save fit page state into file</p> |
---|
2307 | </dd></dl> |
---|
2308 | |
---|
2309 | <dl class="method"> |
---|
2310 | <dt id="sas.perspectives.fitting.fitting.Plugin.schedule_for_fit"> |
---|
2311 | <tt class="descname">schedule_for_fit</tt><big>(</big><em>value=0</em>, <em>uid=None</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitting.html#Plugin.schedule_for_fit"><span class="viewcode-link">[source]</span></a></dt> |
---|
2312 | <dd><p>Set the fit problem field to 0 or 1 to schedule that problem to fit. |
---|
2313 | Schedule the specified fitproblem or get the fit problem related to |
---|
2314 | the current page and set value. |
---|
2315 | :param value: integer 0 or 1 |
---|
2316 | :param uid: the id related to a page contaning fitting information</p> |
---|
2317 | </dd></dl> |
---|
2318 | |
---|
2319 | <dl class="method"> |
---|
2320 | <dt id="sas.perspectives.fitting.fitting.Plugin.select_data"> |
---|
2321 | <tt class="descname">select_data</tt><big>(</big><em>panel</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitting.html#Plugin.select_data"><span class="viewcode-link">[source]</span></a></dt> |
---|
2322 | <dd></dd></dl> |
---|
2323 | |
---|
2324 | <dl class="method"> |
---|
2325 | <dt id="sas.perspectives.fitting.fitting.Plugin.set_data"> |
---|
2326 | <tt class="descname">set_data</tt><big>(</big><em>data_list=None</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitting.html#Plugin.set_data"><span class="viewcode-link">[source]</span></a></dt> |
---|
2327 | <dd><p>receive a list of data to fit</p> |
---|
2328 | </dd></dl> |
---|
2329 | |
---|
2330 | <dl class="method"> |
---|
2331 | <dt id="sas.perspectives.fitting.fitting.Plugin.set_default_perspective"> |
---|
2332 | <tt class="descname">set_default_perspective</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitting.html#Plugin.set_default_perspective"><span class="viewcode-link">[source]</span></a></dt> |
---|
2333 | <dd><p>Call back method that True to notify the parent that the current plug-in |
---|
2334 | can be set as default perspective. |
---|
2335 | when returning False, the plug-in is not candidate for an automatic |
---|
2336 | default perspective setting</p> |
---|
2337 | </dd></dl> |
---|
2338 | |
---|
2339 | <dl class="method"> |
---|
2340 | <dt id="sas.perspectives.fitting.fitting.Plugin.set_edit_menu"> |
---|
2341 | <tt class="descname">set_edit_menu</tt><big>(</big><em>owner</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitting.html#Plugin.set_edit_menu"><span class="viewcode-link">[source]</span></a></dt> |
---|
2342 | <dd><p>Set list of the edit model menu labels</p> |
---|
2343 | </dd></dl> |
---|
2344 | |
---|
2345 | <dl class="method"> |
---|
2346 | <dt id="sas.perspectives.fitting.fitting.Plugin.set_edit_menu_helper"> |
---|
2347 | <tt class="descname">set_edit_menu_helper</tt><big>(</big><em>owner=None</em>, <em>menu=None</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitting.html#Plugin.set_edit_menu_helper"><span class="viewcode-link">[source]</span></a></dt> |
---|
2348 | <dd><p>help for setting list of the edit model menu labels</p> |
---|
2349 | </dd></dl> |
---|
2350 | |
---|
2351 | <dl class="method"> |
---|
2352 | <dt id="sas.perspectives.fitting.fitting.Plugin.set_fit_range"> |
---|
2353 | <tt class="descname">set_fit_range</tt><big>(</big><em>uid</em>, <em>qmin</em>, <em>qmax</em>, <em>fid=None</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitting.html#Plugin.set_fit_range"><span class="viewcode-link">[source]</span></a></dt> |
---|
2354 | <dd><p>Set the fitting range of a given page for all |
---|
2355 | its data by default. If fid is provide then set the range |
---|
2356 | only for the data with fid as id |
---|
2357 | :param uid: id corresponding to a fit page |
---|
2358 | :param fid: id corresponding to a fit problem (data, model) |
---|
2359 | :param qmin: minimum value of the fit range |
---|
2360 | :param qmax: maximum value of the fit range</p> |
---|
2361 | </dd></dl> |
---|
2362 | |
---|
2363 | <dl class="method"> |
---|
2364 | <dt id="sas.perspectives.fitting.fitting.Plugin.set_fit_weight"> |
---|
2365 | <tt class="descname">set_fit_weight</tt><big>(</big><em>uid</em>, <em>flag</em>, <em>is2d=False</em>, <em>fid=None</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitting.html#Plugin.set_fit_weight"><span class="viewcode-link">[source]</span></a></dt> |
---|
2366 | <dd><p>Set the fit weights of a given page for all |
---|
2367 | its data by default. If fid is provide then set the range |
---|
2368 | only for the data with fid as id |
---|
2369 | :param uid: id corresponding to a fit page |
---|
2370 | :param fid: id corresponding to a fit problem (data, model) |
---|
2371 | :param weight: current dy data</p> |
---|
2372 | </dd></dl> |
---|
2373 | |
---|
2374 | <dl class="method"> |
---|
2375 | <dt id="sas.perspectives.fitting.fitting.Plugin.set_ftol"> |
---|
2376 | <tt class="descname">set_ftol</tt><big>(</big><em>ftol=None</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitting.html#Plugin.set_ftol"><span class="viewcode-link">[source]</span></a></dt> |
---|
2377 | <dd><p>Set ftol: Relative error desired in the sum of chi squares.</p> |
---|
2378 | </dd></dl> |
---|
2379 | |
---|
2380 | <dl class="method"> |
---|
2381 | <dt id="sas.perspectives.fitting.fitting.Plugin.set_graph_id"> |
---|
2382 | <tt class="descname">set_graph_id</tt><big>(</big><em>uid</em>, <em>graph_id</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitting.html#Plugin.set_graph_id"><span class="viewcode-link">[source]</span></a></dt> |
---|
2383 | <dd><p>Set graph_id for fitprobelm</p> |
---|
2384 | </dd></dl> |
---|
2385 | |
---|
2386 | <dl class="method"> |
---|
2387 | <dt id="sas.perspectives.fitting.fitting.Plugin.set_page_finder"> |
---|
2388 | <tt class="descname">set_page_finder</tt><big>(</big><em>modelname</em>, <em>names</em>, <em>values</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitting.html#Plugin.set_page_finder"><span class="viewcode-link">[source]</span></a></dt> |
---|
2389 | <dd><p>Used by simfitpage.py to reset a parameter given the string constrainst.</p> |
---|
2390 | <table class="docutils field-list" frame="void" rules="none"> |
---|
2391 | <col class="field-name" /> |
---|
2392 | <col class="field-body" /> |
---|
2393 | <tbody valign="top"> |
---|
2394 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple"> |
---|
2395 | <li><strong>modelname</strong> – the name ot the model for with the parameter |
---|
2396 | has to reset</li> |
---|
2397 | <li><strong>value</strong> – can be a string in this case.</li> |
---|
2398 | <li><strong>names</strong> – the paramter name</li> |
---|
2399 | </ul> |
---|
2400 | </td> |
---|
2401 | </tr> |
---|
2402 | <tr class="field-even field"><th class="field-name">Note:</th><td class="field-body"><p class="first last">expecting park used for fit.</p> |
---|
2403 | </td> |
---|
2404 | </tr> |
---|
2405 | </tbody> |
---|
2406 | </table> |
---|
2407 | </dd></dl> |
---|
2408 | |
---|
2409 | <dl class="method"> |
---|
2410 | <dt id="sas.perspectives.fitting.fitting.Plugin.set_param2fit"> |
---|
2411 | <tt class="descname">set_param2fit</tt><big>(</big><em>uid</em>, <em>param2fit</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitting.html#Plugin.set_param2fit"><span class="viewcode-link">[source]</span></a></dt> |
---|
2412 | <dd><p>Set the list of param names to fit for fitprobelm</p> |
---|
2413 | </dd></dl> |
---|
2414 | |
---|
2415 | <dl class="method"> |
---|
2416 | <dt id="sas.perspectives.fitting.fitting.Plugin.set_smearer"> |
---|
2417 | <tt class="descname">set_smearer</tt><big>(</big><em>uid</em>, <em>smearer</em>, <em>fid</em>, <em>qmin=None</em>, <em>qmax=None</em>, <em>draw=True</em>, <em>enable_smearer=False</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitting.html#Plugin.set_smearer"><span class="viewcode-link">[source]</span></a></dt> |
---|
2418 | <dd><p>Get a smear object and store it to a fit problem of fid as id. If proper |
---|
2419 | flag is enable , will plot the theory with smearing information.</p> |
---|
2420 | <table class="docutils field-list" frame="void" rules="none"> |
---|
2421 | <col class="field-name" /> |
---|
2422 | <col class="field-body" /> |
---|
2423 | <tbody valign="top"> |
---|
2424 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple"> |
---|
2425 | <li><strong>smearer</strong> – smear object to allow smearing data of id fid</li> |
---|
2426 | <li><strong>enable_smearer</strong> – Define whether or not all (data, model) contained |
---|
2427 | in the structure of id uid will be smeared before fitting.</li> |
---|
2428 | <li><strong>qmin</strong> – the maximum value of the theory plotting range</li> |
---|
2429 | <li><strong>qmax</strong> – the maximum value of the theory plotting range</li> |
---|
2430 | <li><strong>draw</strong> – Determine if the theory needs to be plot</li> |
---|
2431 | </ul> |
---|
2432 | </td> |
---|
2433 | </tr> |
---|
2434 | </tbody> |
---|
2435 | </table> |
---|
2436 | </dd></dl> |
---|
2437 | |
---|
2438 | <dl class="method"> |
---|
2439 | <dt id="sas.perspectives.fitting.fitting.Plugin.set_state"> |
---|
2440 | <tt class="descname">set_state</tt><big>(</big><em>state=None</em>, <em>datainfo=None</em>, <em>format=None</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitting.html#Plugin.set_state"><span class="viewcode-link">[source]</span></a></dt> |
---|
2441 | <dd><p>Call-back method for the fit page state reader. |
---|
2442 | This method is called when a .fitv/.svs file is loaded.</p> |
---|
2443 | <p>: param state: PageState object |
---|
2444 | : param datainfo: data</p> |
---|
2445 | </dd></dl> |
---|
2446 | |
---|
2447 | <dl class="method"> |
---|
2448 | <dt id="sas.perspectives.fitting.fitting.Plugin.set_theory"> |
---|
2449 | <tt class="descname">set_theory</tt><big>(</big><em>theory_list=None</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitting.html#Plugin.set_theory"><span class="viewcode-link">[source]</span></a></dt> |
---|
2450 | <dd></dd></dl> |
---|
2451 | |
---|
2452 | <dl class="method"> |
---|
2453 | <dt id="sas.perspectives.fitting.fitting.Plugin.show_ftol_dialog"> |
---|
2454 | <tt class="descname">show_ftol_dialog</tt><big>(</big><em>event=None</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitting.html#Plugin.show_ftol_dialog"><span class="viewcode-link">[source]</span></a></dt> |
---|
2455 | <dd><p>Dialog to select ftol for Scipy</p> |
---|
2456 | </dd></dl> |
---|
2457 | |
---|
2458 | <dl class="method"> |
---|
2459 | <dt id="sas.perspectives.fitting.fitting.Plugin.split_string"> |
---|
2460 | <tt class="descname">split_string</tt><big>(</big><em>item</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitting.html#Plugin.split_string"><span class="viewcode-link">[source]</span></a></dt> |
---|
2461 | <dd><p>receive a word containing dot and split it. used to split parameterset |
---|
2462 | name into model name and parameter name example:</p> |
---|
2463 | <div class="highlight-python"><div class="highlight"><pre>paramaterset (item) = M1.A |
---|
2464 | Will return model_name = M1 , parameter name = A |
---|
2465 | </pre></div> |
---|
2466 | </div> |
---|
2467 | </dd></dl> |
---|
2468 | |
---|
2469 | <dl class="method"> |
---|
2470 | <dt id="sas.perspectives.fitting.fitting.Plugin.stop_fit"> |
---|
2471 | <tt class="descname">stop_fit</tt><big>(</big><em>uid</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitting.html#Plugin.stop_fit"><span class="viewcode-link">[source]</span></a></dt> |
---|
2472 | <dd><p>Stop the fit engine</p> |
---|
2473 | </dd></dl> |
---|
2474 | |
---|
2475 | <dl class="method"> |
---|
2476 | <dt id="sas.perspectives.fitting.fitting.Plugin.store_data"> |
---|
2477 | <tt class="descname">store_data</tt><big>(</big><em>uid</em>, <em>data_list=None</em>, <em>caption=None</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitting.html#Plugin.store_data"><span class="viewcode-link">[source]</span></a></dt> |
---|
2478 | <dd><p>Recieve a list of data and store them ans well as a caption of |
---|
2479 | the fit page where they come from. |
---|
2480 | :param uid: if related to a fit page |
---|
2481 | :param data_list: list of data to fit |
---|
2482 | :param caption: caption of the window related to these data</p> |
---|
2483 | </dd></dl> |
---|
2484 | |
---|
2485 | <dl class="method"> |
---|
2486 | <dt id="sas.perspectives.fitting.fitting.Plugin.update_custom_combo"> |
---|
2487 | <tt class="descname">update_custom_combo</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitting.html#Plugin.update_custom_combo"><span class="viewcode-link">[source]</span></a></dt> |
---|
2488 | <dd><p>Update custom model list in the fitpage combo box</p> |
---|
2489 | </dd></dl> |
---|
2490 | |
---|
2491 | <dl class="method"> |
---|
2492 | <dt id="sas.perspectives.fitting.fitting.Plugin.update_fit"> |
---|
2493 | <tt class="descname">update_fit</tt><big>(</big><em>result=None</em>, <em>msg=''</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitting.html#Plugin.update_fit"><span class="viewcode-link">[source]</span></a></dt> |
---|
2494 | <dd></dd></dl> |
---|
2495 | |
---|
2496 | </dd></dl> |
---|
2497 | |
---|
2498 | </div> |
---|
2499 | <div class="section" id="module-sas.perspectives.fitting.fitting_widgets"> |
---|
2500 | <span id="sas-perspectives-fitting-fitting-widgets-module"></span><h2>sas.perspectives.fitting.fitting_widgets module</h2> |
---|
2501 | <dl class="class"> |
---|
2502 | <dt id="sas.perspectives.fitting.fitting_widgets.BatchDataDialog"> |
---|
2503 | <em class="property">class </em><tt class="descclassname">sas.perspectives.fitting.fitting_widgets.</tt><tt class="descname">BatchDataDialog</tt><big>(</big><em>parent=None</em>, <em>*args</em>, <em>**kwds</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitting_widgets.html#BatchDataDialog"><span class="viewcode-link">[source]</span></a></dt> |
---|
2504 | <dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">wx._windows.Dialog</span></tt></p> |
---|
2505 | <p>The current design of Batch fit allows only of type of data in the data |
---|
2506 | set. This allows the user to make a quick selection of the type of data |
---|
2507 | to use in fit tab.</p> |
---|
2508 | <dl class="method"> |
---|
2509 | <dt id="sas.perspectives.fitting.fitting_widgets.BatchDataDialog.get_data"> |
---|
2510 | <tt class="descname">get_data</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitting_widgets.html#BatchDataDialog.get_data"><span class="viewcode-link">[source]</span></a></dt> |
---|
2511 | <dd><p>return 1 if user requested Data1D , 2 if user requested Data2D</p> |
---|
2512 | </dd></dl> |
---|
2513 | |
---|
2514 | </dd></dl> |
---|
2515 | |
---|
2516 | <dl class="class"> |
---|
2517 | <dt id="sas.perspectives.fitting.fitting_widgets.DataDialog"> |
---|
2518 | <em class="property">class </em><tt class="descclassname">sas.perspectives.fitting.fitting_widgets.</tt><tt class="descname">DataDialog</tt><big>(</big><em>data_list</em>, <em>parent=None</em>, <em>text=''</em>, <em>nb_data=4</em>, <em>*args</em>, <em>**kwds</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitting_widgets.html#DataDialog"><span class="viewcode-link">[source]</span></a></dt> |
---|
2519 | <dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">wx._windows.Dialog</span></tt></p> |
---|
2520 | <p>Allow file selection at loading time</p> |
---|
2521 | <dl class="method"> |
---|
2522 | <dt id="sas.perspectives.fitting.fitting_widgets.DataDialog.get_data"> |
---|
2523 | <tt class="descname">get_data</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitting_widgets.html#DataDialog.get_data"><span class="viewcode-link">[source]</span></a></dt> |
---|
2524 | <dd><p>return the selected data</p> |
---|
2525 | </dd></dl> |
---|
2526 | |
---|
2527 | </dd></dl> |
---|
2528 | |
---|
2529 | <dl class="class"> |
---|
2530 | <dt id="sas.perspectives.fitting.fitting_widgets.DialogPanel"> |
---|
2531 | <em class="property">class </em><tt class="descclassname">sas.perspectives.fitting.fitting_widgets.</tt><tt class="descname">DialogPanel</tt><big>(</big><em>*args</em>, <em>**kwds</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/fitting_widgets.html#DialogPanel"><span class="viewcode-link">[source]</span></a></dt> |
---|
2532 | <dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">wx.lib.scrolledpanel.ScrolledPanel</span></tt></p> |
---|
2533 | </dd></dl> |
---|
2534 | |
---|
2535 | </div> |
---|
2536 | <div class="section" id="module-sas.perspectives.fitting.ftol_dialog"> |
---|
2537 | <span id="sas-perspectives-fitting-ftol-dialog-module"></span><h2>sas.perspectives.fitting.ftol_dialog module</h2> |
---|
2538 | <p>Dialog to set ftol for Scipy</p> |
---|
2539 | <blockquote> |
---|
2540 | <div>ftol(float): Relative error desired in the sum of squares.</div></blockquote> |
---|
2541 | <dl class="class"> |
---|
2542 | <dt id="sas.perspectives.fitting.ftol_dialog.ChangeFtol"> |
---|
2543 | <em class="property">class </em><tt class="descclassname">sas.perspectives.fitting.ftol_dialog.</tt><tt class="descname">ChangeFtol</tt><big>(</big><em>parent</em>, <em>base</em>, <em>id=-1</em>, <em>title='FTolerance'</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/ftol_dialog.html#ChangeFtol"><span class="viewcode-link">[source]</span></a></dt> |
---|
2544 | <dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">wx._windows.Dialog</span></tt></p> |
---|
2545 | <p>Dialog to select ftol</p> |
---|
2546 | <dl class="method"> |
---|
2547 | <dt id="sas.perspectives.fitting.ftol_dialog.ChangeFtol.OnFtolSelection"> |
---|
2548 | <tt class="descname">OnFtolSelection</tt><big>(</big><em>event=None</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/ftol_dialog.html#ChangeFtol.OnFtolSelection"><span class="viewcode-link">[source]</span></a></dt> |
---|
2549 | <dd><p>Changes the ftol on selection of the radio button</p> |
---|
2550 | </dd></dl> |
---|
2551 | |
---|
2552 | <dl class="method"> |
---|
2553 | <dt id="sas.perspectives.fitting.ftol_dialog.ChangeFtol.get_ftol"> |
---|
2554 | <tt class="descname">get_ftol</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/ftol_dialog.html#ChangeFtol.get_ftol"><span class="viewcode-link">[source]</span></a></dt> |
---|
2555 | <dd><p>Get the ftol value</p> |
---|
2556 | </dd></dl> |
---|
2557 | |
---|
2558 | </dd></dl> |
---|
2559 | |
---|
2560 | </div> |
---|
2561 | <div class="section" id="module-sas.perspectives.fitting.help_panel"> |
---|
2562 | <span id="sas-perspectives-fitting-help-panel-module"></span><h2>sas.perspectives.fitting.help_panel module</h2> |
---|
2563 | <p>Help dialog</p> |
---|
2564 | <dl class="class"> |
---|
2565 | <dt id="sas.perspectives.fitting.help_panel.HelpPanel"> |
---|
2566 | <em class="property">class </em><tt class="descclassname">sas.perspectives.fitting.help_panel.</tt><tt class="descname">HelpPanel</tt><big>(</big><em>parent</em>, <em>**kwargs</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/help_panel.html#HelpPanel"><span class="viewcode-link">[source]</span></a></dt> |
---|
2567 | <dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">wx.lib.scrolledpanel.ScrolledPanel</span></tt></p> |
---|
2568 | </dd></dl> |
---|
2569 | |
---|
2570 | <dl class="class"> |
---|
2571 | <dt id="sas.perspectives.fitting.help_panel.HelpWindow"> |
---|
2572 | <em class="property">class </em><tt class="descclassname">sas.perspectives.fitting.help_panel.</tt><tt class="descname">HelpWindow</tt><big>(</big><em>parent</em>, <em>id</em>, <em>title='Fitting Help'</em>, <em>pageToOpen=None</em>, <em>size=(850</em>, <em>540)</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/help_panel.html#HelpWindow"><span class="viewcode-link">[source]</span></a></dt> |
---|
2573 | <dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">wx._windows.Frame</span></tt></p> |
---|
2574 | <dl class="method"> |
---|
2575 | <dt id="sas.perspectives.fitting.help_panel.HelpWindow.OnButtonClicked"> |
---|
2576 | <tt class="descname">OnButtonClicked</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/help_panel.html#HelpWindow.OnButtonClicked"><span class="viewcode-link">[source]</span></a></dt> |
---|
2577 | <dd><p>Function to diplay Model html page related to the hyperlinktext selected</p> |
---|
2578 | </dd></dl> |
---|
2579 | |
---|
2580 | <dl class="method"> |
---|
2581 | <dt id="sas.perspectives.fitting.help_panel.HelpWindow.OnLinkClicked"> |
---|
2582 | <tt class="descname">OnLinkClicked</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/help_panel.html#HelpWindow.OnLinkClicked"><span class="viewcode-link">[source]</span></a></dt> |
---|
2583 | <dd><p>Function to diplay html page related to the hyperlinktext selected</p> |
---|
2584 | </dd></dl> |
---|
2585 | |
---|
2586 | <dl class="method"> |
---|
2587 | <dt id="sas.perspectives.fitting.help_panel.HelpWindow.on_Size"> |
---|
2588 | <tt class="descname">on_Size</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/help_panel.html#HelpWindow.on_Size"><span class="viewcode-link">[source]</span></a></dt> |
---|
2589 | <dd><p>Recover the scroll position On Size</p> |
---|
2590 | </dd></dl> |
---|
2591 | |
---|
2592 | </dd></dl> |
---|
2593 | |
---|
2594 | </div> |
---|
2595 | <div class="section" id="module-sas.perspectives.fitting.hint_fitpage"> |
---|
2596 | <span id="sas-perspectives-fitting-hint-fitpage-module"></span><h2>sas.perspectives.fitting.hint_fitpage module</h2> |
---|
2597 | <p>This class provide general structure of fitpanel page</p> |
---|
2598 | <dl class="class"> |
---|
2599 | <dt id="sas.perspectives.fitting.hint_fitpage.HelpWindow"> |
---|
2600 | <em class="property">class </em><tt class="descclassname">sas.perspectives.fitting.hint_fitpage.</tt><tt class="descname">HelpWindow</tt><big>(</big><em>parent</em>, <em>id</em>, <em>title</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/hint_fitpage.html#HelpWindow"><span class="viewcode-link">[source]</span></a></dt> |
---|
2601 | <dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">wx._windows.Frame</span></tt></p> |
---|
2602 | </dd></dl> |
---|
2603 | |
---|
2604 | <dl class="class"> |
---|
2605 | <dt id="sas.perspectives.fitting.hint_fitpage.HintFitPage"> |
---|
2606 | <em class="property">class </em><tt class="descclassname">sas.perspectives.fitting.hint_fitpage.</tt><tt class="descname">HintFitPage</tt><big>(</big><em>parent</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/hint_fitpage.html#HintFitPage"><span class="viewcode-link">[source]</span></a></dt> |
---|
2607 | <dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">wx._windows.ScrolledWindow</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> |
---|
2608 | <p>This class provide general structure of fitpanel page</p> |
---|
2609 | <dl class="method"> |
---|
2610 | <dt id="sas.perspectives.fitting.hint_fitpage.HintFitPage.createMemento"> |
---|
2611 | <tt class="descname">createMemento</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/hint_fitpage.html#HintFitPage.createMemento"><span class="viewcode-link">[source]</span></a></dt> |
---|
2612 | <dd></dd></dl> |
---|
2613 | |
---|
2614 | <dl class="method"> |
---|
2615 | <dt id="sas.perspectives.fitting.hint_fitpage.HintFitPage.do_layout"> |
---|
2616 | <tt class="descname">do_layout</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/hint_fitpage.html#HintFitPage.do_layout"><span class="viewcode-link">[source]</span></a></dt> |
---|
2617 | <dd><p>Draw the page</p> |
---|
2618 | </dd></dl> |
---|
2619 | |
---|
2620 | <dl class="attribute"> |
---|
2621 | <dt id="sas.perspectives.fitting.hint_fitpage.HintFitPage.window_caption"> |
---|
2622 | <tt class="descname">window_caption</tt><em class="property"> = 'Hint page '</em></dt> |
---|
2623 | <dd></dd></dl> |
---|
2624 | |
---|
2625 | <dl class="attribute"> |
---|
2626 | <dt id="sas.perspectives.fitting.hint_fitpage.HintFitPage.window_name"> |
---|
2627 | <tt class="descname">window_name</tt><em class="property"> = 'Hint Page'</em></dt> |
---|
2628 | <dd></dd></dl> |
---|
2629 | |
---|
2630 | </dd></dl> |
---|
2631 | |
---|
2632 | </div> |
---|
2633 | <div class="section" id="module-sas.perspectives.fitting.model_thread"> |
---|
2634 | <span id="sas-perspectives-fitting-model-thread-module"></span><h2>sas.perspectives.fitting.model_thread module</h2> |
---|
2635 | <p>Calculation thread for modeling</p> |
---|
2636 | <dl class="class"> |
---|
2637 | <dt id="sas.perspectives.fitting.model_thread.Calc1D"> |
---|
2638 | <em class="property">class </em><tt class="descclassname">sas.perspectives.fitting.model_thread.</tt><tt class="descname">Calc1D</tt><big>(</big><em>model</em>, <em>page_id</em>, <em>data</em>, <em>fid=None</em>, <em>qmin=None</em>, <em>qmax=None</em>, <em>weight=None</em>, <em>smearer=None</em>, <em>toggle_mode_on=False</em>, <em>state=None</em>, <em>completefn=None</em>, <em>update_chisqr=True</em>, <em>source='model'</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/fitting/model_thread.html#Calc1D"><span class="viewcode-link">[source]</span></a></dt> |
---|
2639 | <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> |
---|
2640 | <p>Compute 1D data</p> |
---|
2641 | <dl class="method"> |
---|
2642 | <dt id="sas.perspectives.fitting.model_thread.Calc1D.compute"> |
---|
2643 | <tt class="descname">compute</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/model_thread.html#Calc1D.compute"><span class="viewcode-link">[source]</span></a></dt> |
---|
2644 | <dd><p>Compute model 1d value given qmin , qmax , x value</p> |
---|
2645 | </dd></dl> |
---|
2646 | |
---|
2647 | <dl class="method"> |
---|
2648 | <dt id="sas.perspectives.fitting.model_thread.Calc1D.results"> |
---|
2649 | <tt class="descname">results</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/model_thread.html#Calc1D.results"><span class="viewcode-link">[source]</span></a></dt> |
---|
2650 | <dd><p>Send resuts of the computation</p> |
---|
2651 | </dd></dl> |
---|
2652 | |
---|
2653 | </dd></dl> |
---|
2654 | |
---|
2655 | <dl class="class"> |
---|
2656 | <dt id="sas.perspectives.fitting.model_thread.Calc2D"> |
---|
2657 | <em class="property">class </em><tt class="descclassname">sas.perspectives.fitting.model_thread.</tt><tt class="descname">Calc2D</tt><big>(</big><em>data</em>, <em>model</em>, <em>smearer</em>, <em>qmin</em>, <em>qmax</em>, <em>page_id</em>, <em>state=None</em>, <em>weight=None</em>, <em>fid=None</em>, <em>toggle_mode_on=False</em>, <em>completefn=None</em>, <em>updatefn=None</em>, <em>update_chisqr=True</em>, <em>source='model'</em>, <em>yieldtime=0.04</em>, <em>worktime=0.04</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/model_thread.html#Calc2D"><span class="viewcode-link">[source]</span></a></dt> |
---|
2658 | <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> |
---|
2659 | <p>Compute 2D model |
---|
2660 | This calculation assumes a 2-fold symmetry of the model |
---|
2661 | where points are computed for one half of the detector |
---|
2662 | and I(qx, qy) = I(-qx, -qy) is assumed.</p> |
---|
2663 | <dl class="method"> |
---|
2664 | <dt id="sas.perspectives.fitting.model_thread.Calc2D.compute"> |
---|
2665 | <tt class="descname">compute</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/model_thread.html#Calc2D.compute"><span class="viewcode-link">[source]</span></a></dt> |
---|
2666 | <dd><p>Compute the data given a model function</p> |
---|
2667 | </dd></dl> |
---|
2668 | |
---|
2669 | </dd></dl> |
---|
2670 | |
---|
2671 | </div> |
---|
2672 | <div class="section" id="module-sas.perspectives.fitting.models"> |
---|
2673 | <span id="sas-perspectives-fitting-models-module"></span><h2>sas.perspectives.fitting.models module</h2> |
---|
2674 | <p>Utilities to manage models</p> |
---|
2675 | <dl class="class"> |
---|
2676 | <dt id="sas.perspectives.fitting.models.ModelList"> |
---|
2677 | <em class="property">class </em><tt class="descclassname">sas.perspectives.fitting.models.</tt><tt class="descname">ModelList</tt><a class="reference internal" href="../../_modules/sas/perspectives/fitting/models.html#ModelList"><span class="viewcode-link">[source]</span></a></dt> |
---|
2678 | <dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">object</span></tt></p> |
---|
2679 | <p>Contains dictionary of model and their type</p> |
---|
2680 | <dl class="method"> |
---|
2681 | <dt id="sas.perspectives.fitting.models.ModelList.get_list"> |
---|
2682 | <tt class="descname">get_list</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/models.html#ModelList.get_list"><span class="viewcode-link">[source]</span></a></dt> |
---|
2683 | <dd><p>return all the list stored in a dictionary object</p> |
---|
2684 | </dd></dl> |
---|
2685 | |
---|
2686 | <dl class="method"> |
---|
2687 | <dt id="sas.perspectives.fitting.models.ModelList.reset_list"> |
---|
2688 | <tt class="descname">reset_list</tt><big>(</big><em>name</em>, <em>mylist</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/models.html#ModelList.reset_list"><span class="viewcode-link">[source]</span></a></dt> |
---|
2689 | <dd><table class="docutils field-list" frame="void" rules="none"> |
---|
2690 | <col class="field-name" /> |
---|
2691 | <col class="field-body" /> |
---|
2692 | <tbody valign="top"> |
---|
2693 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple"> |
---|
2694 | <li><strong>name</strong> – the type of the list</li> |
---|
2695 | <li><strong>mylist</strong> – the list to add</li> |
---|
2696 | </ul> |
---|
2697 | </td> |
---|
2698 | </tr> |
---|
2699 | </tbody> |
---|
2700 | </table> |
---|
2701 | </dd></dl> |
---|
2702 | |
---|
2703 | <dl class="method"> |
---|
2704 | <dt id="sas.perspectives.fitting.models.ModelList.set_list"> |
---|
2705 | <tt class="descname">set_list</tt><big>(</big><em>name</em>, <em>mylist</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/models.html#ModelList.set_list"><span class="viewcode-link">[source]</span></a></dt> |
---|
2706 | <dd><table class="docutils field-list" frame="void" rules="none"> |
---|
2707 | <col class="field-name" /> |
---|
2708 | <col class="field-body" /> |
---|
2709 | <tbody valign="top"> |
---|
2710 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple"> |
---|
2711 | <li><strong>name</strong> – the type of the list</li> |
---|
2712 | <li><strong>mylist</strong> – the list to add</li> |
---|
2713 | </ul> |
---|
2714 | </td> |
---|
2715 | </tr> |
---|
2716 | </tbody> |
---|
2717 | </table> |
---|
2718 | </dd></dl> |
---|
2719 | |
---|
2720 | </dd></dl> |
---|
2721 | |
---|
2722 | <dl class="class"> |
---|
2723 | <dt id="sas.perspectives.fitting.models.ModelManager"> |
---|
2724 | <em class="property">class </em><tt class="descclassname">sas.perspectives.fitting.models.</tt><tt class="descname">ModelManager</tt><a class="reference internal" href="../../_modules/sas/perspectives/fitting/models.html#ModelManager"><span class="viewcode-link">[source]</span></a></dt> |
---|
2725 | <dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">object</span></tt></p> |
---|
2726 | <p>implement model</p> |
---|
2727 | <dl class="attribute"> |
---|
2728 | <dt id="sas.perspectives.fitting.models.ModelManager.cat_model_list"> |
---|
2729 | <tt class="descname">cat_model_list</tt><em class="property"> = []</em></dt> |
---|
2730 | <dd></dd></dl> |
---|
2731 | |
---|
2732 | <dl class="method"> |
---|
2733 | <dt id="sas.perspectives.fitting.models.ModelManager.findModels"> |
---|
2734 | <tt class="descname">findModels</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/models.html#ModelManager.findModels"><span class="viewcode-link">[source]</span></a></dt> |
---|
2735 | <dd></dd></dl> |
---|
2736 | |
---|
2737 | <dl class="method"> |
---|
2738 | <dt id="sas.perspectives.fitting.models.ModelManager.get_model_dictionary"> |
---|
2739 | <tt class="descname">get_model_dictionary</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/models.html#ModelManager.get_model_dictionary"><span class="viewcode-link">[source]</span></a></dt> |
---|
2740 | <dd></dd></dl> |
---|
2741 | |
---|
2742 | <dl class="method"> |
---|
2743 | <dt id="sas.perspectives.fitting.models.ModelManager.get_model_list"> |
---|
2744 | <tt class="descname">get_model_list</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/models.html#ModelManager.get_model_list"><span class="viewcode-link">[source]</span></a></dt> |
---|
2745 | <dd></dd></dl> |
---|
2746 | |
---|
2747 | <dl class="method"> |
---|
2748 | <dt id="sas.perspectives.fitting.models.ModelManager.get_model_name_list"> |
---|
2749 | <tt class="descname">get_model_name_list</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/models.html#ModelManager.get_model_name_list"><span class="viewcode-link">[source]</span></a></dt> |
---|
2750 | <dd></dd></dl> |
---|
2751 | |
---|
2752 | <dl class="method"> |
---|
2753 | <dt id="sas.perspectives.fitting.models.ModelManager.is_changed"> |
---|
2754 | <tt class="descname">is_changed</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/models.html#ModelManager.is_changed"><span class="viewcode-link">[source]</span></a></dt> |
---|
2755 | <dd></dd></dl> |
---|
2756 | |
---|
2757 | <dl class="attribute"> |
---|
2758 | <dt id="sas.perspectives.fitting.models.ModelManager.model_name"> |
---|
2759 | <tt class="descname">model_name</tt><em class="property"> = 'LorentzModel'</em></dt> |
---|
2760 | <dd></dd></dl> |
---|
2761 | |
---|
2762 | <dl class="method"> |
---|
2763 | <dt id="sas.perspectives.fitting.models.ModelManager.populate_menu"> |
---|
2764 | <tt class="descname">populate_menu</tt><big>(</big><em>modelmenu</em>, <em>event_owner</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/models.html#ModelManager.populate_menu"><span class="viewcode-link">[source]</span></a></dt> |
---|
2765 | <dd></dd></dl> |
---|
2766 | |
---|
2767 | <dl class="method"> |
---|
2768 | <dt id="sas.perspectives.fitting.models.ModelManager.pulgins_reset"> |
---|
2769 | <tt class="descname">pulgins_reset</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/models.html#ModelManager.pulgins_reset"><span class="viewcode-link">[source]</span></a></dt> |
---|
2770 | <dd></dd></dl> |
---|
2771 | |
---|
2772 | <dl class="method"> |
---|
2773 | <dt id="sas.perspectives.fitting.models.ModelManager.update"> |
---|
2774 | <tt class="descname">update</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/models.html#ModelManager.update"><span class="viewcode-link">[source]</span></a></dt> |
---|
2775 | <dd></dd></dl> |
---|
2776 | |
---|
2777 | </dd></dl> |
---|
2778 | |
---|
2779 | <dl class="class"> |
---|
2780 | <dt id="sas.perspectives.fitting.models.ModelManagerBase"> |
---|
2781 | <em class="property">class </em><tt class="descclassname">sas.perspectives.fitting.models.</tt><tt class="descname">ModelManagerBase</tt><a class="reference internal" href="../../_modules/sas/perspectives/fitting/models.html#ModelManagerBase"><span class="viewcode-link">[source]</span></a></dt> |
---|
2782 | <dd><p>Base class for the model manager</p> |
---|
2783 | <dl class="attribute"> |
---|
2784 | <dt id="sas.perspectives.fitting.models.ModelManagerBase.event_owner"> |
---|
2785 | <tt class="descname">event_owner</tt><em class="property"> = None</em></dt> |
---|
2786 | <dd></dd></dl> |
---|
2787 | |
---|
2788 | <dl class="method"> |
---|
2789 | <dt id="sas.perspectives.fitting.models.ModelManagerBase.findModels"> |
---|
2790 | <tt class="descname">findModels</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/models.html#ModelManagerBase.findModels"><span class="viewcode-link">[source]</span></a></dt> |
---|
2791 | <dd><p>find plugin model in directory of plugin .recompile all file |
---|
2792 | in the directory if file were modified</p> |
---|
2793 | </dd></dl> |
---|
2794 | |
---|
2795 | <dl class="attribute"> |
---|
2796 | <dt id="sas.perspectives.fitting.models.ModelManagerBase.form_factor_dict"> |
---|
2797 | <tt class="descname">form_factor_dict</tt><em class="property"> = {'167': [<class 'sas.models.SphereModel.SphereModel'>]}</em></dt> |
---|
2798 | <dd></dd></dl> |
---|
2799 | |
---|
2800 | <dl class="method"> |
---|
2801 | <dt id="sas.perspectives.fitting.models.ModelManagerBase.get_model_dictionary"> |
---|
2802 | <tt class="descname">get_model_dictionary</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/models.html#ModelManagerBase.get_model_dictionary"><span class="viewcode-link">[source]</span></a></dt> |
---|
2803 | <dd><p>return dictionary linking model names to objects</p> |
---|
2804 | </dd></dl> |
---|
2805 | |
---|
2806 | <dl class="method"> |
---|
2807 | <dt id="sas.perspectives.fitting.models.ModelManagerBase.get_model_list"> |
---|
2808 | <tt class="descname">get_model_list</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/models.html#ModelManagerBase.get_model_list"><span class="viewcode-link">[source]</span></a></dt> |
---|
2809 | <dd><p>return dictionary of models for fitpanel use</p> |
---|
2810 | </dd></dl> |
---|
2811 | |
---|
2812 | <dl class="method"> |
---|
2813 | <dt id="sas.perspectives.fitting.models.ModelManagerBase.get_model_name_list"> |
---|
2814 | <tt class="descname">get_model_name_list</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/models.html#ModelManagerBase.get_model_name_list"><span class="viewcode-link">[source]</span></a></dt> |
---|
2815 | <dd><p>return regular model name list</p> |
---|
2816 | </dd></dl> |
---|
2817 | |
---|
2818 | <dl class="method"> |
---|
2819 | <dt id="sas.perspectives.fitting.models.ModelManagerBase.is_changed"> |
---|
2820 | <tt class="descname">is_changed</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/models.html#ModelManagerBase.is_changed"><span class="viewcode-link">[source]</span></a></dt> |
---|
2821 | <dd><dl class="docutils"> |
---|
2822 | <dt>check the last time the plugin dir has changed and return true</dt> |
---|
2823 | <dd>is the directory was modified else return false</dd> |
---|
2824 | </dl> |
---|
2825 | </dd></dl> |
---|
2826 | |
---|
2827 | <dl class="attribute"> |
---|
2828 | <dt id="sas.perspectives.fitting.models.ModelManagerBase.last_time_dir_modified"> |
---|
2829 | <tt class="descname">last_time_dir_modified</tt><em class="property"> = 0</em></dt> |
---|
2830 | <dd></dd></dl> |
---|
2831 | |
---|
2832 | <dl class="attribute"> |
---|
2833 | <dt id="sas.perspectives.fitting.models.ModelManagerBase.model_combobox"> |
---|
2834 | <tt class="descname">model_combobox</tt><em class="property"> = <sas.perspectives.fitting.models.ModelList object at 0x115dd1cd0></em></dt> |
---|
2835 | <dd></dd></dl> |
---|
2836 | |
---|
2837 | <dl class="attribute"> |
---|
2838 | <dt id="sas.perspectives.fitting.models.ModelManagerBase.multi_func_list"> |
---|
2839 | <tt class="descname">multi_func_list</tt><em class="property"> = [<class sas.models.CoreMultiShellModel.CoreMultiShellModel at 0x1132dcef0>, <class sas.models.OnionExpShellModel.OnionExpShellModel at 0x1142cc3f8>, <class sas.models.SphericalSLDModel.SphericalSLDModel at 0x11483cce8>, <class sas.models.RPA10Model.RPA10Model at 0x1145f1598>, <class sas.models.UnifiedPowerRgModel.UnifiedPowerRgModel at 0x11530b9a8>, <class sas.models.ReflectivityModel.ReflectivityModel at 0x114d8f120>, <class sas.models.ReflectivityIIModel.ReflectivityIIModel at 0x114921c80>]</em></dt> |
---|
2840 | <dd></dd></dl> |
---|
2841 | |
---|
2842 | <dl class="attribute"> |
---|
2843 | <dt id="sas.perspectives.fitting.models.ModelManagerBase.multiplication_factor"> |
---|
2844 | <tt class="descname">multiplication_factor</tt><em class="property"> = [<class 'sas.models.SphereModel.SphereModel'>, <class 'sas.models.FuzzySphereModel.FuzzySphereModel'>, <class 'sas.models.CoreShellModel.CoreShellModel'>, <class sas.models.CoreMultiShellModel.CoreMultiShellModel at 0x1132dcef0>, <class 'sas.models.VesicleModel.VesicleModel'>, <class 'sas.models.MultiShellModel.MultiShellModel'>, <class sas.models.OnionExpShellModel.OnionExpShellModel at 0x1142cc3f8>, <class sas.models.SphericalSLDModel.SphericalSLDModel at 0x11483cce8>, <class 'sas.models.CylinderModel.CylinderModel'>, <class 'sas.models.CoreShellCylinderModel.CoreShellCylinderModel'>, <class 'sas.models.CoreShellBicelleModel.CoreShellBicelleModel'>, <class 'sas.models.HollowCylinderModel.HollowCylinderModel'>, <class 'sas.models.StackedDisksModel.StackedDisksModel'>, <class 'sas.models.ParallelepipedModel.ParallelepipedModel'>, <class 'sas.models.CSParallelepipedModel.CSParallelepipedModel'>, <class 'sas.models.EllipticalCylinderModel.EllipticalCylinderModel'>, <class 'sas.models.EllipsoidModel.EllipsoidModel'>, <class 'sas.models.CoreShellEllipsoidModel.CoreShellEllipsoidModel'>, <class 'sas.models.CoreShellEllipsoidXTModel.CoreShellEllipsoidXTModel'>, <class 'sas.models.TriaxialEllipsoidModel.TriaxialEllipsoidModel'>, <class 'sas.models.RectangularPrismModel.RectangularPrismModel'>, <class 'sas.models.RectangularHollowPrismInfThinWallsModel.RectangularHollowPrismInfThinWallsModel'>, <class 'sas.models.RectangularHollowPrismModel.RectangularHollowPrismModel'>, <class 'sas.models.MicelleSphCoreModel.MicelleSphCoreModel'>]</em></dt> |
---|
2845 | <dd></dd></dl> |
---|
2846 | |
---|
2847 | <dl class="attribute"> |
---|
2848 | <dt id="sas.perspectives.fitting.models.ModelManagerBase.plugins"> |
---|
2849 | <tt class="descname">plugins</tt><em class="property"> = []</em></dt> |
---|
2850 | <dd></dd></dl> |
---|
2851 | |
---|
2852 | <dl class="method"> |
---|
2853 | <dt id="sas.perspectives.fitting.models.ModelManagerBase.pulgins_reset"> |
---|
2854 | <tt class="descname">pulgins_reset</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/models.html#ModelManagerBase.pulgins_reset"><span class="viewcode-link">[source]</span></a></dt> |
---|
2855 | <dd><p>return a dictionary of model</p> |
---|
2856 | </dd></dl> |
---|
2857 | |
---|
2858 | <dl class="attribute"> |
---|
2859 | <dt id="sas.perspectives.fitting.models.ModelManagerBase.struct_factor_dict"> |
---|
2860 | <tt class="descname">struct_factor_dict</tt><em class="property"> = {}</em></dt> |
---|
2861 | <dd></dd></dl> |
---|
2862 | |
---|
2863 | <dl class="attribute"> |
---|
2864 | <dt id="sas.perspectives.fitting.models.ModelManagerBase.struct_list"> |
---|
2865 | <tt class="descname">struct_list</tt><em class="property"> = [<class 'sas.models.SquareWellStructure.SquareWellStructure'>, <class 'sas.models.HardsphereStructure.HardsphereStructure'>, <class 'sas.models.StickyHSStructure.StickyHSStructure'>, <class 'sas.models.HayterMSAStructure.HayterMSAStructure'>]</em></dt> |
---|
2866 | <dd></dd></dl> |
---|
2867 | |
---|
2868 | <dl class="method"> |
---|
2869 | <dt id="sas.perspectives.fitting.models.ModelManagerBase.update"> |
---|
2870 | <tt class="descname">update</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/models.html#ModelManagerBase.update"><span class="viewcode-link">[source]</span></a></dt> |
---|
2871 | <dd><p>return a dictionary of model if |
---|
2872 | new models were added else return empty dictionary</p> |
---|
2873 | </dd></dl> |
---|
2874 | |
---|
2875 | </dd></dl> |
---|
2876 | |
---|
2877 | <dl class="class"> |
---|
2878 | <dt id="sas.perspectives.fitting.models.ReportProblem"> |
---|
2879 | <em class="property">class </em><tt class="descclassname">sas.perspectives.fitting.models.</tt><tt class="descname">ReportProblem</tt><a class="reference internal" href="../../_modules/sas/perspectives/fitting/models.html#ReportProblem"><span class="viewcode-link">[source]</span></a></dt> |
---|
2880 | <dd></dd></dl> |
---|
2881 | |
---|
2882 | <dl class="function"> |
---|
2883 | <dt id="sas.perspectives.fitting.models.compile_file"> |
---|
2884 | <tt class="descclassname">sas.perspectives.fitting.models.</tt><tt class="descname">compile_file</tt><big>(</big><em>dir</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/models.html#compile_file"><span class="viewcode-link">[source]</span></a></dt> |
---|
2885 | <dd><p>Compile a py file</p> |
---|
2886 | </dd></dl> |
---|
2887 | |
---|
2888 | <dl class="function"> |
---|
2889 | <dt id="sas.perspectives.fitting.models.find_plugins_dir"> |
---|
2890 | <tt class="descclassname">sas.perspectives.fitting.models.</tt><tt class="descname">find_plugins_dir</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/models.html#find_plugins_dir"><span class="viewcode-link">[source]</span></a></dt> |
---|
2891 | <dd><p>Find path of the plugins directory. |
---|
2892 | The plugin directory is located in the user’s home directory.</p> |
---|
2893 | </dd></dl> |
---|
2894 | |
---|
2895 | <dl class="function"> |
---|
2896 | <dt id="sas.perspectives.fitting.models.get_model_python_path"> |
---|
2897 | <tt class="descclassname">sas.perspectives.fitting.models.</tt><tt class="descname">get_model_python_path</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/models.html#get_model_python_path"><span class="viewcode-link">[source]</span></a></dt> |
---|
2898 | <dd></dd></dl> |
---|
2899 | |
---|
2900 | <dl class="function"> |
---|
2901 | <dt id="sas.perspectives.fitting.models.log"> |
---|
2902 | <tt class="descclassname">sas.perspectives.fitting.models.</tt><tt class="descname">log</tt><big>(</big><em>message</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/models.html#log"><span class="viewcode-link">[source]</span></a></dt> |
---|
2903 | <dd><p>Log a message in a file located in the user’s home directory</p> |
---|
2904 | </dd></dl> |
---|
2905 | |
---|
2906 | </div> |
---|
2907 | <div class="section" id="module-sas.perspectives.fitting.pagestate"> |
---|
2908 | <span id="sas-perspectives-fitting-pagestate-module"></span><h2>sas.perspectives.fitting.pagestate module</h2> |
---|
2909 | <p>Class that holds a fit page state</p> |
---|
2910 | <dl class="class"> |
---|
2911 | <dt id="sas.perspectives.fitting.pagestate.PageState"> |
---|
2912 | <em class="property">class </em><tt class="descclassname">sas.perspectives.fitting.pagestate.</tt><tt class="descname">PageState</tt><big>(</big><em>parent=None</em>, <em>model=None</em>, <em>data=None</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/pagestate.html#PageState"><span class="viewcode-link">[source]</span></a></dt> |
---|
2913 | <dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">object</span></tt></p> |
---|
2914 | <p>Contains information to reconstruct a page of the fitpanel.</p> |
---|
2915 | <dl class="method"> |
---|
2916 | <dt id="sas.perspectives.fitting.pagestate.PageState.clone"> |
---|
2917 | <tt class="descname">clone</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/pagestate.html#PageState.clone"><span class="viewcode-link">[source]</span></a></dt> |
---|
2918 | <dd><p>Create a new copy of the current object</p> |
---|
2919 | </dd></dl> |
---|
2920 | |
---|
2921 | <dl class="method"> |
---|
2922 | <dt id="sas.perspectives.fitting.pagestate.PageState.fromXML"> |
---|
2923 | <tt class="descname">fromXML</tt><big>(</big><em>file=None</em>, <em>node=None</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/pagestate.html#PageState.fromXML"><span class="viewcode-link">[source]</span></a></dt> |
---|
2924 | <dd><p>Load fitting state from a file</p> |
---|
2925 | <table class="docutils field-list" frame="void" rules="none"> |
---|
2926 | <col class="field-name" /> |
---|
2927 | <col class="field-body" /> |
---|
2928 | <tbody valign="top"> |
---|
2929 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple"> |
---|
2930 | <li><strong>file</strong> – .fitv file</li> |
---|
2931 | <li><strong>node</strong> – node of a XML document to read from</li> |
---|
2932 | </ul> |
---|
2933 | </td> |
---|
2934 | </tr> |
---|
2935 | </tbody> |
---|
2936 | </table> |
---|
2937 | </dd></dl> |
---|
2938 | |
---|
2939 | <dl class="method"> |
---|
2940 | <dt id="sas.perspectives.fitting.pagestate.PageState.report"> |
---|
2941 | <tt class="descname">report</tt><big>(</big><em>figs=None</em>, <em>canvases=None</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/pagestate.html#PageState.report"><span class="viewcode-link">[source]</span></a></dt> |
---|
2942 | <dd><p>Invoke report dialog panel</p> |
---|
2943 | <p>: param figs: list of pylab figures [list]</p> |
---|
2944 | </dd></dl> |
---|
2945 | |
---|
2946 | <dl class="method"> |
---|
2947 | <dt id="sas.perspectives.fitting.pagestate.PageState.set_plot_state"> |
---|
2948 | <tt class="descname">set_plot_state</tt><big>(</big><em>figs</em>, <em>canvases</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/pagestate.html#PageState.set_plot_state"><span class="viewcode-link">[source]</span></a></dt> |
---|
2949 | <dd><p>Build image state that wx.html understand |
---|
2950 | by plotting, putting it into wx.FileSystem image object</p> |
---|
2951 | </dd></dl> |
---|
2952 | |
---|
2953 | <dl class="method"> |
---|
2954 | <dt id="sas.perspectives.fitting.pagestate.PageState.set_report_string"> |
---|
2955 | <tt class="descname">set_report_string</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/pagestate.html#PageState.set_report_string"><span class="viewcode-link">[source]</span></a></dt> |
---|
2956 | <dd><p>Get the values (strings) from __str__ for report</p> |
---|
2957 | </dd></dl> |
---|
2958 | |
---|
2959 | <dl class="method"> |
---|
2960 | <dt id="sas.perspectives.fitting.pagestate.PageState.toXML"> |
---|
2961 | <tt class="descname">toXML</tt><big>(</big><em>file='fitting_state.fitv'</em>, <em>doc=None</em>, <em>entry_node=None</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/pagestate.html#PageState.toXML"><span class="viewcode-link">[source]</span></a></dt> |
---|
2962 | <dd><p>Writes the state of the InversionControl panel to file, as XML.</p> |
---|
2963 | <p>Compatible with standalone writing, or appending to an |
---|
2964 | already existing XML document. In that case, the XML document |
---|
2965 | is required. An optional entry node in the XML document may also be given.</p> |
---|
2966 | <table class="docutils field-list" frame="void" rules="none"> |
---|
2967 | <col class="field-name" /> |
---|
2968 | <col class="field-body" /> |
---|
2969 | <tbody valign="top"> |
---|
2970 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple"> |
---|
2971 | <li><strong>file</strong> – file to write to</li> |
---|
2972 | <li><strong>doc</strong> – XML document object [optional]</li> |
---|
2973 | <li><strong>entry_node</strong> – XML node within the XML document at which we will append the data [optional]</li> |
---|
2974 | </ul> |
---|
2975 | </td> |
---|
2976 | </tr> |
---|
2977 | </tbody> |
---|
2978 | </table> |
---|
2979 | </dd></dl> |
---|
2980 | |
---|
2981 | </dd></dl> |
---|
2982 | |
---|
2983 | <dl class="class"> |
---|
2984 | <dt id="sas.perspectives.fitting.pagestate.Reader"> |
---|
2985 | <em class="property">class </em><tt class="descclassname">sas.perspectives.fitting.pagestate.</tt><tt class="descname">Reader</tt><big>(</big><em>call_back=None</em>, <em>cansas=True</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/pagestate.html#Reader"><span class="viewcode-link">[source]</span></a></dt> |
---|
2986 | <dd><p>Bases: <a class="reference internal" href="sas.dataloader.readers.html#sas.dataloader.readers.cansas_reader.Reader" title="sas.dataloader.readers.cansas_reader.Reader"><tt class="xref py py-class docutils literal"><span class="pre">sas.dataloader.readers.cansas_reader.Reader</span></tt></a></p> |
---|
2987 | <p>Class to load a .fitv fitting file</p> |
---|
2988 | <dl class="attribute"> |
---|
2989 | <dt id="sas.perspectives.fitting.pagestate.Reader.ext"> |
---|
2990 | <tt class="descname">ext</tt><em class="property"> = ['.fitv', '.FITV', '.svs', 'SVS']</em></dt> |
---|
2991 | <dd></dd></dl> |
---|
2992 | |
---|
2993 | <dl class="method"> |
---|
2994 | <dt id="sas.perspectives.fitting.pagestate.Reader.get_state"> |
---|
2995 | <tt class="descname">get_state</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/pagestate.html#Reader.get_state"><span class="viewcode-link">[source]</span></a></dt> |
---|
2996 | <dd></dd></dl> |
---|
2997 | |
---|
2998 | <dl class="method"> |
---|
2999 | <dt id="sas.perspectives.fitting.pagestate.Reader.read"> |
---|
3000 | <tt class="descname">read</tt><big>(</big><em>path</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/pagestate.html#Reader.read"><span class="viewcode-link">[source]</span></a></dt> |
---|
3001 | <dd><p>Load a new P(r) inversion state from file</p> |
---|
3002 | <table class="docutils field-list" frame="void" rules="none"> |
---|
3003 | <col class="field-name" /> |
---|
3004 | <col class="field-body" /> |
---|
3005 | <tbody valign="top"> |
---|
3006 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>path</strong> – file path</td> |
---|
3007 | </tr> |
---|
3008 | </tbody> |
---|
3009 | </table> |
---|
3010 | </dd></dl> |
---|
3011 | |
---|
3012 | <dl class="attribute"> |
---|
3013 | <dt id="sas.perspectives.fitting.pagestate.Reader.type"> |
---|
3014 | <tt class="descname">type</tt><em class="property"> = ['Fitting files (*.fitv)|*.fitvSASView file (*.svs)|*.svs']</em></dt> |
---|
3015 | <dd></dd></dl> |
---|
3016 | |
---|
3017 | <dl class="attribute"> |
---|
3018 | <dt id="sas.perspectives.fitting.pagestate.Reader.type_name"> |
---|
3019 | <tt class="descname">type_name</tt><em class="property"> = 'Fitting'</em></dt> |
---|
3020 | <dd></dd></dl> |
---|
3021 | |
---|
3022 | <dl class="method"> |
---|
3023 | <dt id="sas.perspectives.fitting.pagestate.Reader.write"> |
---|
3024 | <tt class="descname">write</tt><big>(</big><em>filename</em>, <em>datainfo=None</em>, <em>fitstate=None</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/pagestate.html#Reader.write"><span class="viewcode-link">[source]</span></a></dt> |
---|
3025 | <dd><p>Write the content of a Data1D as a CanSAS XML file only for standalone</p> |
---|
3026 | <table class="docutils field-list" frame="void" rules="none"> |
---|
3027 | <col class="field-name" /> |
---|
3028 | <col class="field-body" /> |
---|
3029 | <tbody valign="top"> |
---|
3030 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple"> |
---|
3031 | <li><strong>filename</strong> – name of the file to write</li> |
---|
3032 | <li><strong>datainfo</strong> – Data1D object</li> |
---|
3033 | <li><strong>fitstate</strong> – PageState object</li> |
---|
3034 | </ul> |
---|
3035 | </td> |
---|
3036 | </tr> |
---|
3037 | </tbody> |
---|
3038 | </table> |
---|
3039 | </dd></dl> |
---|
3040 | |
---|
3041 | <dl class="method"> |
---|
3042 | <dt id="sas.perspectives.fitting.pagestate.Reader.write_toXML"> |
---|
3043 | <tt class="descname">write_toXML</tt><big>(</big><em>datainfo=None</em>, <em>state=None</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/pagestate.html#Reader.write_toXML"><span class="viewcode-link">[source]</span></a></dt> |
---|
3044 | <dd><p>Write toXML, a helper for write(), |
---|
3045 | could be used by guimanager._on_save()</p> |
---|
3046 | <p>: return: xml doc</p> |
---|
3047 | </dd></dl> |
---|
3048 | |
---|
3049 | </dd></dl> |
---|
3050 | |
---|
3051 | <dl class="function"> |
---|
3052 | <dt id="sas.perspectives.fitting.pagestate.parse_entry_helper"> |
---|
3053 | <tt class="descclassname">sas.perspectives.fitting.pagestate.</tt><tt class="descname">parse_entry_helper</tt><big>(</big><em>node</em>, <em>item</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/pagestate.html#parse_entry_helper"><span class="viewcode-link">[source]</span></a></dt> |
---|
3054 | <dd><p>Create a numpy list from value extrated from the node</p> |
---|
3055 | <table class="docutils field-list" frame="void" rules="none"> |
---|
3056 | <col class="field-name" /> |
---|
3057 | <col class="field-body" /> |
---|
3058 | <tbody valign="top"> |
---|
3059 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple"> |
---|
3060 | <li><strong>node</strong> – node from each the value is stored</li> |
---|
3061 | <li><strong>item</strong> – list name of three strings.the two first are name of data |
---|
3062 | attribute and the third one is the type of the value of that |
---|
3063 | attribute. type can be string, float, bool, etc.</li> |
---|
3064 | </ul> |
---|
3065 | </td> |
---|
3066 | </tr> |
---|
3067 | </tbody> |
---|
3068 | </table> |
---|
3069 | <p>: return: numpy array</p> |
---|
3070 | </dd></dl> |
---|
3071 | |
---|
3072 | </div> |
---|
3073 | <div class="section" id="module-sas.perspectives.fitting.report_dialog"> |
---|
3074 | <span id="sas-perspectives-fitting-report-dialog-module"></span><h2>sas.perspectives.fitting.report_dialog module</h2> |
---|
3075 | <p>Dialog report panel to show and summarize the results of |
---|
3076 | the invariant calculation.</p> |
---|
3077 | <dl class="class"> |
---|
3078 | <dt id="sas.perspectives.fitting.report_dialog.ReportDialog"> |
---|
3079 | <em class="property">class </em><tt class="descclassname">sas.perspectives.fitting.report_dialog.</tt><tt class="descname">ReportDialog</tt><big>(</big><em>list</em>, <em>*args</em>, <em>**kwds</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/report_dialog.html#ReportDialog"><span class="viewcode-link">[source]</span></a></dt> |
---|
3080 | <dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">wx._windows.Dialog</span></tt></p> |
---|
3081 | <p>The report dialog box.</p> |
---|
3082 | <dl class="method"> |
---|
3083 | <dt id="sas.perspectives.fitting.report_dialog.ReportDialog.HTML2PDF"> |
---|
3084 | <tt class="descname">HTML2PDF</tt><big>(</big><em>data</em>, <em>filename</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/report_dialog.html#ReportDialog.HTML2PDF"><span class="viewcode-link">[source]</span></a></dt> |
---|
3085 | <dd><p>Create a PDF file from html source string.</p> |
---|
3086 | <p>: data: html string |
---|
3087 | : filename: name of file to be saved</p> |
---|
3088 | </dd></dl> |
---|
3089 | |
---|
3090 | <dl class="method"> |
---|
3091 | <dt id="sas.perspectives.fitting.report_dialog.ReportDialog.OnClose"> |
---|
3092 | <tt class="descname">OnClose</tt><big>(</big><em>event=None</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/report_dialog.html#ReportDialog.OnClose"><span class="viewcode-link">[source]</span></a></dt> |
---|
3093 | <dd><p>Close the Dialog</p> |
---|
3094 | <p>: event: Close button event</p> |
---|
3095 | </dd></dl> |
---|
3096 | |
---|
3097 | <dl class="method"> |
---|
3098 | <dt id="sas.perspectives.fitting.report_dialog.ReportDialog.onPreview"> |
---|
3099 | <tt class="descname">onPreview</tt><big>(</big><em>event=None</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/report_dialog.html#ReportDialog.onPreview"><span class="viewcode-link">[source]</span></a></dt> |
---|
3100 | <dd><p>Preview</p> |
---|
3101 | <p>: event: Preview button event</p> |
---|
3102 | </dd></dl> |
---|
3103 | |
---|
3104 | <dl class="method"> |
---|
3105 | <dt id="sas.perspectives.fitting.report_dialog.ReportDialog.onPrint"> |
---|
3106 | <tt class="descname">onPrint</tt><big>(</big><em>event=None</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/report_dialog.html#ReportDialog.onPrint"><span class="viewcode-link">[source]</span></a></dt> |
---|
3107 | <dd><p>Print</p> |
---|
3108 | <p>: event: Print button event</p> |
---|
3109 | </dd></dl> |
---|
3110 | |
---|
3111 | <dl class="method"> |
---|
3112 | <dt id="sas.perspectives.fitting.report_dialog.ReportDialog.onSave"> |
---|
3113 | <tt class="descname">onSave</tt><big>(</big><em>event=None</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/report_dialog.html#ReportDialog.onSave"><span class="viewcode-link">[source]</span></a></dt> |
---|
3114 | <dd><p>Save</p> |
---|
3115 | </dd></dl> |
---|
3116 | |
---|
3117 | </dd></dl> |
---|
3118 | |
---|
3119 | </div> |
---|
3120 | <div class="section" id="module-sas.perspectives.fitting.resultpanel"> |
---|
3121 | <span id="sas-perspectives-fitting-resultpanel-module"></span><h2>sas.perspectives.fitting.resultpanel module</h2> |
---|
3122 | <p>FitPanel class contains fields allowing to fit models and data</p> |
---|
3123 | <table class="docutils field-list" frame="void" rules="none"> |
---|
3124 | <col class="field-name" /> |
---|
3125 | <col class="field-body" /> |
---|
3126 | <tbody valign="top"> |
---|
3127 | <tr class="field-odd field"><th class="field-name">note:</th><td class="field-body">For Fit to be performed the user should check at least one parameter |
---|
3128 | on fit Panel window.</td> |
---|
3129 | </tr> |
---|
3130 | </tbody> |
---|
3131 | </table> |
---|
3132 | <dl class="class"> |
---|
3133 | <dt id="sas.perspectives.fitting.resultpanel.ResultPanel"> |
---|
3134 | <em class="property">class </em><tt class="descclassname">sas.perspectives.fitting.resultpanel.</tt><tt class="descname">ResultPanel</tt><big>(</big><em>parent</em>, <em>manager=None</em>, <em>*args</em>, <em>**kwargs</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/resultpanel.html#ResultPanel"><span class="viewcode-link">[source]</span></a></dt> |
---|
3135 | <dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">wx.aui.AuiNotebook</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> |
---|
3136 | <p>FitPanel class contains fields allowing to fit models and data</p> |
---|
3137 | <table class="docutils field-list" frame="void" rules="none"> |
---|
3138 | <col class="field-name" /> |
---|
3139 | <col class="field-body" /> |
---|
3140 | <tbody valign="top"> |
---|
3141 | <tr class="field-odd field"><th class="field-name">Note:</th><td class="field-body">For Fit to be performed the user should check at least one parameter |
---|
3142 | on fit Panel window.</td> |
---|
3143 | </tr> |
---|
3144 | </tbody> |
---|
3145 | </table> |
---|
3146 | <dl class="attribute"> |
---|
3147 | <dt id="sas.perspectives.fitting.resultpanel.ResultPanel.CENTER_PANE"> |
---|
3148 | <tt class="descname">CENTER_PANE</tt><em class="property"> = True</em></dt> |
---|
3149 | <dd></dd></dl> |
---|
3150 | |
---|
3151 | <dl class="method"> |
---|
3152 | <dt id="sas.perspectives.fitting.resultpanel.ResultPanel.add_panel"> |
---|
3153 | <tt class="descname">add_panel</tt><big>(</big><em>panel</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/resultpanel.html#ResultPanel.add_panel"><span class="viewcode-link">[source]</span></a></dt> |
---|
3154 | <dd></dd></dl> |
---|
3155 | |
---|
3156 | <dl class="method"> |
---|
3157 | <dt id="sas.perspectives.fitting.resultpanel.ResultPanel.get_frame"> |
---|
3158 | <tt class="descname">get_frame</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/resultpanel.html#ResultPanel.get_frame"><span class="viewcode-link">[source]</span></a></dt> |
---|
3159 | <dd></dd></dl> |
---|
3160 | |
---|
3161 | <dl class="method"> |
---|
3162 | <dt id="sas.perspectives.fitting.resultpanel.ResultPanel.get_panel"> |
---|
3163 | <tt class="descname">get_panel</tt><big>(</big><em>panel_class</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/resultpanel.html#ResultPanel.get_panel"><span class="viewcode-link">[source]</span></a></dt> |
---|
3164 | <dd></dd></dl> |
---|
3165 | |
---|
3166 | <dl class="method"> |
---|
3167 | <dt id="sas.perspectives.fitting.resultpanel.ResultPanel.on_close"> |
---|
3168 | <tt class="descname">on_close</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/resultpanel.html#ResultPanel.on_close"><span class="viewcode-link">[source]</span></a></dt> |
---|
3169 | <dd></dd></dl> |
---|
3170 | |
---|
3171 | <dl class="method"> |
---|
3172 | <dt id="sas.perspectives.fitting.resultpanel.ResultPanel.on_plot_results"> |
---|
3173 | <tt class="descname">on_plot_results</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/resultpanel.html#ResultPanel.on_plot_results"><span class="viewcode-link">[source]</span></a></dt> |
---|
3174 | <dd></dd></dl> |
---|
3175 | |
---|
3176 | <dl class="attribute"> |
---|
3177 | <dt id="sas.perspectives.fitting.resultpanel.ResultPanel.window_caption"> |
---|
3178 | <tt class="descname">window_caption</tt><em class="property"> = 'Result Panel'</em></dt> |
---|
3179 | <dd></dd></dl> |
---|
3180 | |
---|
3181 | <dl class="attribute"> |
---|
3182 | <dt id="sas.perspectives.fitting.resultpanel.ResultPanel.window_name"> |
---|
3183 | <tt class="descname">window_name</tt><em class="property"> = 'Result panel'</em></dt> |
---|
3184 | <dd></dd></dl> |
---|
3185 | |
---|
3186 | </dd></dl> |
---|
3187 | |
---|
3188 | </div> |
---|
3189 | <div class="section" id="module-sas.perspectives.fitting.simfitpage"> |
---|
3190 | <span id="sas-perspectives-fitting-simfitpage-module"></span><h2>sas.perspectives.fitting.simfitpage module</h2> |
---|
3191 | <p>Simultaneous fit page</p> |
---|
3192 | <dl class="class"> |
---|
3193 | <dt id="sas.perspectives.fitting.simfitpage.SimultaneousFitPage"> |
---|
3194 | <em class="property">class </em><tt class="descclassname">sas.perspectives.fitting.simfitpage.</tt><tt class="descname">SimultaneousFitPage</tt><big>(</big><em>parent</em>, <em>page_finder={}</em>, <em>id=-1</em>, <em>batch_on=False</em>, <em>*args</em>, <em>**kwargs</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/simfitpage.html#SimultaneousFitPage"><span class="viewcode-link">[source]</span></a></dt> |
---|
3195 | <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> |
---|
3196 | <p>Simultaneous fitting panel |
---|
3197 | All that needs to be defined are the |
---|
3198 | two data members window_name and window_caption</p> |
---|
3199 | <dl class="method"> |
---|
3200 | <dt id="sas.perspectives.fitting.simfitpage.SimultaneousFitPage.check_all_model_name"> |
---|
3201 | <tt class="descname">check_all_model_name</tt><big>(</big><em>event=None</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/simfitpage.html#SimultaneousFitPage.check_all_model_name"><span class="viewcode-link">[source]</span></a></dt> |
---|
3202 | <dd><p>check all models names</p> |
---|
3203 | </dd></dl> |
---|
3204 | |
---|
3205 | <dl class="method"> |
---|
3206 | <dt id="sas.perspectives.fitting.simfitpage.SimultaneousFitPage.check_model_name"> |
---|
3207 | <tt class="descname">check_model_name</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/simfitpage.html#SimultaneousFitPage.check_model_name"><span class="viewcode-link">[source]</span></a></dt> |
---|
3208 | <dd><p>Save information related to checkbox and their states</p> |
---|
3209 | </dd></dl> |
---|
3210 | |
---|
3211 | <dl class="method"> |
---|
3212 | <dt id="sas.perspectives.fitting.simfitpage.SimultaneousFitPage.define_page_structure"> |
---|
3213 | <tt class="descname">define_page_structure</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/simfitpage.html#SimultaneousFitPage.define_page_structure"><span class="viewcode-link">[source]</span></a></dt> |
---|
3214 | <dd><p>Create empty sizer for a panel</p> |
---|
3215 | </dd></dl> |
---|
3216 | |
---|
3217 | <dl class="method"> |
---|
3218 | <dt id="sas.perspectives.fitting.simfitpage.SimultaneousFitPage.draw_page"> |
---|
3219 | <tt class="descname">draw_page</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/simfitpage.html#SimultaneousFitPage.draw_page"><span class="viewcode-link">[source]</span></a></dt> |
---|
3220 | <dd><p>Draw a sizer containing couples of data and model</p> |
---|
3221 | </dd></dl> |
---|
3222 | |
---|
3223 | <dl class="method"> |
---|
3224 | <dt id="sas.perspectives.fitting.simfitpage.SimultaneousFitPage.onFit"> |
---|
3225 | <tt class="descname">onFit</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/simfitpage.html#SimultaneousFitPage.onFit"><span class="viewcode-link">[source]</span></a></dt> |
---|
3226 | <dd><p>signal for fitting</p> |
---|
3227 | </dd></dl> |
---|
3228 | |
---|
3229 | <dl class="method"> |
---|
3230 | <dt id="sas.perspectives.fitting.simfitpage.SimultaneousFitPage.onRemove"> |
---|
3231 | <tt class="descname">onRemove</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/simfitpage.html#SimultaneousFitPage.onRemove"><span class="viewcode-link">[source]</span></a></dt> |
---|
3232 | <dd><p>Remove constraint fields</p> |
---|
3233 | </dd></dl> |
---|
3234 | |
---|
3235 | <dl class="method"> |
---|
3236 | <dt id="sas.perspectives.fitting.simfitpage.SimultaneousFitPage.on_set_focus"> |
---|
3237 | <tt class="descname">on_set_focus</tt><big>(</big><em>event=None</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/simfitpage.html#SimultaneousFitPage.on_set_focus"><span class="viewcode-link">[source]</span></a></dt> |
---|
3238 | <dd><p>The derivative class is on focus if implemented</p> |
---|
3239 | </dd></dl> |
---|
3240 | |
---|
3241 | <dl class="method"> |
---|
3242 | <dt id="sas.perspectives.fitting.simfitpage.SimultaneousFitPage.set_layout"> |
---|
3243 | <tt class="descname">set_layout</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/simfitpage.html#SimultaneousFitPage.set_layout"><span class="viewcode-link">[source]</span></a></dt> |
---|
3244 | <dd><p>layout</p> |
---|
3245 | </dd></dl> |
---|
3246 | |
---|
3247 | <dl class="method"> |
---|
3248 | <dt id="sas.perspectives.fitting.simfitpage.SimultaneousFitPage.set_manager"> |
---|
3249 | <tt class="descname">set_manager</tt><big>(</big><em>manager</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/simfitpage.html#SimultaneousFitPage.set_manager"><span class="viewcode-link">[source]</span></a></dt> |
---|
3250 | <dd><p>set panel manager</p> |
---|
3251 | <table class="docutils field-list" frame="void" rules="none"> |
---|
3252 | <col class="field-name" /> |
---|
3253 | <col class="field-body" /> |
---|
3254 | <tbody valign="top"> |
---|
3255 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>manager</strong> – instance of plugin fitting</td> |
---|
3256 | </tr> |
---|
3257 | </tbody> |
---|
3258 | </table> |
---|
3259 | </dd></dl> |
---|
3260 | |
---|
3261 | <dl class="method"> |
---|
3262 | <dt id="sas.perspectives.fitting.simfitpage.SimultaneousFitPage.set_scroll"> |
---|
3263 | <tt class="descname">set_scroll</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/simfitpage.html#SimultaneousFitPage.set_scroll"><span class="viewcode-link">[source]</span></a></dt> |
---|
3264 | <dd></dd></dl> |
---|
3265 | |
---|
3266 | <dl class="attribute"> |
---|
3267 | <dt id="sas.perspectives.fitting.simfitpage.SimultaneousFitPage.window_caption"> |
---|
3268 | <tt class="descname">window_caption</tt><em class="property"> = 'Simultaneous Fit Page'</em></dt> |
---|
3269 | <dd></dd></dl> |
---|
3270 | |
---|
3271 | <dl class="attribute"> |
---|
3272 | <dt id="sas.perspectives.fitting.simfitpage.SimultaneousFitPage.window_name"> |
---|
3273 | <tt class="descname">window_name</tt><em class="property"> = 'simultaneous Fit page'</em></dt> |
---|
3274 | <dd></dd></dl> |
---|
3275 | |
---|
3276 | </dd></dl> |
---|
3277 | |
---|
3278 | <dl class="function"> |
---|
3279 | <dt id="sas.perspectives.fitting.simfitpage.get_fittableParam"> |
---|
3280 | <tt class="descclassname">sas.perspectives.fitting.simfitpage.</tt><tt class="descname">get_fittableParam</tt><big>(</big><em>model</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/simfitpage.html#get_fittableParam"><span class="viewcode-link">[source]</span></a></dt> |
---|
3281 | <dd><p>return list of fittable parameters name of a model</p> |
---|
3282 | <table class="docutils field-list" frame="void" rules="none"> |
---|
3283 | <col class="field-name" /> |
---|
3284 | <col class="field-body" /> |
---|
3285 | <tbody valign="top"> |
---|
3286 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>model</strong> – the model used</td> |
---|
3287 | </tr> |
---|
3288 | </tbody> |
---|
3289 | </table> |
---|
3290 | </dd></dl> |
---|
3291 | |
---|
3292 | </div> |
---|
3293 | <div class="section" id="module-sas.perspectives.fitting.utils"> |
---|
3294 | <span id="sas-perspectives-fitting-utils-module"></span><h2>sas.perspectives.fitting.utils module</h2> |
---|
3295 | <p>Module contains functions frequently used in this package</p> |
---|
3296 | <dl class="function"> |
---|
3297 | <dt id="sas.perspectives.fitting.utils.get_weight"> |
---|
3298 | <tt class="descclassname">sas.perspectives.fitting.utils.</tt><tt class="descname">get_weight</tt><big>(</big><em>data</em>, <em>is2d</em>, <em>flag=None</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting/utils.html#get_weight"><span class="viewcode-link">[source]</span></a></dt> |
---|
3299 | <dd><p>Received flag and compute error on data. |
---|
3300 | :param flag: flag to transform error of data. |
---|
3301 | :param is2d: flag to distinguish 1D to 2D Data</p> |
---|
3302 | </dd></dl> |
---|
3303 | |
---|
3304 | </div> |
---|
3305 | <div class="section" id="module-sas.perspectives.fitting"> |
---|
3306 | <span id="module-contents"></span><h2>Module contents</h2> |
---|
3307 | <dl class="function"> |
---|
3308 | <dt id="sas.perspectives.fitting.data_files"> |
---|
3309 | <tt class="descclassname">sas.perspectives.fitting.</tt><tt class="descname">data_files</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting.html#data_files"><span class="viewcode-link">[source]</span></a></dt> |
---|
3310 | <dd><p>Return the data files associated with media.</p> |
---|
3311 | <p>The format is a list of (directory, [files...]) pairs which can be |
---|
3312 | used directly in setup(...,data_files=...) for setup.py.</p> |
---|
3313 | </dd></dl> |
---|
3314 | |
---|
3315 | <dl class="function"> |
---|
3316 | <dt id="sas.perspectives.fitting.get_data_path"> |
---|
3317 | <tt class="descclassname">sas.perspectives.fitting.</tt><tt class="descname">get_data_path</tt><big>(</big><em>media</em><big>)</big><a class="reference internal" href="../../_modules/sas/perspectives/fitting.html#get_data_path"><span class="viewcode-link">[source]</span></a></dt> |
---|
3318 | <dd></dd></dl> |
---|
3319 | |
---|
3320 | </div> |
---|
3321 | </div> |
---|
3322 | |
---|
3323 | |
---|
3324 | </div> |
---|
3325 | </div> |
---|
3326 | </div> |
---|
3327 | <div class="sphinxsidebar"> |
---|
3328 | <div class="sphinxsidebarwrapper"> |
---|
3329 | <h3><a href="../../index.html">Table Of Contents</a></h3> |
---|
3330 | <ul> |
---|
3331 | <li><a class="reference internal" href="#">sas.perspectives.fitting package</a><ul> |
---|
3332 | <li><a class="reference internal" href="#subpackages">Subpackages</a></li> |
---|
3333 | <li><a class="reference internal" href="#submodules">Submodules</a></li> |
---|
3334 | <li><a class="reference internal" href="#module-sas.perspectives.fitting.basepage">sas.perspectives.fitting.basepage module</a></li> |
---|
3335 | <li><a class="reference internal" href="#module-sas.perspectives.fitting.batchfitpage">sas.perspectives.fitting.batchfitpage module</a></li> |
---|
3336 | <li><a class="reference internal" href="#module-sas.perspectives.fitting.console">sas.perspectives.fitting.console module</a></li> |
---|
3337 | <li><a class="reference internal" href="#module-sas.perspectives.fitting.fit_thread">sas.perspectives.fitting.fit_thread module</a></li> |
---|
3338 | <li><a class="reference internal" href="#module-sas.perspectives.fitting.fitpage">sas.perspectives.fitting.fitpage module</a></li> |
---|
3339 | <li><a class="reference internal" href="#module-sas.perspectives.fitting.fitpanel">sas.perspectives.fitting.fitpanel module</a></li> |
---|
3340 | <li><a class="reference internal" href="#module-sas.perspectives.fitting.fitproblem">sas.perspectives.fitting.fitproblem module</a></li> |
---|
3341 | <li><a class="reference internal" href="#module-sas.perspectives.fitting.fitting">sas.perspectives.fitting.fitting module</a></li> |
---|
3342 | <li><a class="reference internal" href="#module-sas.perspectives.fitting.fitting_widgets">sas.perspectives.fitting.fitting_widgets module</a></li> |
---|
3343 | <li><a class="reference internal" href="#module-sas.perspectives.fitting.ftol_dialog">sas.perspectives.fitting.ftol_dialog module</a></li> |
---|
3344 | <li><a class="reference internal" href="#module-sas.perspectives.fitting.help_panel">sas.perspectives.fitting.help_panel module</a></li> |
---|
3345 | <li><a class="reference internal" href="#module-sas.perspectives.fitting.hint_fitpage">sas.perspectives.fitting.hint_fitpage module</a></li> |
---|
3346 | <li><a class="reference internal" href="#module-sas.perspectives.fitting.model_thread">sas.perspectives.fitting.model_thread module</a></li> |
---|
3347 | <li><a class="reference internal" href="#module-sas.perspectives.fitting.models">sas.perspectives.fitting.models module</a></li> |
---|
3348 | <li><a class="reference internal" href="#module-sas.perspectives.fitting.pagestate">sas.perspectives.fitting.pagestate module</a></li> |
---|
3349 | <li><a class="reference internal" href="#module-sas.perspectives.fitting.report_dialog">sas.perspectives.fitting.report_dialog module</a></li> |
---|
3350 | <li><a class="reference internal" href="#module-sas.perspectives.fitting.resultpanel">sas.perspectives.fitting.resultpanel module</a></li> |
---|
3351 | <li><a class="reference internal" href="#module-sas.perspectives.fitting.simfitpage">sas.perspectives.fitting.simfitpage module</a></li> |
---|
3352 | <li><a class="reference internal" href="#module-sas.perspectives.fitting.utils">sas.perspectives.fitting.utils module</a></li> |
---|
3353 | <li><a class="reference internal" href="#module-sas.perspectives.fitting">Module contents</a></li> |
---|
3354 | </ul> |
---|
3355 | </li> |
---|
3356 | </ul> |
---|
3357 | |
---|
3358 | <h4>Previous topic</h4> |
---|
3359 | <p class="topless"><a href="sas.perspectives.calculator.html" |
---|
3360 | title="previous chapter">sas.perspectives.calculator package</a></p> |
---|
3361 | <h4>Next topic</h4> |
---|
3362 | <p class="topless"><a href="sas.perspectives.fitting.plugin_models.html" |
---|
3363 | title="next chapter">sas.perspectives.fitting.plugin_models package</a></p> |
---|
3364 | <h3>This Page</h3> |
---|
3365 | <ul class="this-page-menu"> |
---|
3366 | <li><a href="../../_sources/dev/api/sas.perspectives.fitting.txt" |
---|
3367 | rel="nofollow">Show Source</a></li> |
---|
3368 | </ul> |
---|
3369 | <div id="searchbox" style="display: none"> |
---|
3370 | <h3>Quick search</h3> |
---|
3371 | <form class="search" action="../../search.html" method="get"> |
---|
3372 | <input type="text" name="q" /> |
---|
3373 | <input type="submit" value="Go" /> |
---|
3374 | <input type="hidden" name="check_keywords" value="yes" /> |
---|
3375 | <input type="hidden" name="area" value="default" /> |
---|
3376 | </form> |
---|
3377 | <p class="searchtip" style="font-size: 90%"> |
---|
3378 | Enter search terms or a module, class or function name. |
---|
3379 | </p> |
---|
3380 | </div> |
---|
3381 | <script type="text/javascript">$('#searchbox').show(0);</script> |
---|
3382 | </div> |
---|
3383 | </div> |
---|
3384 | <div class="clearer"></div> |
---|
3385 | </div> |
---|
3386 | <div class="related"> |
---|
3387 | <h3>Navigation</h3> |
---|
3388 | <ul> |
---|
3389 | <li class="right" style="margin-right: 10px"> |
---|
3390 | <a href="../../genindex.html" title="General Index" |
---|
3391 | >index</a></li> |
---|
3392 | <li class="right" > |
---|
3393 | <a href="../../py-modindex.html" title="Python Module Index" |
---|
3394 | >modules</a> |</li> |
---|
3395 | <li class="right" > |
---|
3396 | <a href="sas.perspectives.fitting.plugin_models.html" title="sas.perspectives.fitting.plugin_models package" |
---|
3397 | >next</a> |</li> |
---|
3398 | <li class="right" > |
---|
3399 | <a href="sas.perspectives.calculator.html" title="sas.perspectives.calculator package" |
---|
3400 | >previous</a> |</li> |
---|
3401 | <li><a href="../../index.html">SasView 3.0.0 documentation</a> »</li> |
---|
3402 | <li><a href="../dev.html" >Developer Documentation</a> »</li> |
---|
3403 | <li><a href="modules.html" >lib.macosx-10.5-x86_64-2.7</a> »</li> |
---|
3404 | <li><a href="sas.html" >sas package</a> »</li> |
---|
3405 | <li><a href="sas.perspectives.html" >sas.perspectives package</a> »</li> |
---|
3406 | </ul> |
---|
3407 | </div> |
---|
3408 | <div class="footer"> |
---|
3409 | © Copyright 2013, The SasView Project. |
---|
3410 | Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.2.3. |
---|
3411 | </div> |
---|
3412 | </body> |
---|
3413 | </html> |
---|